CmdID / az / az afd / az afd route
az afd route update
Update a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. Azure CLI extensions reference
15 options Its page in the Azure CLI extensions reference
Options
--cache-configurationThe caching configuration for this route.--enabled-stateWhether to enable use of this rule.--endpoint-nameName of the endpoint under the profile which is unique globally.--formatted-custom-domainsDomains referenced by this endpoint.--formatted-rule-setsrule sets referenced by this endpoint.--forwarding-protocolProtocol this rule will use when forwarding traffic to backends.--grpc-stateWhether or not gRPC is enabled on this route.--https-redirectWhether to automatically redirect HTTP traffic to HTTPS traffic.--link-to-default-domainwhether this route will be linked to the default endpoint domain.--origin-groupName or ID of the origin group to be associated with.--origin-pathA directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.--patterns-to-matchThe route patterns of the rule.--profile-nameName of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.--route-name, --name, -nName of the routing rule.--supported-protocolsList of supported protocols for this route.