MatchCondition Class

Define match conditions.

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

Inheritance
MatchCondition

Constructor

MatchCondition(*, match_variables: typing.List[_ForwardRef('MatchVariable')], operator: typing.Union[str, _ForwardRef('WebApplicationFirewallOperator')], match_values: typing.List[str], negation_conditon: typing.Union[bool, NoneType] = None, transforms: typing.Union[typing.List[typing.Union[str, _ForwardRef('WebApplicationFirewallTransform')]], NoneType] = None, **kwargs)

Parameters

match_variables
list[MatchVariable]

Required. List of match variables.

operator
str or WebApplicationFirewallOperator

Required. Describes operator to be matched. Possible values include: "IPMatch", "Equal", "Contains", "LessThan", "GreaterThan", "LessThanOrEqual", "GreaterThanOrEqual", "BeginsWith", "EndsWith", "Regex".

negation_conditon
bool

Describes if this is negate condition or not.

match_values
list[str]

Required. Match value.

transforms
list[str or WebApplicationFirewallTransform]

List of transforms.