az network application-gateway
Manage application-level routing and load balancing services.
To learn more about Application Gateway, visit https://learn.microsoft.com/en-us/azure/application-gateway/quick-create-cli.
Commands
Name | Description | Type | Status |
---|---|---|---|
az network application-gateway address-pool |
Manage address pools of an application gateway. |
Core | GA |
az network application-gateway address-pool create |
Create an address pool. |
Core | GA |
az network application-gateway address-pool delete |
Delete an address pool. |
Core | GA |
az network application-gateway address-pool list |
List address pools. |
Core | GA |
az network application-gateway address-pool show |
Get the details of an address pool. |
Core | GA |
az network application-gateway address-pool update |
Update an address pool. |
Core | GA |
az network application-gateway address-pool wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway auth-cert |
Manage authorization certificates of an application gateway. |
Core | GA |
az network application-gateway auth-cert create |
Create an authorization certificate. |
Core | GA |
az network application-gateway auth-cert delete |
Delete an authorization certificate. |
Core | GA |
az network application-gateway auth-cert list |
List authorization certificates. |
Core | GA |
az network application-gateway auth-cert show |
Show an authorization certificate. |
Core | GA |
az network application-gateway auth-cert update |
Update an authorization certificate. |
Core | GA |
az network application-gateway auth-cert wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway client-cert |
Manage trusted client certificates of application gateway. |
Core | GA |
az network application-gateway client-cert add |
Add trusted client certificate of the application gateway. |
Core | GA |
az network application-gateway client-cert list |
List the existing trusted client certificates of the application gateway. |
Core | GA |
az network application-gateway client-cert remove |
Remove an existing trusted client certificate of the application gateway. |
Core | GA |
az network application-gateway client-cert show |
Show an existing trusted client certificate of the application gateway. |
Core | GA |
az network application-gateway client-cert update |
Update trusted client certificate of the application gateway. |
Core | GA |
az network application-gateway client-cert wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway create |
Create an application gateway. |
Core | GA |
az network application-gateway delete |
Delete an application gateway. |
Core | GA |
az network application-gateway frontend-ip |
Manage frontend IP addresses of an application gateway. |
Core | GA |
az network application-gateway frontend-ip create |
Create a frontend IP address. |
Core | GA |
az network application-gateway frontend-ip delete |
Delete a frontend IP address. |
Core | GA |
az network application-gateway frontend-ip list |
List frontend IP addresses. |
Core | GA |
az network application-gateway frontend-ip show |
Get the details of a frontend IP address. |
Core | GA |
az network application-gateway frontend-ip update |
Update a frontend IP address. |
Core | GA |
az network application-gateway frontend-ip wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway frontend-port |
Manage frontend ports of an application gateway. |
Core | GA |
az network application-gateway frontend-port create |
Create a frontend port. |
Core | GA |
az network application-gateway frontend-port delete |
Delete a frontend port. |
Core | GA |
az network application-gateway frontend-port list |
List frontend ports. |
Core | GA |
az network application-gateway frontend-port show |
Get the details of a frontend port. |
Core | GA |
az network application-gateway frontend-port update |
Update a frontend port. |
Core | GA |
az network application-gateway frontend-port wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway http-listener |
Manage HTTP listeners of an application gateway. |
Core | GA |
az network application-gateway http-listener create |
Create an HTTP listener. |
Core | GA |
az network application-gateway http-listener delete |
Delete an HTTP listener. |
Core | GA |
az network application-gateway http-listener list |
List HTTP listeners. |
Core | GA |
az network application-gateway http-listener show |
Get the details of an HTTP listener. |
Core | GA |
az network application-gateway http-listener update |
Update an HTTP listener. |
Core | GA |
az network application-gateway http-listener wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway http-settings |
Manage HTTP settings of an application gateway. |
Core | GA |
az network application-gateway http-settings create |
Create HTTP settings. |
Core | GA |
az network application-gateway http-settings delete |
Delete HTTP settings. |
Core | GA |
az network application-gateway http-settings list |
List HTTP settings. |
Core | GA |
az network application-gateway http-settings show |
Get the details of HTTP settings. |
Core | GA |
az network application-gateway http-settings update |
Update HTTP settings. |
Core | GA |
az network application-gateway http-settings wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway identity |
Manage the managed service identity of an application gateway. |
Core | GA |
az network application-gateway identity assign |
Assign a managed service identity to an application gateway. |
Core | GA |
az network application-gateway identity remove |
Remove the managed service identity of an application-gateway. |
Core | GA |
az network application-gateway identity show |
Show the managed service identity of an application gateway. |
Core | GA |
az network application-gateway identity wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway list |
List application gateways. |
Core | GA |
az network application-gateway listener |
Manage listeners of an application gateway. |
Core | GA |
az network application-gateway listener create |
Create a listener. |
Core | GA |
az network application-gateway listener delete |
Delete a listener. |
Core | GA |
az network application-gateway listener list |
List listeners. |
Core | GA |
az network application-gateway listener show |
Get the details of a listener. |
Core | GA |
az network application-gateway listener update |
Update a listener. |
Core | GA |
az network application-gateway listener wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway private-link |
Manage private link of an application gateway. |
Core | GA |
az network application-gateway private-link add |
Add a new private link with a default IP configuration and associate it with an existing frontend IP. |
Core | Preview |
az network application-gateway private-link ip-config |
Manage IP configuration of a private link to configure its capability. |
Core | Preview |
az network application-gateway private-link ip-config add |
Add an IP configuration to a private link to scale up its capability. |
Core | Preview |
az network application-gateway private-link ip-config list |
List all the IP configurations of a private link. |
Core | Preview |
az network application-gateway private-link ip-config remove |
Remove an IP configuration from a private link to scale down its capability. |
Core | Preview |
az network application-gateway private-link ip-config show |
Show an IP configuration of a private link. |
Core | Preview |
az network application-gateway private-link ip-config wait |
Place the CLI in a waiting state until a condition is met. |
Core | Preview |
az network application-gateway private-link list |
List all the private links. |
Core | Preview |
az network application-gateway private-link remove |
Remove a private link and clear association with Frontend IP. The subnet associate with a private link might need to clear manually. |
Core | Preview |
az network application-gateway private-link show |
Show a private link. |
Core | Preview |
az network application-gateway private-link wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway probe |
Manage probes to gather and evaluate information on an application gateway. |
Core | GA |
az network application-gateway probe create |
Create a probe. |
Core | GA |
az network application-gateway probe delete |
Delete a probe. |
Core | GA |
az network application-gateway probe list |
List probes. |
Core | GA |
az network application-gateway probe show |
Get the details of a probe. |
Core | GA |
az network application-gateway probe update |
Update a probe. |
Core | GA |
az network application-gateway probe wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway redirect-config |
Manage redirect configurations of an application gateway. |
Core | GA |
az network application-gateway redirect-config create |
Create a redirect configuration. |
Core | GA |
az network application-gateway redirect-config delete |
Delete a redirect configuration. |
Core | GA |
az network application-gateway redirect-config list |
List redirect configurations. |
Core | GA |
az network application-gateway redirect-config show |
Get the details of a redirect configuration. |
Core | GA |
az network application-gateway redirect-config update |
Update a redirect configuration. |
Core | GA |
az network application-gateway redirect-config wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway rewrite-rule |
Manage rewrite rules of an application gateway. |
Core | GA |
az network application-gateway rewrite-rule condition |
Manage rewrite rule conditions of an application gateway. |
Core | GA |
az network application-gateway rewrite-rule condition create |
Create a rewrite rule condition. |
Core | GA |
az network application-gateway rewrite-rule condition delete |
Delete a rewrite rule condition. |
Core | GA |
az network application-gateway rewrite-rule condition list |
List rewrite rule conditions. |
Core | GA |
az network application-gateway rewrite-rule condition list-server-variables |
List all available server variables. |
Core | GA |
az network application-gateway rewrite-rule condition show |
Get the details of a rewrite rule condition. |
Core | GA |
az network application-gateway rewrite-rule condition update |
Update a rewrite rule condition. |
Core | GA |
az network application-gateway rewrite-rule condition wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway rewrite-rule create |
Create a rewrite rule. |
Core | GA |
az network application-gateway rewrite-rule delete |
Delete a rewrite rule. |
Core | GA |
az network application-gateway rewrite-rule list |
List rewrite rules. |
Core | GA |
az network application-gateway rewrite-rule list-request-headers |
List all available request headers. |
Core | GA |
az network application-gateway rewrite-rule list-response-headers |
List all available response headers. |
Core | GA |
az network application-gateway rewrite-rule set |
Manage rewrite rule sets of an application gateway. |
Core | GA |
az network application-gateway rewrite-rule set create |
Create a rewrite rule set. |
Core | GA |
az network application-gateway rewrite-rule set delete |
Delete a rewrite rule set. |
Core | GA |
az network application-gateway rewrite-rule set list |
List rewrite rule sets. |
Core | GA |
az network application-gateway rewrite-rule set show |
Get the details of a rewrite rule set. |
Core | GA |
az network application-gateway rewrite-rule set update |
Update a rewrite rule set. |
Core | GA |
az network application-gateway rewrite-rule set wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway rewrite-rule show |
Get the details of a rewrite rule. |
Core | GA |
az network application-gateway rewrite-rule update |
Update a rewrite rule. |
Core | GA |
az network application-gateway rewrite-rule wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway root-cert |
Manage trusted root certificates of an application gateway. |
Core | GA |
az network application-gateway root-cert create |
Upload a trusted root certificate. |
Core | GA |
az network application-gateway root-cert delete |
Delete a trusted root certificate. |
Core | GA |
az network application-gateway root-cert list |
List trusted root certificates. |
Core | GA |
az network application-gateway root-cert show |
Get the details of a trusted root certificate. |
Core | GA |
az network application-gateway root-cert update |
Update a trusted root certificate. |
Core | GA |
az network application-gateway root-cert wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway routing-rule |
Evaluate probe information and define TCP/TLS routing rules. |
Core | GA |
az network application-gateway routing-rule create |
Create a rule. |
Core | GA |
az network application-gateway routing-rule delete |
Delete a rule. |
Core | GA |
az network application-gateway routing-rule list |
List rules. |
Core | GA |
az network application-gateway routing-rule show |
Get the details of a rule. |
Core | GA |
az network application-gateway routing-rule update |
Update a rule. |
Core | GA |
az network application-gateway routing-rule wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway rule |
Evaluate probe information and define HTTP/HTTPS routing rules. |
Core | GA |
az network application-gateway rule create |
Create a rule. |
Core | GA |
az network application-gateway rule delete |
Delete a rule. |
Core | GA |
az network application-gateway rule list |
List rules. |
Core | GA |
az network application-gateway rule show |
Get the details of a rule. |
Core | GA |
az network application-gateway rule update |
Update a rule. |
Core | GA |
az network application-gateway rule wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway settings |
Manage settings of an application gateway. |
Core | GA |
az network application-gateway settings create |
Create settings. |
Core | GA |
az network application-gateway settings delete |
Delete settings. |
Core | GA |
az network application-gateway settings list |
List settings. |
Core | GA |
az network application-gateway settings show |
Get the details of settings. |
Core | GA |
az network application-gateway settings update |
Update settings. |
Core | GA |
az network application-gateway settings wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway show |
Get the details of an application gateway. |
Core | GA |
az network application-gateway show-backend-health |
Get information on the backend health of an application gateway. |
Core | GA |
az network application-gateway ssl-cert |
Manage SSL certificates of an application gateway. |
Core | GA |
az network application-gateway ssl-cert create |
Upload an SSL certificate. |
Core | GA |
az network application-gateway ssl-cert delete |
Delete an SSL certificate. |
Core | GA |
az network application-gateway ssl-cert list |
List SSL certificates. |
Core | GA |
az network application-gateway ssl-cert show |
Get the details of an SSL certificate. |
Core | GA |
az network application-gateway ssl-cert update |
Update an SSL certificate. |
Core | GA |
az network application-gateway ssl-cert wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway ssl-policy |
Manage the SSL policy of an application gateway. |
Core | GA |
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-profile |
Manage SSL profiles of application gateway. |
Core | GA |
az network application-gateway ssl-profile add |
Add an SSL profile of the application gateway. |
Core | GA |
az network application-gateway ssl-profile list |
List the existing SSL profiles of the application gateway. |
Core | GA |
az network application-gateway ssl-profile remove |
Remove an existing SSL profile of the application gateway. |
Core | GA |
az network application-gateway ssl-profile show |
Show an existing SSL profile of the application gateway. |
Core | GA |
az network application-gateway ssl-profile update |
Update SSL profile of the application gateway. |
Core | GA |
az network application-gateway ssl-profile wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway start |
Start an application gateway. |
Core | GA |
az network application-gateway stop |
Stop an application gateway. |
Core | GA |
az network application-gateway update |
Update an application gateway. |
Core | GA |
az network application-gateway url-path-map |
Manage URL path maps of an application gateway. |
Core | GA |
az network application-gateway url-path-map create |
Create a URL path map. |
Core | GA |
az network application-gateway url-path-map delete |
Delete a URL path map. |
Core | GA |
az network application-gateway url-path-map list |
List URL path maps. |
Core | GA |
az network application-gateway url-path-map rule |
Manage the rules of a URL path map. |
Core | GA |
az network application-gateway url-path-map rule create |
Create a rule for a URL path map. |
Core | GA |
az network application-gateway url-path-map rule delete |
Delete a rule for a URL path map. |
Core | GA |
az network application-gateway url-path-map rule wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway url-path-map show |
Get the details of a URL path map. |
Core | GA |
az network application-gateway url-path-map update |
Update a URL path map. |
Core | GA |
az network application-gateway url-path-map wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway waf-config |
Configure the settings of a web application firewall. |
Core | GA |
az network application-gateway waf-config list-dynamic-rule-sets |
List the regional application gateway waf manifest. |
Core | GA |
az network application-gateway waf-config list-rule-sets |
Get information on available WAF rule sets, rule groups, and rule IDs. |
Core | GA |
az network application-gateway waf-config set |
Update the firewall configuration of a web application. |
Core | GA |
az network application-gateway waf-config show |
Get the firewall configuration of a web application. |
Core | GA |
az network application-gateway waf-policy |
Manage application gateway web application firewall (WAF) policies. |
Core | GA |
az network application-gateway waf-policy create |
Create an application gateway WAF policy. |
Core | GA |
az network application-gateway waf-policy custom-rule |
Manage application gateway web application firewall (WAF) policy custom rules. |
Core | GA |
az network application-gateway waf-policy custom-rule create |
Create an application gateway WAF policy custom rule. |
Core | GA |
az network application-gateway waf-policy custom-rule delete |
Delete an application gateway WAF policy custom rule. |
Core | GA |
az network application-gateway waf-policy custom-rule list |
List application gateway WAF policy custom rules. |
Core | GA |
az network application-gateway waf-policy custom-rule match-condition |
Manage match conditions in an application gateway web application firewall (WAF) policy custom rule. |
Core | GA |
az network application-gateway waf-policy custom-rule match-condition add |
Add a match condition to an application gateway WAF policy custom rule. |
Core | GA |
az network application-gateway waf-policy custom-rule match-condition list |
List application gateway WAF policy custom rule match conditions. |
Core | GA |
az network application-gateway waf-policy custom-rule match-condition remove |
Remove a match condition from an application gateway WAF policy custom rule. |
Core | GA |
az network application-gateway waf-policy custom-rule show |
Get the details of an application gateway WAF policy custom rule. |
Core | GA |
az network application-gateway waf-policy custom-rule update |
Update an application gateway WAF policy custom rule. |
Core | GA |
az network application-gateway waf-policy delete |
Delete an application gateway WAF policy. |
Core | GA |
az network application-gateway waf-policy list |
List application gateway WAF policies. |
Core | GA |
az network application-gateway waf-policy managed-rule |
Manage managed rules of a WAF policy. |
Core | GA |
az network application-gateway waf-policy managed-rule exception |
Manage exceptions to allow a request to skip the managed rules when the condition is satisfied. |
Core | GA |
az network application-gateway waf-policy managed-rule exception add |
Allows traffic that met configured criteria to skip the configured managed rules. |
Core | GA |
az network application-gateway waf-policy managed-rule exception list |
List all managed rule exceptions that are applied on a WAF policy managed rules. |
Core | GA |
az network application-gateway waf-policy managed-rule exception remove |
Remove all managed rule exceptions that are applied on a WAF policy managed rules. |
Core | GA |
az network application-gateway waf-policy managed-rule exclusion |
Manage OWASP CRS exclusions that are applied on a WAF policy managed rules. |
Core | GA |
az network application-gateway waf-policy managed-rule exclusion add |
Add an OWASP CRS exclusion rule to the WAF policy managed rules. |
Core | GA |
az network application-gateway waf-policy managed-rule exclusion list |
List all OWASP CRS exclusion rules that are applied on a WAF policy managed rules. |
Core | GA |
az network application-gateway waf-policy managed-rule exclusion remove |
Remove all OWASP CRS exclusion rules that are applied on a WAF policy managed rules. |
Core | GA |
az network application-gateway waf-policy managed-rule exclusion rule-set |
Define a managed rule set for exclusions. |
Core | GA |
az network application-gateway waf-policy managed-rule exclusion rule-set add |
Add a managed rule set to an exclusion. |
Core | GA |
az network application-gateway waf-policy managed-rule exclusion rule-set list |
List all managed rule sets of an exclusion. |
Core | GA |
az network application-gateway waf-policy managed-rule exclusion rule-set remove |
Remove managed rule set within an exclusion. |
Core | GA |
az network application-gateway waf-policy managed-rule rule-set |
Manage managed rule set of managed rules of a WAF policy. |
Core | GA |
az network application-gateway waf-policy managed-rule rule-set add |
Add managed rule set to the WAF policy managed rules. For rule set and rules, please visit: https://learn.microsoft.com/azure/web-application-firewall/ag/application-gateway-crs-rulegroups-rules. |
Core | GA |
az network application-gateway waf-policy managed-rule rule-set list |
List all managed rule set. |
Core | GA |
az network application-gateway waf-policy managed-rule rule-set remove |
Remove a managed rule set by rule set group name if rule_group_name is specified. Otherwise, remove all rule set. |
Core | GA |
az network application-gateway waf-policy managed-rule rule-set update |
Manage rules of a WAF policy. If --group-name and --rules are provided, override existing rules. If --group-name is provided, clear all rules under a certain rule group. If neither of them are provided, update rule set and clear all rules under itself. For rule set and rules, please visit: https://learn.microsoft.com/azure/web-application-firewall/ag/application-gateway-crs-rulegroups-rules. |
Core | GA |
az network application-gateway waf-policy policy-setting |
Define contents of a web application firewall global configuration. |
Core | GA |
az network application-gateway waf-policy policy-setting list |
List properties of a web application firewall global configuration. |
Core | GA |
az network application-gateway waf-policy policy-setting update |
Update properties of a web application firewall global configuration. |
Core | GA |
az network application-gateway waf-policy show |
Get the details of an application gateway WAF policy. |
Core | GA |
az network application-gateway waf-policy update |
Update an application gateway WAF policy. |
Core | GA |
az network application-gateway waf-policy wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network application-gateway create
Create an application gateway.
az network application-gateway create --name
--resource-group
[--capacity]
[--cert-file]
[--cert-password]
[--connection-draining-timeout]
[--custom-error-pages]
[--enable-private-link]
[--frontend-port]
[--http-settings-cookie-based-affinity {Disabled, Enabled}]
[--http-settings-port]
[--http-settings-protocol {Http, Https, Tcp, Tls}]
[--http2 {Disabled, Enabled}]
[--identity]
[--key-vault-secret-id]
[--location]
[--max-capacity]
[--min-capacity]
[--no-wait]
[--priority]
[--private-ip-address]
[--private-link-ip-address]
[--private-link-primary {false, true}]
[--private-link-subnet]
[--private-link-subnet-prefix]
[--public-ip-address]
[--public-ip-address-allocation]
[--routing-rule-type {Basic, PathBasedRouting}]
[--servers]
[--sku {Standard_Medium, Standard_Small, Standard_v2, WAF_Large, WAF_Medium, WAF_v2}]
[--ssl-certificate-name]
[--ssl-profile]
[--ssl-profile-id]
[--subnet]
[--subnet-address-prefix]
[--tags]
[--trusted-client-cert]
[--validate]
[--vnet-address-prefix]
[--vnet-name]
[--waf-policy]
[--zones]
Examples
Create an application gateway.
az network application-gateway create --capacity 2 --frontend-port MyFrontendPort --http-settings-cookie-based-affinity Enabled --http-settings-port 80 --http-settings-protocol Http --location westus2 --name MyAppGateway --public-ip-address MyAppGatewayPublicIp --resource-group MyResourceGroup --sku Standard_Small --subnet MySubnet --vnet-name MyVNet
Create an application gateway with VMs as backend servers.
az network application-gateway create -g MyResourceGroup -n MyAppGateway --capacity 2 --sku Standard_Medium --vnet-name MyVNet --subnet MySubnet --http-settings-cookie-based-affinity Enabled --public-ip-address MyAppGatewayPublicIp --servers 10.0.0.4 10.0.0.5
Create an application gateway with SSL profile.
az network application-gateway create -n MyAppGateway -g MyResourceGroup --public-ip-address MyPublicIP --sku Standard_v2 --priority 1001 --ssl-profile name=MyProfile min-protocol-version=TLSv1_0 cipher-suites=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 policy-type=Custom client-auth-configuration=True
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.
The number of instances to use with the application gateway.
Property | Value |
---|---|
Parameter group: | Gateway Arguments |
Default value: | 2 |
The path to the PFX certificate file.
Property | Value |
---|---|
Parameter group: | Gateway Arguments |
The certificate password.
Property | Value |
---|---|
Parameter group: | Gateway Arguments |
The time in seconds after a backend server is removed during which on open connection remains active. Range: 0 (disabled) to 3600.
Property | Value |
---|---|
Parameter group: | Gateway Arguments |
Default value: | 0 |
Space-separated list of custom error pages in STATUS_CODE=URL
format.
Enable Private Link feature for this application gateway. If both public IP and private IP are enbaled, taking effect only in public frontend IP.
Property | Value |
---|---|
Parameter group: | Private Link Configuration Arguments |
Default value: | False |
The front end port number.
Property | Value |
---|---|
Parameter group: | Gateway Arguments |
Enable or disable HTTP settings cookie-based affinity.
Property | Value |
---|---|
Parameter group: | Gateway Arguments |
Default value: | disabled |
Accepted values: | Disabled, Enabled |
The HTTP settings port.
Property | Value |
---|---|
Parameter group: | Gateway Arguments |
Default value: | 80 |
The HTTP settings protocol.
Property | Value |
---|---|
Parameter group: | Gateway Arguments |
Default value: | Http |
Accepted values: | Http, Https, Tcp, Tls |
Use HTTP2 for the application gateway.
Property | Value |
---|---|
Parameter group: | Gateway Arguments |
Accepted values: | Disabled, Enabled |
Name or ID of the ManagedIdentity Resource.
Property | Value |
---|---|
Parameter group: | Identity Arguments |
Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in Azure KeyVault. You need enable soft delete for keyvault to use this feature.
Property | Value |
---|---|
Parameter group: | Gateway Arguments |
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Upper bound on the number of application gateway instances.
Lower bound on the number of application gateway instances.
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
Priority of the request routing rule. Supported SKU tiers are Standard_v2, WAF_v2.
Static private IP address to use.
Property | Value |
---|---|
Parameter group: | Network Arguments |
The static private IP address of a subnet for Private Link. If omitting, a dynamic one will be created.
Property | Value |
---|---|
Parameter group: | Private Link Configuration Arguments |
Whether the IP configuration is primary or not.
Property | Value |
---|---|
Parameter group: | Private Link Configuration Arguments |
Accepted values: | false, true |
The name of the subnet within the same vnet of an application gateway.
Property | Value |
---|---|
Parameter group: | Private Link Configuration Arguments |
Default value: | PrivateLinkDefaultSubnet |
The CIDR prefix to use when creating a new subnet.
Property | Value |
---|---|
Parameter group: | Private Link Configuration Arguments |
Default value: | 10.0.1.0/24 |
Name or ID of a public IP address. Uses existing resource or creates new if specified, or none if omitted.
Property | Value |
---|---|
Parameter group: | Network Arguments |
The kind of IP allocation to use when creating a new public IP.
Property | Value |
---|---|
Parameter group: | Network Arguments |
Default value: | Dynamic |
The request routing rule type.
Property | Value |
---|---|
Parameter group: | Gateway Arguments |
Default value: | Basic |
Accepted values: | Basic, PathBasedRouting |
Space-separated list of IP addresses or DNS names corresponding to backend servers.
Property | Value |
---|---|
Parameter group: | Gateway Arguments |
The name of the SKU.
Property | Value |
---|---|
Parameter group: | Gateway Arguments |
Default value: | Standard_Medium |
Accepted values: | Standard_Medium, Standard_Small, Standard_v2, WAF_Large, WAF_Medium, WAF_v2 |
The certificate name. Default will be <application-gateway-name>SslCert
.
Property | Value |
---|---|
Parameter group: | Gateway Arguments |
The application gateway ssl profiles.
Usage: --ssl-profile name=MySslProfile client-auth-configuration=True cipher-suites=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 policy-type=Custom min-protocol-version=TLSv1_0
name: Required. Name of the SSL profile that is unique within an Application Gateway. polic-name: Name of Ssl Policy. policy-type: Type of Ssl Policy. min-protocol-version: Minimum version of Ssl protocol to be supported on application gateway. cipher-suites: Ssl cipher suites to be enabled in the specified order to application gateway. disabled-ssl-protocols: Space-separated list of protocols to disable. trusted-client-certificates: Array of references to application gateway trusted client certificates. client-auth-configuration: Client authentication configuration of the application gateway resource.
Multiple ssl profiles can be specified by using more than one --ssl-profile
argument.
Property | Value |
---|---|
Parameter group: | SSL Profile Arguments |
SSL profile resource of the application gateway.
Property | Value |
---|---|
Parameter group: | Gateway Arguments |
Name or ID of the subnet. Will create resource if it does not exist. If name specified, also specify --vnet-name. If you want to use an existing subnet in other resource group or subscription, please provide the ID instead of the name of the subnet.
Property | Value |
---|---|
Parameter group: | Network Arguments |
Default value: | default |
The CIDR prefix to use when creating a new subnet.
Property | Value |
---|---|
Parameter group: | Network Arguments |
Default value: | 10.0.0.0/24 |
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
The application gateway trusted client certificate.
Usage: --trusted-client-certificates name=client1 data=client.cer
name: Required. Name of the trusted client certificate that is unique within an Application Gateway data: Required. Certificate public data.
Multiple trusted client certificates can be specified by using more than one --trusted-client-certificates
argument.
Property | Value |
---|---|
Parameter group: | Mutual Authentication Support Arguments |
Generate and validate the ARM template without creating any resources.
Property | Value |
---|---|
Default value: | False |
The CIDR prefix to use when creating a new VNet.
Property | Value |
---|---|
Parameter group: | Network Arguments |
Default value: | 10.0.0.0/16 |
The virtual network (VNet) name.
Property | Value |
---|---|
Parameter group: | Network Arguments |
Name or ID of a web application firewall (WAF) policy.
Space-separated list of availability zones into which to provision the resource.
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 delete
Delete an application gateway.
az network application-gateway delete [--ids]
[--name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
Examples
Delete an application gateway.
az network application-gateway delete -g MyResourceGroup -n MyAppGateway
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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 application gateway.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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 |
az network application-gateway list
List application gateways.
az network application-gateway list [--max-items]
[--next-token]
[--resource-group]
Examples
List application gateways.
az network application-gateway list -g MyResourceGroup
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Property | Value |
---|---|
Parameter group: | Pagination Arguments |
Token to specify where to start paginating. This is the token value from a previously truncated response.
Property | Value |
---|---|
Parameter group: | Pagination Arguments |
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 show
Get the details of an application gateway.
az network application-gateway show [--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Get the details of an application gateway.
az network application-gateway show -g MyResourceGroup -n MyAppGateway
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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 application gateway.
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 |
az network application-gateway show-backend-health
Get information on the backend health of an application gateway.
az network application-gateway show-backend-health [--address-pool]
[--expand]
[--host]
[--host-name-from-http-settings {false, true}]
[--http-settings]
[--ids]
[--match-body]
[--match-status-codes]
[--name]
[--path]
[--protocol {Http, Https, Tcp, Tls}]
[--resource-group]
[--subscription]
[--timeout]
Examples
Show backend health of an application gateway.
az network application-gateway show-backend-health -g MyResourceGroup -n MyAppGateway
Show backend health of an application gateway for given combination of backend pool and http setting.
az network application-gateway show-backend-health -g MyResourceGroup -n MyAppGateway --host-name-from-http-settings --path /test --timeout 100 --http-settings appGatewayBackendHttpSettings --address-pool appGatewayBackendPool
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name or ID of the backend address pool.
Property | Value |
---|---|
Parameter group: | Probe Operation Arguments |
Expands BackendAddressPool and BackendHttpSettings referenced in backend health.
The name of the host to send the probe.
Property | Value |
---|---|
Parameter group: | Probe Operation Arguments |
Use host header from HTTP settings.
Property | Value |
---|---|
Parameter group: | Probe Operation Arguments |
Accepted values: | false, true |
The name or ID of the HTTP settings.
Property | Value |
---|---|
Parameter group: | Probe Operation 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 |
Body that must be contained in the health response.
Property | Value |
---|---|
Parameter group: | Probe Operation Arguments |
Space-separated list of allowed ranges of healthy status codes for the health response.
Property | Value |
---|---|
Parameter group: | Probe Operation Arguments |
Name of the application gateway.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The relative path of the probe. Valid paths start from "/".
Property | Value |
---|---|
Parameter group: | Probe Operation Arguments |
The HTTP settings protocol.
Property | Value |
---|---|
Parameter group: | Probe Operation Arguments |
Accepted values: | Http, Https, Tcp, Tls |
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 |
The probe timeout in seconds.
Property | Value |
---|---|
Parameter group: | Probe Operation 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 |
az network application-gateway start
Start an application gateway.
az network application-gateway start [--ids]
[--name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
Examples
Start an application gateway.
az network application-gateway start -g MyResourceGroup -n MyAppGateway
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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 application gateway.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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 |
az network application-gateway stop
Stop an application gateway.
az network application-gateway stop [--ids]
[--name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
Examples
Stop an application gateway.
az network application-gateway stop -g MyResourceGroup -n MyAppGateway
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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 application gateway.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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 |
az network application-gateway update
Update an application gateway.
az network application-gateway update [--add]
[--capacity]
[--custom-error-pages]
[--family {Generation_1, Generation_2}]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--http2 {Disabled, Enabled}]
[--identity]
[--ids]
[--max-capacity]
[--min-capacity]
[--name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--remove]
[--resource-group]
[--set]
[--sku {Basic, Standard_Large, Standard_Medium, Standard_Small, Standard_v2, WAF_Large, WAF_Medium, WAF_v2}]
[--ssl-profiles]
[--subscription]
[--tags]
Examples
Update an application gateway.
az network application-gateway update --name MyApplicationGateway --resource-group MyResourceGroup --set sku.tier=WAF_v2
Enable client cert revocation via OCSP.
az network application-gateway update -n MyApplicationGateway --ssl-profiles [0].client-auth-configuration.verify-client-revocation=OCSP
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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>
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Number of instances to use with the application gateway.
Space-separated list of custom error pages in STATUS_CODE=URL
format. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Family of an application gateway SKU.
Property | Value |
---|---|
Parameter group: | Sku Arguments |
Accepted values: | Generation_1, Generation_2 |
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Use HTTP2 for the application gateway.
Property | Value |
---|---|
Accepted values: | Disabled, Enabled |
The identity of the application gateway, if configured. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
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 |
Upper bound on the number of application gateway instances.
Lower bound on the number of application gateway instances.
Name of the application gateway.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Name of an application gateway SKU.
Property | Value |
---|---|
Accepted values: | Basic, Standard_Large, Standard_Medium, Standard_Small, Standard_v2, WAF_Large, WAF_Medium, WAF_v2 |
SSL profiles of the application gateway resource. For default limits, see Application Gateway limits. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
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 |
Space-separated tags: key[=value] [key[=value] ...]. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
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 |
az network application-gateway wait
Place the CLI in a waiting state until a condition is met.
az network application-gateway wait [--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--name]
[--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 |
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 the application gateway.
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 |
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 |