CmdID / az / az network / az network bastion
az network bastion tunnel
Open a tunnel through Azure Bastion to a target virtual machine. Azure CLI extensions reference
2 options Its page in the Azure CLI extensions reference
Options
--portLocal port to use for the tunneling.--timeoutTimeout for connection to bastion host tunnel.