CmdID / az / az network / az network application-gateway / az network application-gateway rewrite-rule
az network application-gateway rewrite-rule create
Create a rewrite rule. Azure CLI reference
10 options Its page in the Azure CLI reference
Options
--conditionsConditions based on which the action set execution will be evaluated.--enable-rerouteIf set as true, it will re-evaluate the url path map provided in path based request routing rules using modified path.--gateway-nameName of the application gateway.--modified-pathURL path for url rewrite.--modified-query-stringQuery string for url rewrite.--name, -nName of the rewrite rule.--request-header-configurationsRequest Header Actions in the Action Set.--response-header-configurationsResponse Header Actions in the Action Set.--rule-set-nameName of the rewrite rule set.--sequenceDetermine the execution order of the rule in the rule set.