az cdn endpoint rule condition
Command group 'cdn endpoint rule' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage delivery rule conditions for an endpoint.
Commands
Name | Description | Type | Status |
---|---|---|---|
az cdn endpoint rule condition add |
Add a condition to a delivery rule. |
Core | Preview |
az cdn endpoint rule condition remove |
Remove a condition from a delivery rule. |
Core | Preview |
az cdn endpoint rule condition show |
Show delivery rules associate with the endpoint. |
Core | Preview |
az cdn endpoint rule condition add
Command group 'cdn endpoint rule condition' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Add a condition to a delivery rule.
az cdn endpoint rule condition add --match-variable {ClientPort, Cookies, HostName, HttpVersion, IsDevice, PostArgs, QueryString, RemoteAddress, RequestBody, RequestHeader, RequestMethod, RequestScheme, RequestUri, ServerPort, SocketAddr, SslProtocol, UrlFileExtension, UrlFileName, UrlPath}
--operator
--rule-name
[--ids]
[--match-values]
[--name]
[--negate-condition {false, true}]
[--profile-name]
[--resource-group]
[--selector]
[--subscription]
[--transform {Lowercase, Uppercase}]
Examples
Add a remote address condition.
az cdn endpoint rule condition add -g group -n endpoint --profile-name profile --rule-name name --match-variable RemoteAddress --operator GeoMatch --match-values "TH"
Required Parameters
Name of the match condition: https://docs.microsoft.com/en-us/azure/cdn/cdn-standard-rules-engine-match-conditions.
Operator of the match condition.
Name of the rule.
Optional Parameters
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.
Match values of the match condition. e.g, space separated values "GET" "HTTP".
Name of the CDN endpoint.
If true, negates the condition.
Name of the CDN profile which is unique within the resource group.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Selector of the match condition.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Transform to apply before matching.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az cdn endpoint rule condition remove
Command group 'cdn endpoint rule condition' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Remove a condition from a delivery rule.
az cdn endpoint rule condition remove --index
--rule-name
[--ids]
[--name]
[--profile-name]
[--resource-group]
[--subscription]
Examples
Remove the first condition.
az cdn endpoint rule condition remove -g group -n endpoint --profile-name profile --rule-name name --index 0
Required Parameters
The index of the condition/action.
Name of the rule.
Optional Parameters
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.
Name of the CDN endpoint.
Name of the CDN profile which is unique within the resource group.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az cdn endpoint rule condition show
Command group 'cdn endpoint rule condition' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Show delivery rules associate with the endpoint.
az cdn endpoint rule condition show [--ids]
[--name]
[--profile-name]
[--resource-group]
[--subscription]
Examples
show delivery rules associate with the endpoint.
az cdn endpoint rule condition show -g group -n endpoint --profile-name profile-name
Optional Parameters
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.
Name of the CDN endpoint.
Name of the CDN profile which is unique within the resource group.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.