az network p2s-vpn-gateway connection
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 p2s-vpn-gateway connection command. Learn more about extensions.
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage point-to-site VPN gateway connections.
Commands
Name | Description | Type | Status |
---|---|---|---|
az network p2s-vpn-gateway connection list |
List all connections for a given point-to-site VPN gateway. |
Extension | Preview |
az network p2s-vpn-gateway connection show |
Show the details of a point-to-site VPN gateway connection. |
Extension | Preview |
az network p2s-vpn-gateway connection list
Command group 'network p2s-vpn-gateway connection' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List all connections for a given point-to-site VPN gateway.
az network p2s-vpn-gateway connection list --gateway-name
--resource-group
Examples
List all connections for a given point-to-site VPN gateway
az network p2s-vpn-gateway connection list -g MyRG --gateway-name MyP2SVPNGateway
Required Parameters
Name of the P2S VPN gateway.
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 p2s-vpn-gateway connection show
Command group 'network p2s-vpn-gateway connection' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Show the details of a point-to-site VPN gateway connection.
az network p2s-vpn-gateway connection show [--gateway-name]
[--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Show the details of a point-to-site VPN gateway connection
az network p2s-vpn-gateway connection show -g MyRG -n connection --gateway-name MyP2SVPNGateway
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 the P2S VPN gateway.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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 P2S VPN gateway connection.
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 |