Open
Description
Description of the new feature
AzureCLI has an option to connect to a VM on port 3389 or 22 for RDP or SSH, using the 'Native Client'.
https://docs.microsoft.com/en-us/azure/bastion/connect-native-client-windows
az network bastion rdp --name "<BastionName>" --resource-group "<ResourceGroupName>" --target-resource-id "<VMResourceId>"
We have a few Bastion Network Cmdlets. These would also need updates to allow for the extra settings on the bastion that are in preview at the moment.
gcm -module az.network -Name *bastion*
CommandType Name Version Source
----------- ---- ------- ------
Cmdlet Get-AzBastion 4.14.0 az.network
Cmdlet New-AzBastion 4.14.0 az.network
Cmdlet Remove-AzBastion 4.14.0 az.network
Cmdlet Set-AzBastion 4.14.0 az.network
Proposed implementation details (optional)
Add support, parity with az cli.
https://docs.microsoft.com/en-us/rest/api/virtualnetwork/bastion-hosts/create-or-update#request-body
Activity
neilpeterson commentedon May 4, 2022
Following up on this one. My team would like to use Bastion native client but cannot use Azure CLI in all environments. Having this experience native to AZ CLI would be a huge help for us.
OranguTech commentedon Oct 4, 2024
Ping on status on this? (2 years after the last update)
I just ran into this issue and it looks like the AzCLI is currently a dependency for this one single feature?
OranguTech commentedon May 13, 2025
@bastionsuppgithub ☝ ?