FrontdoorFirewallPolicyCustomRuleArgs

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

Constructors

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

Properties

Link copied to clipboard
val action: Output<String>

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: Output<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
val name: Output<String>

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: Output<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
val rateLimitDurationInMinutes: Output<Int>? = null

The rate limit duration in minutes. Defaults to 1.

Link copied to clipboard
val rateLimitThreshold: Output<Int>? = null

The rate limit threshold. Defaults to 10.

Link copied to clipboard
val type: Output<String>

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

Functions

Link copied to clipboard
open override fun toJava(): FrontdoorFirewallPolicyCustomRuleArgs