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
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Space-separated list of CIDR address prefixes.
BGP speaker's ASN.
Property | Value |
---|---|
Parameter group: | BGP Peering Arguments |
Peering address and BGP identifier of this BGP speaker.
Property | Value |
---|---|
Parameter group: | BGP Peering Arguments |
Model of the device.
Property | Value |
---|---|
Parameter group: | Device Property Arguments |
Name of the device vendor.
Property | Value |
---|---|
Parameter group: | Device Property Arguments |
Link speed in Mbps.
Property | Value |
---|---|
Parameter group: | Device Property Arguments |
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.
Property | Value |
---|---|
Default value: | False |
Weight added to routes learned from this BGP speaker.
Property | Value |
---|---|
Parameter group: | BGP Peering Arguments |
Whether the VPN site is security-related.
Property | Value |
---|---|
Accepted values: | false, true |
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.
Property | Value |
---|---|
Accepted values: | false, true |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |
az network vpn-site delete
Delete a VPN site configuration.
az network vpn-site delete [--ids]
[--name]
[--resource-group]
[--subscription]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of the VPN site config.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
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.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |
az network vpn-site list
List VPN site configurations.
az network vpn-site list [--resource-group]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |
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
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of the VPN site config.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
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
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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>
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Default value: | [] |
Space-separated list of CIDR address prefixes.
BGP speaker's ASN.
Property | Value |
---|---|
Parameter group: | BGP Peering Arguments |
Peering address and BGP identifier of this BGP speaker.
Property | Value |
---|---|
Parameter group: | BGP Peering Arguments |
Model of the device.
Property | Value |
---|---|
Parameter group: | Device Property Arguments |
Name of the device vendor.
Property | Value |
---|---|
Parameter group: | Device Property Arguments |
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Default value: | False |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
IP address of the VPN site.
Link speed in Mbps.
Property | Value |
---|---|
Parameter group: | Device Property Arguments |
Name of the VPN site config.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
Weight added to routes learned from this BGP speaker.
Property | Value |
---|---|
Parameter group: | BGP Peering Arguments |
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Default value: | [] |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Whether the VPN site is security-related.
Property | Value |
---|---|
Accepted values: | false, true |
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Default 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
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |