az network application-gateway ssl-policy
Manage the SSL policy of an application gateway.
Commands
Name | Description | Type | Status |
---|---|---|---|
az network application-gateway ssl-policy list-options |
List available SSL options for configuring SSL policy. |
Core | GA |
az network application-gateway ssl-policy predefined |
Get information on predefined SSL policies. |
Core | GA |
az network application-gateway ssl-policy predefined list |
List all SSL predefined policies for configuring SSL policy. |
Core | GA |
az network application-gateway ssl-policy predefined show |
Get SSL predefined policy with the specified policy name. |
Core | GA |
az network application-gateway ssl-policy set |
Update an SSL policy settings. |
Core | GA |
az network application-gateway ssl-policy show |
Get the details of an SSL policy settings. |
Core | GA |
az network application-gateway ssl-policy wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway ssl-policy list-options
List available SSL options for configuring SSL policy.
az network application-gateway ssl-policy list-options
Examples
List available SSL options for configuring SSL policy.
az network application-gateway ssl-policy list-options
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 application-gateway ssl-policy set
Update an SSL policy settings.
az network application-gateway ssl-policy set --gateway-name
--resource-group
[--cipher-suites]
[--disabled-ssl-protocols]
[--min-protocol-version {TLSv1_0, TLSv1_1, TLSv1_2, TLSv1_3}]
[--name {AppGwSslPolicy20150501, AppGwSslPolicy20170401, AppGwSslPolicy20170401S, AppGwSslPolicy20220101, AppGwSslPolicy20220101S}]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--policy-type {Custom, CustomV2, Predefined}]
Examples
Set a predefined SSL policy.
az network application-gateway ssl-policy set -g MyResourceGroup --gateway-name MyAppGateway -n AppGwSslPolicy20170401S --policy-type Predefined
Set a custom SSL policy with TLSv1_2 and the cipher suites below.
az network application-gateway ssl-policy set -g MyResourceGroup --gateway-name MyAppGateway --policy-type Custom --min-protocol-version TLSv1_2 --cipher-suites TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 TLS_RSA_WITH_AES_128_GCM_SHA256
Required Parameters
Name of the application gateway.
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.
SSL cipher suites to be enabled in the specified order to application gateway. Values from az network application-gateway ssl-policy list-options
. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Space-separated list of protocols to disable. Values from az network application-gateway ssl-policy list-options
. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Minimum version of SSL protocol to be supported on application gateway. Values from: az network application-gateway ssl-policy list-options
.
Property | Value |
---|---|
Accepted values: | TLSv1_0, TLSv1_1, TLSv1_2, TLSv1_3 |
Name of SSL policy.
Property | Value |
---|---|
Accepted values: | AppGwSslPolicy20150501, AppGwSslPolicy20170401, AppGwSslPolicy20170401S, AppGwSslPolicy20220101, AppGwSslPolicy20220101S |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Type of SSL policy.
Property | Value |
---|---|
Accepted values: | Custom, CustomV2, Predefined |
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 application-gateway ssl-policy show
Get the details of an SSL policy settings.
az network application-gateway ssl-policy show --gateway-name
--resource-group
Examples
Get the details of an SSL policy settings.
az network application-gateway ssl-policy show -g MyResourceGroup --gateway-name MyAppGateway
Required Parameters
Name of the application 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 application-gateway ssl-policy wait
Place the CLI in a waiting state until a condition is met.
az network application-gateway ssl-policy wait [--created]
[--custom]
[--deleted]
[--exists]
[--gateway-name]
[--ids]
[--interval]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
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 |
Name of the application 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 |
Polling interval in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 30 |
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 |
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.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |