az network vpn-site
Note
This reference is part of the virtual-wan extension for the Azure CLI (version 2.0.67 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
| az network vpn-site create |
Create a VPN site configuration. |
| az network vpn-site delete |
Delete a VPN site configuration. |
| az network vpn-site download |
Provide a SAS-URL to download the configuration for a VPN site. |
| az network vpn-site link |
Manage VPN site link. |
| az network vpn-site link add |
Add a VPN site link to VPN site configuration. |
| az network vpn-site link list |
List VPN site links on VPN site configuration. |
| az network vpn-site link remove |
Remove a VPN site link from VPN site configuration. |
| az network vpn-site list |
List VPN site configurations. |
| az network vpn-site show |
Get the details of a VPN site configuration. |
| az network vpn-site update |
Update settings of a VPN site configuration. |
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.
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 --name
--resource-group
Required Parameters
Name of the VPN site config.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Name of the virtual WAN.
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>.
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 --name
--resource-group
Required Parameters
Name of the VPN site config.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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 --name
--resource-group
[--add]
[--address-prefixes]
[--asn]
[--bgp-peering-address]
[--device-model]
[--device-vendor]
[--force-string]
[--ip-address]
[--link-speed]
[--no-wait]
[--peer-weight]
[--remove]
[--security-site {false, true}]
[--set]
[--site-key]
[--tags]
[--virtual-wan]
Required Parameters
Name of the VPN site config.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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.
IP address of the VPN site.
Link speed in Mbps.
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 OR --remove propertyToRemove.
Whether the VPN site is security-related.
Update an object by specifying a property path and value to set. Example: --set property1.property2=.
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.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ