FrontdoorFirewallPolicyCustomRule

data class FrontdoorFirewallPolicyCustomRule(val action: String, val enabled: Boolean? = null, val matchConditions: List<FrontdoorFirewallPolicyCustomRuleMatchCondition>? = null, val name: String, val priority: Int? = null, val rateLimitDurationInMinutes: Int? = null, val rateLimitThreshold: Int? = null, val type: String)

Constructors

Link copied to clipboard
constructor(action: String, enabled: Boolean? = null, matchConditions: List<FrontdoorFirewallPolicyCustomRuleMatchCondition>? = null, name: String, priority: Int? = null, rateLimitDurationInMinutes: Int? = null, rateLimitThreshold: Int? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The action to perform when the rule is matched. Possible values are Allow, Block, Log, Redirect, or JSChallenge. !>Note: Setting the action field to JSChallenge is currently in PREVIEW. Please see the Supplemental Terms of Use for Microsoft Azure Previews for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.

Link copied to clipboard
val enabled: Boolean? = null

Is the rule is enabled or disabled? Defaults to true.

Link copied to clipboard

One or more match_condition block defined below. Can support up to 10 match_condition blocks.

Link copied to clipboard

Gets name of the resource that is unique within a policy. This name can be used to access the resource.

Link copied to clipboard
val priority: Int? = null

The priority of the rule. Rules with a lower value will be evaluated before rules with a higher value. Defaults to 1.

Link copied to clipboard

The rate limit duration in minutes. Defaults to 1.

Link copied to clipboard
val rateLimitThreshold: Int? = null

The rate limit threshold. Defaults to 10.

Link copied to clipboard

The type of rule. Possible values are MatchRule or RateLimitRule.