CmdID

CmdID / az / az network / az network vpn-connection

az network vpn-connection create

Create a VPN connection. Azure CLI reference

10 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

10 in the Azure CLI reference
--authentication-type, --auth-typeAuthentication type for the VPN connection.
--authorization-keyThe authorization key for the VPN connection.
--certificate-authentication, --cert-authCertificate-based authentication configuration.
--enable-bgpEnable BGP for this VPN connection.
--express-route-circuit2Name or ID of the destination ExpressRoute to connect to using an 'ExpressRoute' connection.
--local-gateway2Name or ID of the destination local network gateway to connect to using an 'IPSec' connection.
--name, -nConnection name.
--validateDisplay and validate the ARM template but do not create any resources.
--vnet-gateway1Name or ID of the source virtual network gateway.
--vnet-gateway2Name or ID of the destination virtual network gateway to connect to using a 'Vnet2Vnet' connection.