Security Policy Rule Rate Limit Options
data class SecurityPolicyRuleRateLimitOptions(val banDurationSec: Int? = null, val banThreshold: SecurityPolicyRuleRateLimitOptionsBanThreshold? = null, val conformAction: String, val enforceOnKey: String? = null, val enforceOnKeyConfigs: List<SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig>? = null, val enforceOnKeyName: String? = null, val exceedAction: String, val exceedRedirectOptions: SecurityPolicyRuleRateLimitOptionsExceedRedirectOptions? = null, val rateLimitThreshold: SecurityPolicyRuleRateLimitOptionsRateLimitThreshold)
Constructors
Link copied to clipboard
fun SecurityPolicyRuleRateLimitOptions(banDurationSec: Int? = null, banThreshold: SecurityPolicyRuleRateLimitOptionsBanThreshold? = null, conformAction: String, enforceOnKey: String? = null, enforceOnKeyConfigs: List<SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig>? = null, enforceOnKeyName: String? = null, exceedAction: String, exceedRedirectOptions: SecurityPolicyRuleRateLimitOptionsExceedRedirectOptions? = null, rateLimitThreshold: SecurityPolicyRuleRateLimitOptionsRateLimitThreshold)
Types
Properties
Link copied to clipboard
) If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced. You can specify up to 3 enforce_on_key_configs. If enforce_on_key_configs
is specified, enforce_on_key must be set to an empty string. Structure is documented below. Note: To avoid the conflict between enforce_on_key
and enforce_on_key_configs
, the field enforce_on_key
needs to be set to an empty string.