az network vpn-site

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 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]

Required Parameters

--ip-address

IP address of the VPN site.

--name -n

Name of the VPN site config.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--address-prefixes

Space-separated list of CIDR address prefixes.

--asn

BGP speaker's ASN.

--bgp-peering-address

Peering address and BGP identifier of this BGP speaker.

--device-model

Model of the device.

--device-vendor

Name of the device vendor.

--link-speed

Link speed in Mbps.

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--no-wait

Do not wait for the long-running operation to finish.

--peer-weight

Weight added to routes learned from this BGP speaker.

--security-site

Whether the VPN site is security-related.

accepted values: false, true
--site-key

Key for the VPN site that can be used for connections.

--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.

--virtual-wan

Name or ID of the virtual WAN.

az network vpn-site delete

Delete a VPN site configuration.

az network vpn-site delete --name
                           --resource-group

Required Parameters

--name -n

Name of the VPN site config.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az network vpn-site download

Provide a SAS-URL to download the configuration for a VPN site.

az network vpn-site download --output-blob-sas-url
                             --resource-group
                             --vwan-name
                             [--vpn-sites]

Required Parameters

--output-blob-sas-url

The sas-url to download the configurations for vpn-sites.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--vwan-name

Name of the virtual WAN.

Optional Parameters

--vpn-sites

Space-separated list of VPN site names or IDs.

az network vpn-site list

List VPN site configurations.

az network vpn-site list [--resource-group]

Optional Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az network vpn-site show

Get the details of a VPN site configuration.

az network vpn-site show --name
                         --resource-group

Required Parameters

--name -n

Name of the VPN site config.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

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 -n

Name of the VPN site config.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--add

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>.

--address-prefixes

Space-separated list of CIDR address prefixes.

--asn

BGP speaker's ASN.

--bgp-peering-address

Peering address and BGP identifier of this BGP speaker.

--device-model

Model of the device.

--device-vendor

Name of the device vendor.

--force-string

When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.

--ip-address

IP address of the VPN site.

--link-speed

Link speed in Mbps.

--no-wait

Do not wait for the long-running operation to finish.

--peer-weight

Weight added to routes learned from this BGP speaker.

--remove

Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.

--security-site

Whether the VPN site is security-related.

accepted values: false, true
--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=.

--site-key

Key for the VPN site that can be used for connections.

--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.

--virtual-wan

Name or ID of the virtual WAN.