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

WebApplicationFirewallCustomRuleOutput interface

定义 Web 应用程序规则的内容。

属性

action

作的类型。

etag

一个唯一的只读字符串,每当更新资源时更改。

matchConditions

匹配条件列表。

name

策略中唯一的资源的名称。 此名称可用于访问资源。

priority

规则的优先级。 在具有较高值的规则之前,将评估具有较低值的规则。

ruleType

规则类型。

属性详细信息

action

作的类型。

action: "Allow" | "Block" | "Log"

属性值

"Allow" | "Block" | "Log"

etag

一个唯一的只读字符串,每当更新资源时更改。

etag?: string

属性值

string

matchConditions

匹配条件列表。

matchConditions: MatchConditionOutput[]

属性值

name

策略中唯一的资源的名称。 此名称可用于访问资源。

name?: string

属性值

string

priority

规则的优先级。 在具有较高值的规则之前,将评估具有较低值的规则。

priority: number

属性值

number

ruleType

规则类型。

ruleType: "MatchRule" | "Invalid"

属性值

"MatchRule" | "Invalid"