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

MatchVariable Class

Define match variables.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.network._serialization.Model
MatchVariable

Constructor

MatchVariable(*, variable_name: str | _models.WebApplicationFirewallMatchVariable, selector: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
variable_name

Match Variable. Required. Known values are: "RemoteAddr", "RequestMethod", "QueryString", "PostArgs", "RequestUri", "RequestHeaders", "RequestBody", and "RequestCookies".

selector
str

The selector of match variable.

Variables

Name Description
variable_name

Match Variable. Required. Known values are: "RemoteAddr", "RequestMethod", "QueryString", "PostArgs", "RequestUri", "RequestHeaders", "RequestBody", and "RequestCookies".

selector
str

The selector of match variable.