az network application-gateway rewrite-rule condition

Manage rewrite rule conditions of an application gateway.

Commands

az network application-gateway rewrite-rule condition create

Create a rewrite rule condition.

az network application-gateway rewrite-rule condition delete

Delete a rewrite rule condition.

az network application-gateway rewrite-rule condition list

List rewrite rule conditions.

az network application-gateway rewrite-rule condition list-server-variables

Lists all available server variables.

az network application-gateway rewrite-rule condition show

Get the details of a rewrite rule condition.

az network application-gateway rewrite-rule condition update

Update a rewrite rule condition.

az network application-gateway rewrite-rule condition create

Create a rewrite rule condition.

az network application-gateway rewrite-rule condition create --gateway-name
                                                             --resource-group
                                                             --rule-name
                                                             --rule-set-name
                                                             --variable
                                                             [--ignore-case {false, true}]
                                                             [--negate {false, true}]
                                                             [--no-wait]
                                                             [--pattern]
                                                             [--subscription]

Required Parameters

--gateway-name

Name of the application gateway.

--resource-group -g

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

--rule-name

Name of the rewrite rule.

--rule-set-name

Name of the rewrite rule set.

--variable

The variable whose value is being evaluated.

value from: az network application-gateway rewrite-rule condition list-server-variables

Optional Parameters

--ignore-case

Make comparison case-insensitive.

accepted values: false, true
--negate

Check the negation of the condition.

accepted values: false, true
--no-wait

Do not wait for the long-running operation to finish.

--pattern

The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az network application-gateway rewrite-rule condition delete

Delete a rewrite rule condition.

az network application-gateway rewrite-rule condition delete --variable
                                                             [--gateway-name]
                                                             [--ids]
                                                             [--no-wait]
                                                             [--resource-group]
                                                             [--rule-name]
                                                             [--rule-set-name]
                                                             [--subscription]

Required Parameters

--variable

The variable whose value is being evaluated.

Optional Parameters

--gateway-name

Name of the application gateway.

--ids

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.

--no-wait

Do not wait for the long-running operation to finish.

--resource-group -g

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

--rule-name

Name of the rewrite rule.

--rule-set-name

Name of the rewrite rule set.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az network application-gateway rewrite-rule condition list

List rewrite rule conditions.

az network application-gateway rewrite-rule condition list --gateway-name
                                                           --resource-group
                                                           --rule-name
                                                           --rule-set-name
                                                           [--query-examples]
                                                           [--subscription]

Examples

List rewrite rule conditions. (autogenerated)

az network application-gateway rewrite-rule condition list --gateway-name MyGateway --resource-group MyResourceGroup --rule-name MyRule --rule-set-name MyRuleSet

Required Parameters

--gateway-name

Name of the application gateway.

--resource-group -g

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

--rule-name

Name of the rewrite rule.

--rule-set-name

Name of the rewrite rule set.

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az network application-gateway rewrite-rule condition list-server-variables

Lists all available server variables.

az network application-gateway rewrite-rule condition list-server-variables [--subscription]

Optional Parameters

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az network application-gateway rewrite-rule condition show

Get the details of a rewrite rule condition.

az network application-gateway rewrite-rule condition show --variable
                                                           [--gateway-name]
                                                           [--ids]
                                                           [--query-examples]
                                                           [--resource-group]
                                                           [--rule-name]
                                                           [--rule-set-name]
                                                           [--subscription]

Required Parameters

--variable

The variable whose value is being evaluated.

Optional Parameters

--gateway-name

Name of the application gateway.

--ids

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.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--resource-group -g

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

--rule-name

Name of the rewrite rule.

--rule-set-name

Name of the rewrite rule set.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az network application-gateway rewrite-rule condition update

Update a rewrite rule condition.

az network application-gateway rewrite-rule condition update --variable
                                                             [--add]
                                                             [--force-string]
                                                             [--gateway-name]
                                                             [--ids]
                                                             [--ignore-case {false, true}]
                                                             [--negate {false, true}]
                                                             [--no-wait]
                                                             [--pattern]
                                                             [--remove]
                                                             [--resource-group]
                                                             [--rule-name]
                                                             [--rule-set-name]
                                                             [--set]
                                                             [--subscription]

Required Parameters

--variable

The variable whose value is being evaluated.

value from: az network application-gateway rewrite-rule condition list-server-variables

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

--force-string

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

--gateway-name

Name of the application gateway.

--ids

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.

--ignore-case

Make comparison case-insensitive.

accepted values: false, true
--negate

Check the negation of the condition.

accepted values: false, true
--no-wait

Do not wait for the long-running operation to finish.

--pattern

The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.

--remove

Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.

--resource-group -g

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

--rule-name

Name of the rewrite rule.

--rule-set-name

Name of the rewrite rule set.

--set

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.