az network front-door rules-engine rule condition

Manage Rules Engine match conditions for Front Door.

Commands

az network front-door rules-engine rule condition add

Add a match condition to a Rules Engine rule.

az network front-door rules-engine rule condition list

Show all match conditions associated with a Rules Engine rule.

az network front-door rules-engine rule condition remove

Remove a match condition from a Rules Engine rule.

az network front-door rules-engine rule condition add

Add a match condition to a Rules Engine rule.

az network front-door rules-engine rule condition add --front-door-name
                                                      --name
                                                      --resource-group
                                                      --rules-engine-name
                                                      [--match-values]
                                                      [--match-variable {IsMobile, PostArgs, QueryString, RemoteAddr, RequestBody, RequestFilename, RequestFilenameExtension, RequestHeader, RequestMethod, RequestPath, RequestScheme, RequestUri}]
                                                      [--negate-condition {false, true}]
                                                      [--operator {Any, BeginsWith, Contains, EndsWith, Equal, GeoMatch, GreaterThan, GreaterThanOrEqual, IPMatch, LessThan, LessThanOrEqual}]
                                                      [--selector]
                                                      [--transforms {Lowercase, RemoveNulls, Trim, Uppercase, UrlDecode, UrlEncode}]

Required Parameters

--front-door-name -f

Name of the Front Door.

--name -n

Name of the rule.

--resource-group -g

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

--rules-engine-name -r

Name of the Rules Engine.

Optional Parameters

--match-values

Space-separated list of values to match against.

--match-variable

Name of the match condition.

accepted values: IsMobile, PostArgs, QueryString, RemoteAddr, RequestBody, RequestFilename, RequestFilenameExtension, RequestHeader, RequestMethod, RequestPath, RequestScheme, RequestUri
--negate-condition

Applies "Not" to the operator.

accepted values: false, true
--operator

Operator of the match condition.

accepted values: Any, BeginsWith, Contains, EndsWith, Equal, GeoMatch, GreaterThan, GreaterThanOrEqual, IPMatch, LessThan, LessThanOrEqual
--selector

Optional selector for the match condition variable.

--transforms

Space-separated list of transforms to apply.

accepted values: Lowercase, RemoveNulls, Trim, Uppercase, UrlDecode, UrlEncode

az network front-door rules-engine rule condition list

Show all match conditions associated with a Rules Engine rule.

az network front-door rules-engine rule condition list --front-door-name
                                                       --name
                                                       --resource-group
                                                       --rules-engine-name

Required Parameters

--front-door-name -f

Name of the Front Door.

--name -n

Name of the rule.

--resource-group -g

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

--rules-engine-name -r

Name of the Rules Engine.

az network front-door rules-engine rule condition remove

Remove a match condition from a Rules Engine rule.

az network front-door rules-engine rule condition remove --front-door-name
                                                         --index
                                                         --name
                                                         --resource-group
                                                         --rules-engine-name

Required Parameters

--front-door-name -f

Name of the Front Door.

--index

0-based index of the match condition to remove.

--name -n

Name of the rule.

--resource-group -g

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

--rules-engine-name -r

Name of the Rules Engine.