Share via


MatchCondition Class

Define match conditions.

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

Constructor

MatchCondition(*, match_variables: list['_models.MatchVariable'], operator: str | _models.WebApplicationFirewallOperator, match_values: list[str], negation_conditon: bool | None = None, transforms: list[typing.Union[str, ForwardRef('_models.WebApplicationFirewallTransform')]] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
match_variables

List of match variables. Required.

operator

The operator to be matched. Required. Known values are: "IPMatch", "Equal", "Contains", "LessThan", "GreaterThan", "LessThanOrEqual", "GreaterThanOrEqual", "BeginsWith", "EndsWith", "Regex", "GeoMatch", and "Any".

negation_conditon

Whether this is negate condition or not.

Default value: None
match_values

Match value. Required.

transforms

List of transforms.

Default value: None

Variables

Name Description
match_variables

List of match variables. Required.

operator

The operator to be matched. Required. Known values are: "IPMatch", "Equal", "Contains", "LessThan", "GreaterThan", "LessThanOrEqual", "GreaterThanOrEqual", "BeginsWith", "EndsWith", "Regex", "GeoMatch", and "Any".

negation_conditon

Whether this is negate condition or not.

match_values

Match value. Required.

transforms

List of transforms.