MatchCondition Class
Define match conditions.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
MatchCondition
Constructor
MatchCondition(*, match_variable: Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.WafMatchVariable], operator: Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.Operator], match_value: List[str], selector: Optional[str] = None, negate_condition: Optional[bool] = None, transforms: Optional[List[Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.TransformType]]] = None, **kwargs)
Variables
- match_variable
- str or WafMatchVariable
Required. Match variable to compare against. Possible values include: "RemoteAddr", "SocketAddr", "RequestMethod", "RequestHeader", "RequestUri", "QueryString", "RequestBody", "Cookies", "PostArgs".
- selector
- str
Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs.
Required. Describes operator to be matched. Possible values include: "Any", "IPMatch", "GeoMatch", "Equal", "Contains", "LessThan", "GreaterThan", "LessThanOrEqual", "GreaterThanOrEqual", "BeginsWith", "EndsWith", "RegEx".
- negate_condition
- bool
Describes if the result of this condition should be negated.
- transforms
- list[str or TransformType]
List of transforms.
Feedback
Submit and view feedback for