Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The cdnWebApplicationFirewallPolicies resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Cdn/cdnWebApplicationFirewallPolicies resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Cdn/cdnWebApplicationFirewallPolicies@2025-06-01' = {
etag: 'string'
location: 'string'
name: 'string'
properties: {
customRules: {
rules: [
{
action: 'string'
enabledState: 'string'
matchConditions: [
{
matchValue: [
'string'
]
matchVariable: 'string'
negateCondition: bool
operator: 'string'
selector: 'string'
transforms: [
'string'
]
}
]
name: 'string'
priority: int
}
]
}
extendedProperties: {
{customized property}: 'string'
}
managedRules: {
managedRuleSets: [
{
anomalyScore: int
ruleGroupOverrides: [
{
ruleGroupName: 'string'
rules: [
{
action: 'string'
enabledState: 'string'
ruleId: 'string'
}
]
}
]
ruleSetType: 'string'
ruleSetVersion: 'string'
}
]
}
policySettings: {
defaultCustomBlockResponseBody: 'string'
defaultCustomBlockResponseStatusCode: int
defaultRedirectUrl: 'string'
enabledState: 'string'
mode: 'string'
}
rateLimitRules: {
rules: [
{
action: 'string'
enabledState: 'string'
matchConditions: [
{
matchValue: [
'string'
]
matchVariable: 'string'
negateCondition: bool
operator: 'string'
selector: 'string'
transforms: [
'string'
]
}
]
name: 'string'
priority: int
rateLimitDurationInMinutes: int
rateLimitThreshold: int
}
]
}
}
sku: {
name: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.Cdn/cdnWebApplicationFirewallPolicies
Name | Description | Value |
---|---|---|
etag | Gets a unique read-only string that changes whenever the resource is updated. | string |
location | The geo-location where the resource lives | string (required) |
name | The resource name | string Constraints: Max length = 128 (required) |
properties | Properties of the web application firewall policy. | CdnWebApplicationFirewallPolicyProperties |
sku | The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. | Sku (required) |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
CdnWebApplicationFirewallPolicyProperties
Name | Description | Value |
---|---|---|
customRules | Describes custom rules inside the policy. | CustomRuleList |
extendedProperties | Key-Value pair representing additional properties for Web Application Firewall policy. | CdnWebApplicationFirewallPolicyPropertiesExtendedProperties |
managedRules | Describes managed rules inside the policy. | ManagedRuleSetList |
policySettings | Describes policySettings for policy | PolicySettings |
rateLimitRules | Describes rate limit rules inside the policy. | RateLimitRuleList |
CdnWebApplicationFirewallPolicyPropertiesExtendedProperties
Name | Description | Value |
---|
CustomRule
Name | Description | Value |
---|---|---|
action | Describes what action to be applied when rule matches | 'Allow' 'Block' 'Log' 'Redirect' (required) |
enabledState | Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. | 'Disabled' 'Enabled' |
matchConditions | List of match conditions. | MatchCondition[] (required) |
name | Defines the name of the custom rule | string (required) |
priority | Defines in what order this rule be evaluated in the overall list of custom rules | int Constraints: Min value = 0 Max value = 1000 (required) |
CustomRuleList
Name | Description | Value |
---|---|---|
rules | List of rules | CustomRule[] |
ManagedRuleGroupOverride
Name | Description | Value |
---|---|---|
ruleGroupName | Describes the managed rule group within the rule set to override | string (required) |
rules | List of rules that will be enabled. If none specified, all rules in the group will be disabled. | ManagedRuleOverride[] |
ManagedRuleOverride
Name | Description | Value |
---|---|---|
action | Describes the override action to be applied when rule matches. | 'Allow' 'Block' 'Log' 'Redirect' |
enabledState | Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. | 'Disabled' 'Enabled' |
ruleId | Identifier for the managed rule. | string (required) |
ManagedRuleSet
Name | Description | Value |
---|---|---|
anomalyScore | Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests. | int Constraints: Min value = 0 Max value = 20 |
ruleGroupOverrides | Defines the rule overrides to apply to the rule set. | ManagedRuleGroupOverride[] |
ruleSetType | Defines the rule set type to use. | string (required) |
ruleSetVersion | Defines the version of the rule set to use. | string (required) |
ManagedRuleSetList
Name | Description | Value |
---|---|---|
managedRuleSets | List of rule sets. | ManagedRuleSet[] |
MatchCondition
Name | Description | Value |
---|---|---|
matchValue | List of possible match values. | string[] (required) |
matchVariable | Match variable to compare against. | 'Cookies' 'PostArgs' 'QueryString' 'RemoteAddr' 'RequestBody' 'RequestHeader' 'RequestMethod' 'RequestUri' 'SocketAddr' (required) |
negateCondition | Describes if the result of this condition should be negated. | bool |
operator | Describes operator to be matched | 'Any' 'BeginsWith' 'Contains' 'EndsWith' 'Equal' 'GeoMatch' 'GreaterThan' 'GreaterThanOrEqual' 'IPMatch' 'LessThan' 'LessThanOrEqual' 'RegEx' (required) |
selector | Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs. | string |
transforms | List of transforms. | String array containing any of: 'Lowercase' 'RemoveNulls' 'Trim' 'Uppercase' 'UrlDecode' 'UrlEncode' |
PolicySettings
Name | Description | Value |
---|---|---|
defaultCustomBlockResponseBody | If the action type is block, customer can override the response body. The body must be specified in base64 encoding. | string Constraints: Pattern = ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$ |
defaultCustomBlockResponseStatusCode | If the action type is block, this field defines the default customer overridable http response status code. | int |
defaultRedirectUrl | If action type is redirect, this field represents the default redirect URL for the client. | string |
enabledState | describes if the policy is in enabled state or disabled state | 'Disabled' 'Enabled' |
mode | Describes if it is in detection mode or prevention mode at policy level. | 'Detection' 'Prevention' |
RateLimitRule
Name | Description | Value |
---|---|---|
action | Describes what action to be applied when rule matches | 'Allow' 'Block' 'Log' 'Redirect' (required) |
enabledState | Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. | 'Disabled' 'Enabled' |
matchConditions | List of match conditions. | MatchCondition[] (required) |
name | Defines the name of the custom rule | string (required) |
priority | Defines in what order this rule be evaluated in the overall list of custom rules | int Constraints: Min value = 0 Max value = 1000 (required) |
rateLimitDurationInMinutes | Defines rate limit duration. Default is 1 minute. | int Constraints: Min value = 0 Max value = 60 (required) |
rateLimitThreshold | Defines rate limit threshold. | int Constraints: Min value = 0 (required) |
RateLimitRuleList
Name | Description | Value |
---|---|---|
rules | List of rules | RateLimitRule[] |
Sku
Name | Description | Value |
---|---|---|
name | Name of the pricing tier. | 'Custom_Verizon' 'Premium_AzureFrontDoor' 'Premium_Verizon' 'StandardPlus_955BandWidth_ChinaCdn' 'StandardPlus_AvgBandWidth_ChinaCdn' 'StandardPlus_ChinaCdn' 'Standard_955BandWidth_ChinaCdn' 'Standard_Akamai' 'Standard_AvgBandWidth_ChinaCdn' 'Standard_AzureFrontDoor' 'Standard_ChinaCdn' 'Standard_Microsoft' 'Standard_Verizon' |
TrackedResourceTags
Name | Description | Value |
---|
ARM template resource definition
The cdnWebApplicationFirewallPolicies resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Cdn/cdnWebApplicationFirewallPolicies resource, add the following JSON to your template.
{
"type": "Microsoft.Cdn/cdnWebApplicationFirewallPolicies",
"apiVersion": "2025-06-01",
"name": "string",
"etag": "string",
"location": "string",
"properties": {
"customRules": {
"rules": [
{
"action": "string",
"enabledState": "string",
"matchConditions": [
{
"matchValue": [ "string" ],
"matchVariable": "string",
"negateCondition": "bool",
"operator": "string",
"selector": "string",
"transforms": [ "string" ]
}
],
"name": "string",
"priority": "int"
}
]
},
"extendedProperties": {
"{customized property}": "string"
},
"managedRules": {
"managedRuleSets": [
{
"anomalyScore": "int",
"ruleGroupOverrides": [
{
"ruleGroupName": "string",
"rules": [
{
"action": "string",
"enabledState": "string",
"ruleId": "string"
}
]
}
],
"ruleSetType": "string",
"ruleSetVersion": "string"
}
]
},
"policySettings": {
"defaultCustomBlockResponseBody": "string",
"defaultCustomBlockResponseStatusCode": "int",
"defaultRedirectUrl": "string",
"enabledState": "string",
"mode": "string"
},
"rateLimitRules": {
"rules": [
{
"action": "string",
"enabledState": "string",
"matchConditions": [
{
"matchValue": [ "string" ],
"matchVariable": "string",
"negateCondition": "bool",
"operator": "string",
"selector": "string",
"transforms": [ "string" ]
}
],
"name": "string",
"priority": "int",
"rateLimitDurationInMinutes": "int",
"rateLimitThreshold": "int"
}
]
}
},
"sku": {
"name": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.Cdn/cdnWebApplicationFirewallPolicies
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2025-06-01' |
etag | Gets a unique read-only string that changes whenever the resource is updated. | string |
location | The geo-location where the resource lives | string (required) |
name | The resource name | string Constraints: Max length = 128 (required) |
properties | Properties of the web application firewall policy. | CdnWebApplicationFirewallPolicyProperties |
sku | The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. | Sku (required) |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.Cdn/cdnWebApplicationFirewallPolicies' |
CdnWebApplicationFirewallPolicyProperties
Name | Description | Value |
---|---|---|
customRules | Describes custom rules inside the policy. | CustomRuleList |
extendedProperties | Key-Value pair representing additional properties for Web Application Firewall policy. | CdnWebApplicationFirewallPolicyPropertiesExtendedProperties |
managedRules | Describes managed rules inside the policy. | ManagedRuleSetList |
policySettings | Describes policySettings for policy | PolicySettings |
rateLimitRules | Describes rate limit rules inside the policy. | RateLimitRuleList |
CdnWebApplicationFirewallPolicyPropertiesExtendedProperties
Name | Description | Value |
---|
CustomRule
Name | Description | Value |
---|---|---|
action | Describes what action to be applied when rule matches | 'Allow' 'Block' 'Log' 'Redirect' (required) |
enabledState | Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. | 'Disabled' 'Enabled' |
matchConditions | List of match conditions. | MatchCondition[] (required) |
name | Defines the name of the custom rule | string (required) |
priority | Defines in what order this rule be evaluated in the overall list of custom rules | int Constraints: Min value = 0 Max value = 1000 (required) |
CustomRuleList
Name | Description | Value |
---|---|---|
rules | List of rules | CustomRule[] |
ManagedRuleGroupOverride
Name | Description | Value |
---|---|---|
ruleGroupName | Describes the managed rule group within the rule set to override | string (required) |
rules | List of rules that will be enabled. If none specified, all rules in the group will be disabled. | ManagedRuleOverride[] |
ManagedRuleOverride
Name | Description | Value |
---|---|---|
action | Describes the override action to be applied when rule matches. | 'Allow' 'Block' 'Log' 'Redirect' |
enabledState | Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. | 'Disabled' 'Enabled' |
ruleId | Identifier for the managed rule. | string (required) |
ManagedRuleSet
Name | Description | Value |
---|---|---|
anomalyScore | Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests. | int Constraints: Min value = 0 Max value = 20 |
ruleGroupOverrides | Defines the rule overrides to apply to the rule set. | ManagedRuleGroupOverride[] |
ruleSetType | Defines the rule set type to use. | string (required) |
ruleSetVersion | Defines the version of the rule set to use. | string (required) |
ManagedRuleSetList
Name | Description | Value |
---|---|---|
managedRuleSets | List of rule sets. | ManagedRuleSet[] |
MatchCondition
Name | Description | Value |
---|---|---|
matchValue | List of possible match values. | string[] (required) |
matchVariable | Match variable to compare against. | 'Cookies' 'PostArgs' 'QueryString' 'RemoteAddr' 'RequestBody' 'RequestHeader' 'RequestMethod' 'RequestUri' 'SocketAddr' (required) |
negateCondition | Describes if the result of this condition should be negated. | bool |
operator | Describes operator to be matched | 'Any' 'BeginsWith' 'Contains' 'EndsWith' 'Equal' 'GeoMatch' 'GreaterThan' 'GreaterThanOrEqual' 'IPMatch' 'LessThan' 'LessThanOrEqual' 'RegEx' (required) |
selector | Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs. | string |
transforms | List of transforms. | String array containing any of: 'Lowercase' 'RemoveNulls' 'Trim' 'Uppercase' 'UrlDecode' 'UrlEncode' |
PolicySettings
Name | Description | Value |
---|---|---|
defaultCustomBlockResponseBody | If the action type is block, customer can override the response body. The body must be specified in base64 encoding. | string Constraints: Pattern = ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$ |
defaultCustomBlockResponseStatusCode | If the action type is block, this field defines the default customer overridable http response status code. | int |
defaultRedirectUrl | If action type is redirect, this field represents the default redirect URL for the client. | string |
enabledState | describes if the policy is in enabled state or disabled state | 'Disabled' 'Enabled' |
mode | Describes if it is in detection mode or prevention mode at policy level. | 'Detection' 'Prevention' |
RateLimitRule
Name | Description | Value |
---|---|---|
action | Describes what action to be applied when rule matches | 'Allow' 'Block' 'Log' 'Redirect' (required) |
enabledState | Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. | 'Disabled' 'Enabled' |
matchConditions | List of match conditions. | MatchCondition[] (required) |
name | Defines the name of the custom rule | string (required) |
priority | Defines in what order this rule be evaluated in the overall list of custom rules | int Constraints: Min value = 0 Max value = 1000 (required) |
rateLimitDurationInMinutes | Defines rate limit duration. Default is 1 minute. | int Constraints: Min value = 0 Max value = 60 (required) |
rateLimitThreshold | Defines rate limit threshold. | int Constraints: Min value = 0 (required) |
RateLimitRuleList
Name | Description | Value |
---|---|---|
rules | List of rules | RateLimitRule[] |
Sku
Name | Description | Value |
---|---|---|
name | Name of the pricing tier. | 'Custom_Verizon' 'Premium_AzureFrontDoor' 'Premium_Verizon' 'StandardPlus_955BandWidth_ChinaCdn' 'StandardPlus_AvgBandWidth_ChinaCdn' 'StandardPlus_ChinaCdn' 'Standard_955BandWidth_ChinaCdn' 'Standard_Akamai' 'Standard_AvgBandWidth_ChinaCdn' 'Standard_AzureFrontDoor' 'Standard_ChinaCdn' 'Standard_Microsoft' 'Standard_Verizon' |
TrackedResourceTags
Name | Description | Value |
---|
Usage Examples
Azure Quickstart Templates
The following Azure Quickstart templates deploy this resource type.
Template | Description |
---|---|
Apply a WAF Policy for the OWASP top 10 to a CDN Endpoint |
This template creates a CDN Profile and a CDN Endpoint with a user specified origin and all of our most commonly used settings on CDN. This template also links a CDN WAF Policy to the Endpoint which applies the managed rule set DefaultRuleSet_1.0. |
Apply a WAF Policy with custom rules to a CDN Endpoint |
This template creates a CDN Profile and a CDN Endpoint with a user specified origin and all of our most commonly used settings on CDN. This template also links a CDN WAF Policy to the Endpoint which applies example custom rules for blocking and redirecting requests based on geo-location, ip address, and SESSIONID header. |
Apply a WAF Policy with rate limit rules to a CDN Endpoint |
This template creates a CDN Profile and a CDN Endpoint with a user specified origin and all of our most commonly used settings on CDN. This template also links a CDN WAF Policy to the Endpoint which applies example rate limit rules for blocking and redirecting rate-limited requests. |
Terraform (AzAPI provider) resource definition
The cdnWebApplicationFirewallPolicies resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Cdn/cdnWebApplicationFirewallPolicies resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Cdn/cdnWebApplicationFirewallPolicies@2025-06-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
etag = "string"
properties = {
customRules = {
rules = [
{
action = "string"
enabledState = "string"
matchConditions = [
{
matchValue = [
"string"
]
matchVariable = "string"
negateCondition = bool
operator = "string"
selector = "string"
transforms = [
"string"
]
}
]
name = "string"
priority = int
}
]
}
extendedProperties = {
{customized property} = "string"
}
managedRules = {
managedRuleSets = [
{
anomalyScore = int
ruleGroupOverrides = [
{
ruleGroupName = "string"
rules = [
{
action = "string"
enabledState = "string"
ruleId = "string"
}
]
}
]
ruleSetType = "string"
ruleSetVersion = "string"
}
]
}
policySettings = {
defaultCustomBlockResponseBody = "string"
defaultCustomBlockResponseStatusCode = int
defaultRedirectUrl = "string"
enabledState = "string"
mode = "string"
}
rateLimitRules = {
rules = [
{
action = "string"
enabledState = "string"
matchConditions = [
{
matchValue = [
"string"
]
matchVariable = "string"
negateCondition = bool
operator = "string"
selector = "string"
transforms = [
"string"
]
}
]
name = "string"
priority = int
rateLimitDurationInMinutes = int
rateLimitThreshold = int
}
]
}
}
sku = {
name = "string"
}
}
}
Property Values
Microsoft.Cdn/cdnWebApplicationFirewallPolicies
Name | Description | Value |
---|---|---|
etag | Gets a unique read-only string that changes whenever the resource is updated. | string |
location | The geo-location where the resource lives | string (required) |
name | The resource name | string Constraints: Max length = 128 (required) |
properties | Properties of the web application firewall policy. | CdnWebApplicationFirewallPolicyProperties |
sku | The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. | Sku (required) |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.Cdn/cdnWebApplicationFirewallPolicies@2025-06-01" |
CdnWebApplicationFirewallPolicyProperties
Name | Description | Value |
---|---|---|
customRules | Describes custom rules inside the policy. | CustomRuleList |
extendedProperties | Key-Value pair representing additional properties for Web Application Firewall policy. | CdnWebApplicationFirewallPolicyPropertiesExtendedProperties |
managedRules | Describes managed rules inside the policy. | ManagedRuleSetList |
policySettings | Describes policySettings for policy | PolicySettings |
rateLimitRules | Describes rate limit rules inside the policy. | RateLimitRuleList |
CdnWebApplicationFirewallPolicyPropertiesExtendedProperties
Name | Description | Value |
---|
CustomRule
Name | Description | Value |
---|---|---|
action | Describes what action to be applied when rule matches | 'Allow' 'Block' 'Log' 'Redirect' (required) |
enabledState | Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. | 'Disabled' 'Enabled' |
matchConditions | List of match conditions. | MatchCondition[] (required) |
name | Defines the name of the custom rule | string (required) |
priority | Defines in what order this rule be evaluated in the overall list of custom rules | int Constraints: Min value = 0 Max value = 1000 (required) |
CustomRuleList
Name | Description | Value |
---|---|---|
rules | List of rules | CustomRule[] |
ManagedRuleGroupOverride
Name | Description | Value |
---|---|---|
ruleGroupName | Describes the managed rule group within the rule set to override | string (required) |
rules | List of rules that will be enabled. If none specified, all rules in the group will be disabled. | ManagedRuleOverride[] |
ManagedRuleOverride
Name | Description | Value |
---|---|---|
action | Describes the override action to be applied when rule matches. | 'Allow' 'Block' 'Log' 'Redirect' |
enabledState | Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. | 'Disabled' 'Enabled' |
ruleId | Identifier for the managed rule. | string (required) |
ManagedRuleSet
Name | Description | Value |
---|---|---|
anomalyScore | Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests. | int Constraints: Min value = 0 Max value = 20 |
ruleGroupOverrides | Defines the rule overrides to apply to the rule set. | ManagedRuleGroupOverride[] |
ruleSetType | Defines the rule set type to use. | string (required) |
ruleSetVersion | Defines the version of the rule set to use. | string (required) |
ManagedRuleSetList
Name | Description | Value |
---|---|---|
managedRuleSets | List of rule sets. | ManagedRuleSet[] |
MatchCondition
Name | Description | Value |
---|---|---|
matchValue | List of possible match values. | string[] (required) |
matchVariable | Match variable to compare against. | 'Cookies' 'PostArgs' 'QueryString' 'RemoteAddr' 'RequestBody' 'RequestHeader' 'RequestMethod' 'RequestUri' 'SocketAddr' (required) |
negateCondition | Describes if the result of this condition should be negated. | bool |
operator | Describes operator to be matched | 'Any' 'BeginsWith' 'Contains' 'EndsWith' 'Equal' 'GeoMatch' 'GreaterThan' 'GreaterThanOrEqual' 'IPMatch' 'LessThan' 'LessThanOrEqual' 'RegEx' (required) |
selector | Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs. | string |
transforms | List of transforms. | String array containing any of: 'Lowercase' 'RemoveNulls' 'Trim' 'Uppercase' 'UrlDecode' 'UrlEncode' |
PolicySettings
Name | Description | Value |
---|---|---|
defaultCustomBlockResponseBody | If the action type is block, customer can override the response body. The body must be specified in base64 encoding. | string Constraints: Pattern = ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$ |
defaultCustomBlockResponseStatusCode | If the action type is block, this field defines the default customer overridable http response status code. | int |
defaultRedirectUrl | If action type is redirect, this field represents the default redirect URL for the client. | string |
enabledState | describes if the policy is in enabled state or disabled state | 'Disabled' 'Enabled' |
mode | Describes if it is in detection mode or prevention mode at policy level. | 'Detection' 'Prevention' |
RateLimitRule
Name | Description | Value |
---|---|---|
action | Describes what action to be applied when rule matches | 'Allow' 'Block' 'Log' 'Redirect' (required) |
enabledState | Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. | 'Disabled' 'Enabled' |
matchConditions | List of match conditions. | MatchCondition[] (required) |
name | Defines the name of the custom rule | string (required) |
priority | Defines in what order this rule be evaluated in the overall list of custom rules | int Constraints: Min value = 0 Max value = 1000 (required) |
rateLimitDurationInMinutes | Defines rate limit duration. Default is 1 minute. | int Constraints: Min value = 0 Max value = 60 (required) |
rateLimitThreshold | Defines rate limit threshold. | int Constraints: Min value = 0 (required) |
RateLimitRuleList
Name | Description | Value |
---|---|---|
rules | List of rules | RateLimitRule[] |
Sku
Name | Description | Value |
---|---|---|
name | Name of the pricing tier. | 'Custom_Verizon' 'Premium_AzureFrontDoor' 'Premium_Verizon' 'StandardPlus_955BandWidth_ChinaCdn' 'StandardPlus_AvgBandWidth_ChinaCdn' 'StandardPlus_ChinaCdn' 'Standard_955BandWidth_ChinaCdn' 'Standard_Akamai' 'Standard_AvgBandWidth_ChinaCdn' 'Standard_AzureFrontDoor' 'Standard_ChinaCdn' 'Standard_Microsoft' 'Standard_Verizon' |
TrackedResourceTags
Name | Description | Value |
---|