CmdID

CmdID / az / az cdn / az cdn endpoint / az cdn endpoint rule / az cdn endpoint rule action

az cdn endpoint rule action add

Add an action to a delivery rule. Azure CLI extensions reference

2 examples Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Add a redirect action.

az cdn endpoint rule action add -g group -n endpoint --profile-name profile --rule-name name --action-name "UrlRedirect" --redirect-protocol HTTPS --redirect-type MovedIdentify
-gName of resource group.
-nName of the CDN endpoint.

Add a cache expiration action

az cdn endpoint rule action add -g group -n endpoint --profile-name profile --rule-name name --action-name "CacheExpiration" --cache-behavior BypassCacheIdentify
-gName of resource group.
-nName of the CDN endpoint.