Policy Custom Rule Args
data class PolicyCustomRuleArgs(val action: Output<String>, val enabled: Output<Boolean>? = null, val groupRateLimitBy: Output<String>? = null, val matchConditions: Output<List<PolicyCustomRuleMatchConditionArgs>>, val name: Output<String>? = null, val priority: Output<Int>, val rateLimitDuration: Output<String>? = null, val rateLimitThreshold: Output<Int>? = null, val ruleType: Output<String>) : ConvertibleToJava<PolicyCustomRuleArgs>
Constructors
Link copied to clipboard
constructor(action: Output<String>, enabled: Output<Boolean>? = null, groupRateLimitBy: Output<String>? = null, matchConditions: Output<List<PolicyCustomRuleMatchConditionArgs>>, name: Output<String>? = null, priority: Output<Int>, rateLimitDuration: Output<String>? = null, rateLimitThreshold: Output<Int>? = null, ruleType: Output<String>)
Properties
Link copied to clipboard
Specifies what grouping the rate limit will count requests by. Possible values are GeoLocation
, ClientAddr
and None
.
Link copied to clipboard
One or more match_conditions
blocks as defined below.
Link copied to clipboard
Specifies the duration at which the rate limit policy will be applied. Should be used with RateLimitRule
rule type. Possible values are FiveMins
and OneMin
.
Link copied to clipboard
Specifies the threshold value for the rate limit policy. Must be greater than or equal to 1 if provided.