你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RateLimitRule interface

定义可以包含在 waf 策略中的速率限制规则

扩展

属性

rateLimitDurationInMinutes

定义速率限制持续时间。 默认值为 1 分钟。

rateLimitThreshold

定义速率限制阈值。

继承属性

action

描述规则匹配时要应用的作

enabledState

描述自定义规则是否处于启用或禁用状态。 如果未指定,则默认为 Enabled。

matchConditions

匹配条件列表。

name

定义自定义规则的名称

priority

定义此规则在自定义规则的总体列表中评估的顺序

属性详细信息

rateLimitDurationInMinutes

定义速率限制持续时间。 默认值为 1 分钟。

rateLimitDurationInMinutes: number

属性值

number

rateLimitThreshold

定义速率限制阈值。

rateLimitThreshold: number

属性值

number

继承属性详细信息

action

描述规则匹配时要应用的作

action: string

属性值

string

继承自 customRule.action

enabledState

描述自定义规则是否处于启用或禁用状态。 如果未指定,则默认为 Enabled。

enabledState?: string

属性值

string

继承自CustomRule.enabledState

matchConditions

匹配条件列表。

matchConditions: MatchCondition[]

属性值

继承自customRule.matchConditions

name

定义自定义规则的名称

name: string

属性值

string

继承自 CustomRule.name

priority

定义此规则在自定义规则的总体列表中评估的顺序

priority: number

属性值

number

继承自 customRule.priority