az network vpn-gateway

Manage VPN gateways.

Commands

az network vpn-gateway connection

Manage VPN gateway connections.

az network vpn-gateway connection create

Create a VPN gateway connection.

az network vpn-gateway connection delete

Delete a VPN gateway connection.

az network vpn-gateway connection ipsec-policy

Manage VPN gateway connection IPSec policies.

az network vpn-gateway connection ipsec-policy add

Add an IPSec policy to a VPN gateway connection.

az network vpn-gateway connection ipsec-policy list

List VPN gateway connection IPSec policies.

az network vpn-gateway connection ipsec-policy remove

Remove an IPSec policy from a VPN gateway connection.

az network vpn-gateway connection list

List VPN gateway connections.

az network vpn-gateway connection show

Get the details of a VPN gateway connection.

az network vpn-gateway connection wait

Place the CLI in a waiting state until a condition of the VPN gateway connection is met.

az network vpn-gateway create

Create a VPN gateway.

az network vpn-gateway delete

Delete a VPN gateway.

az network vpn-gateway list

List VPN gateways.

az network vpn-gateway show

Get the details of a VPN gateway.

az network vpn-gateway update

Update settings of a VPN gateway.

az network vpn-gateway create

Create a VPN gateway.

az network vpn-gateway create --name
                              --resource-group
                              --vhub
                              [--asn]
                              [--bgp-peering-address]
                              [--location]
                              [--no-wait]
                              [--peer-weight]
                              [--scale-unit]
                              [--tags]

Required Parameters

--name -n

Name of the VPN gateway.

--resource-group -g

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

--vhub

Name or ID of a virtual hub.

Optional Parameters

--asn

BGP speaker's ASN.

--bgp-peering-address

Peering address and BGP identifier of this BGP speaker.

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

--scale-unit

The scale unit for this VPN gateway.

--tags

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

az network vpn-gateway delete

Delete a VPN gateway.

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

Required Parameters

--name -n

Name of the VPN gateway.

--resource-group -g

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

az network vpn-gateway list

List VPN gateways.

az network vpn-gateway 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-gateway show

Get the details of a VPN gateway.

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

Required Parameters

--name -n

Name of the VPN gateway.

--resource-group -g

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

az network vpn-gateway update

Update settings of a VPN gateway.

az network vpn-gateway update --name
                              --resource-group
                              [--add]
                              [--asn]
                              [--bgp-peering-address]
                              [--force-string]
                              [--no-wait]
                              [--peer-weight]
                              [--remove]
                              [--scale-unit]
                              [--set]
                              [--tags]
                              [--vhub]

Required Parameters

--name -n

Name of the VPN gateway.

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

--asn

BGP speaker's ASN.

--bgp-peering-address

Peering address and BGP identifier of this BGP speaker.

--force-string

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

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

--scale-unit

The scale unit for this VPN gateway.

--set

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

--tags

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

--vhub

Name or ID of a virtual hub.