az network vpn-site
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-site command. Learn more about extensions.
Manage VPN site configurations.
Commands
Name | Description | Type | Status |
---|---|---|---|
az network vpn-site create |
Create a VPN site configuration. |
Extension | GA |
az network vpn-site delete |
Delete a VPN site configuration. |
Extension | GA |
az network vpn-site download |
Provide a SAS-URL to download the configuration for a VPN site. |
Extension | GA |
az network vpn-site link |
Manage VPN site link. |
Extension | GA |
az network vpn-site link add |
Add a VPN site link to VPN site configuration. |
Extension | GA |
az network vpn-site link list |
List VPN site links on VPN site configuration. |
Extension | GA |
az network vpn-site link remove |
Remove a VPN site link from VPN site configuration. |
Extension | GA |
az network vpn-site list |
List VPN site configurations. |
Extension | GA |
az network vpn-site show |
Get the details of a VPN site configuration. |
Extension | GA |
az network vpn-site update |
Update settings of a VPN site configuration. |
Extension | GA |
az network vpn-site create
Create a VPN site configuration.
az network vpn-site create --ip-address
--name
--resource-group
[--address-prefixes]
[--asn]
[--bgp-peering-address]
[--device-model]
[--device-vendor]
[--link-speed]
[--location]
[--no-wait]
[--peer-weight]
[--security-site {false, true}]
[--site-key]
[--tags]
[--virtual-wan]
[--with-link {false, true}]
Required Parameters
IP address of the VPN site.
Name of the VPN site config.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Space-separated list of CIDR address prefixes.
BGP speaker's ASN.
Peering address and BGP identifier of this BGP speaker.
Model of the device.
Name of the device vendor.
Link speed in Mbps.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Do not wait for the long-running operation to finish.
Weight added to routes learned from this BGP speaker.
Whether the VPN site is security-related.
Key for the VPN site that can be used for connections.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Name or ID of the virtual WAN.
Create VPN site with default link.
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-site delete
Delete a VPN site configuration.
az network vpn-site delete [--ids]
[--name]
[--resource-group]
[--subscription]
Optional Parameters
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 config.
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.
az network vpn-site download
Provide a SAS-URL to download the configuration for a VPN site.
az network vpn-site download --request
--resource-group
--vwan-name
Required Parameters
Parameters supplied to download vpn-sites configuration. Is either a model type or a IO type. Required.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the virtual WAN.
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-site list
List VPN site configurations.
az network vpn-site list [--resource-group]
Optional Parameters
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-site show
Get the details of a VPN site configuration.
az network vpn-site show [--ids]
[--name]
[--resource-group]
[--subscription]
Optional Parameters
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 config.
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.
az network vpn-site update
Update settings of a VPN site configuration.
az network vpn-site update [--add]
[--address-prefixes]
[--asn]
[--bgp-peering-address]
[--device-model]
[--device-vendor]
[--force-string]
[--ids]
[--ip-address]
[--link-speed]
[--name]
[--no-wait]
[--peer-weight]
[--remove]
[--resource-group]
[--security-site {false, true}]
[--set]
[--site-key]
[--subscription]
[--tags]
[--virtual-wan]
Optional Parameters
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>
.
Space-separated list of CIDR address prefixes.
BGP speaker's ASN.
Peering address and BGP identifier of this BGP speaker.
Model of the device.
Name of the device vendor.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
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.
IP address of the VPN site.
Link speed in Mbps.
Name of the VPN site config.
Do not wait for the long-running operation to finish.
Weight added to routes learned from this BGP speaker.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Whether the VPN site is security-related.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Key for the VPN site that can be used for connections.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Name or ID of the virtual WAN.
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.
Azure CLI