az network vpn-gateway connection vpn-site-link-conn
Note
This reference is part of the virtual-wan extension for the Azure CLI (version 2.55.0 or higher). The extension will automatically install the first time you run an az network vpn-gateway connection vpn-site-link-conn command. Learn more about extensions.
Manage site-to-site VPN gateway connection VPN site link connection.
Commands
Name | Description | Type | Status |
---|---|---|---|
az network vpn-gateway connection vpn-site-link-conn add |
Add a VPN site link connection to a site-to-site VPN gateway connection. |
Extension | GA |
az network vpn-gateway connection vpn-site-link-conn ipsec-policy |
Manage site-to-site VPN gateway connection VPN site link IPSec policies. |
Extension | GA |
az network vpn-gateway connection vpn-site-link-conn ipsec-policy add |
Add an IPSec policy to a site-to-site VPN gateway connection VPN site link. |
Extension | GA |
az network vpn-gateway connection vpn-site-link-conn ipsec-policy list |
List site-to-site VPN gateway connection VPN site link IPSec policies. |
Extension | GA |
az network vpn-gateway connection vpn-site-link-conn ipsec-policy remove |
Remove an IPSec policy from a site-to-site VPN gateway connection VPN site link. |
Extension | GA |
az network vpn-gateway connection vpn-site-link-conn list |
List site-to-site VPN gateway connection VPN site link connection. |
Extension | GA |
az network vpn-gateway connection vpn-site-link-conn remove |
Remove a VPN site link connection from a site-to-site VPN gateway connection. |
Extension | GA |
az network vpn-gateway connection vpn-site-link-conn add
Add a VPN site link connection to a site-to-site VPN gateway connection.
az network vpn-gateway connection vpn-site-link-conn add --vpn-site-link
[--connection-bandwidth]
[--connection-name]
[--enable-bgp {false, true}]
[--gateway-name]
[--ids]
[--name]
[--no-wait]
[--rate-limiting {false, true}]
[--resource-group]
[--routing-weight]
[--shared-key]
[--subscription]
[--use-local-azure-ip-address {false, true}]
[--use-policy-based-traffic-selectors {false, true}]
[--vpn-connection-protocol-type {IKEv1, IKEv2}]
[--vpn-link-connection-mode {Default, InitiatorOnly, ResponderOnly}]
Examples
Add a VPN site link connection to site-to-site VPN gateway connection
az network vpn-gateway connection vpn-site-link-conn add -g MyRG --connection-name MyConnection --gateway-name MyGateway -n MyVPNSiteLinkConn --vpn-site-link /subscriptions/MySub/resourceGroups/MyRG/providers/Microsoft.Network/vpnSites/MyVPNSite/vpnSiteLinks/vpnsitelink --vpn-connection-protocol-type IKEv2
Required Parameters
The resource ID of VPN Site Link.
Optional Parameters
Expected bandwidth in Mbps.
Name of the VPN gateway connection.
Enable BGP.
Name of the VPN gateway.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of the VPN site link connection.
Do not wait for the long-running operation to finish.
Enable rate limiting.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Routing weight.
Shared key.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Use local azure ip to initiate connection.
Enable policy-based traffic selectors.
Connection protocol used for this connection.
Vpn link connection mode.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az network vpn-gateway connection vpn-site-link-conn list
List site-to-site VPN gateway connection VPN site link connection.
az network vpn-gateway connection vpn-site-link-conn list --connection-name
--gateway-name
--resource-group
Examples
List VPN site link connections on site-to-site VPN gateway connection
az network vpn-gateway connection vpn-site-link-conn list -g MyRG --connection-name MyConnection --gateway-name MyGateway
Required Parameters
Name of the VPN gateway connection.
Name of the VPN gateway.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az network vpn-gateway connection vpn-site-link-conn remove
Remove a VPN site link connection from a site-to-site VPN gateway connection.
az network vpn-gateway connection vpn-site-link-conn remove --index
[--connection-name]
[--gateway-name]
[--ids]
[--no-wait]
[--resource-group]
[--subscription]
Examples
Remove aVPN site link connection from site-to-site VPN gateway connection
az network vpn-gateway connection vpn-site-link-conn remove -g MyRG --connection-name MyConnection --gateway-name MyGateway --index 1
Required Parameters
List index of the item (starting with 1).
Optional Parameters
Name of the VPN gateway connection.
Name of the VPN gateway.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.