az network vpn-server-config
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-server-config command. Learn more about extensions.
Manage VPN server configuration.
Commands
Name | Description | Type | Status |
---|---|---|---|
az network vpn-server-config create |
Create a VPN server configuration. |
Extension | GA |
az network vpn-server-config delete |
Delete a VPN server configuration. |
Extension | GA |
az network vpn-server-config ipsec-policy |
Manage VPN server configuration IPSec policies. |
Extension | GA |
az network vpn-server-config ipsec-policy add |
Add an IPSec policy to a VPN server configuration. |
Extension | GA |
az network vpn-server-config ipsec-policy list |
List VPN server configuration IPSec policies. |
Extension | GA |
az network vpn-server-config ipsec-policy remove |
Remove an IPSec policy from a VPN server configuration. |
Extension | GA |
az network vpn-server-config ipsec-policy wait |
Place the CLI in a waiting state until a condition of the IPSec policy of a VPN server configuration is met. |
Extension | GA |
az network vpn-server-config list |
List all VPN server configuration. |
Extension | GA |
az network vpn-server-config set |
Set settings of a VPN server configuration. |
Extension | GA |
az network vpn-server-config show |
Show the details of a VPN server configuration. |
Extension | GA |
az network vpn-server-config wait |
Place the CLI in a waiting state until a condition of the VPN server configuration is met. |
Extension | GA |
az network vpn-server-config create
Create a VPN server configuration.
az network vpn-server-config create --name
--resource-group
[--aad-audience]
[--aad-issuer]
[--aad-tenant]
[--auth-types {AAD, Certificate, Radius}]
[--location]
[--no-wait]
[--protocols {IkeV2, OpenVPN}]
[--radius-client-root-certs]
[--radius-server-root-certs]
[--radius-servers]
[--vpn-client-revoked-certs]
[--vpn-client-root-certs]
Examples
Create a VPN server configuration with VPN auth type
az network vpn-server-config create -n MyVPNServerConfig -g MyRG --vpn-client-root-certs "ApplicationGatewayAuthCert.cer" --vpn-client-revoked-certs "ApplicationGatewayAuthCert.pem"
Required Parameters
Name of the Vpn server configuration.
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.
AAD Vpn authentication parameter AAD audience.
Property | Value |
---|---|
Parameter group: | AAD Auth Arguments |
AAD Vpn authentication parameter AAD issuer.
Property | Value |
---|---|
Parameter group: | AAD Auth Arguments |
AAD Vpn authentication parameter AAD tenant.
Property | Value |
---|---|
Parameter group: | AAD Auth Arguments |
List of VPN authentication types for the VpnServerConfiguration.
Property | Value |
---|---|
Accepted values: | AAD, Certificate, Radius |
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 |
VPN protocols for the VpnServerConfiguration.
Property | Value |
---|---|
Accepted values: | IkeV2, OpenVPN |
List of Radius client root certificate file paths.
Property | Value |
---|---|
Parameter group: | Radius Auth Arguments |
List of Radius server root certificate file paths.
Property | Value |
---|---|
Parameter group: | Radius Auth Arguments |
Radius Server configuration.
Property | Value |
---|---|
Parameter group: | Radius Auth Arguments |
List of VPN client revoked certificate file paths.
Property | Value |
---|---|
Parameter group: | Certificate Auth Arguments |
List of VPN client root certificate file paths.
Property | Value |
---|---|
Parameter group: | Certificate Auth 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.
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-server-config delete
Delete a VPN server configuration.
az network vpn-server-config delete --name
--resource-group
[--yes]
Required Parameters
Name of the Vpn server configuration.
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.
Do not prompt for confirmation.
Property | Value |
---|---|
Default value: | False |
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-server-config list
List all VPN server configuration.
az network vpn-server-config 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-server-config set
Set settings of a VPN server configuration.
az network vpn-server-config set --name
--resource-group
[--aad-audience]
[--aad-issuer]
[--aad-tenant]
[--auth-types {AAD, Certificate, Radius}]
[--location]
[--no-wait]
[--protocols {IkeV2, OpenVPN}]
[--radius-client-root-certs]
[--radius-server-root-certs]
[--radius-servers]
[--vpn-client-revoked-certs]
[--vpn-client-root-certs]
Examples
Set a VPN server configuration with Radius auth type
az network vpn-server-config set -n MyVPNServerConfig -g MyRG --radius-client-root-certs "ApplicationGatewayAuthCert.cer" --radius-server-root-certs "ApplicationGatewayAuthCert.pem" --radius-servers address=test1 secret=clitest score=10 --radius-servers address=test2 secret=clitest score=10
Required Parameters
Name of the Vpn server configuration.
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.
AAD Vpn authentication parameter AAD audience.
Property | Value |
---|---|
Parameter group: | AAD Auth Arguments |
AAD Vpn authentication parameter AAD issuer.
Property | Value |
---|---|
Parameter group: | AAD Auth Arguments |
AAD Vpn authentication parameter AAD tenant.
Property | Value |
---|---|
Parameter group: | AAD Auth Arguments |
List of VPN authentication types for the VpnServerConfiguration.
Property | Value |
---|---|
Accepted values: | AAD, Certificate, Radius |
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 |
VPN protocols for the VpnServerConfiguration.
Property | Value |
---|---|
Accepted values: | IkeV2, OpenVPN |
List of Radius client root certificate file paths.
Property | Value |
---|---|
Parameter group: | Radius Auth Arguments |
List of Radius server root certificate file paths.
Property | Value |
---|---|
Parameter group: | Radius Auth Arguments |
Radius Server configuration.
Property | Value |
---|---|
Parameter group: | Radius Auth Arguments |
List of VPN client revoked certificate file paths.
Property | Value |
---|---|
Parameter group: | Certificate Auth Arguments |
List of VPN client root certificate file paths.
Property | Value |
---|---|
Parameter group: | Certificate Auth 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.
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-server-config show
Show the details of a VPN server configuration.
az network vpn-server-config show --name
--resource-group
Required Parameters
Name of the Vpn server configuration.
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-server-config wait
Place the CLI in a waiting state until a condition of the VPN server configuration is met.
az network vpn-server-config wait --name
--resource-group
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Required Parameters
Name of the Vpn server configuration.
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.
Wait until created with 'provisioningState' at 'Succeeded'.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Wait until deleted.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Wait until the resource exists.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Polling interval in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 30 |
Maximum wait in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 3600 |
Wait until updated with provisioningState at 'Succeeded'.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
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 |