WebApplicationFirewallCustomRule Class

Defines contents of a web application rule.

Variables are only populated by the server, and will be ignored when sending a request.

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

Inheritance
WebApplicationFirewallCustomRule

Constructor

WebApplicationFirewallCustomRule(*, priority: int, rule_type: typing.Union[str, _ForwardRef('WebApplicationFirewallRuleType')], match_conditions: typing.List[_ForwardRef('MatchCondition')], action: typing.Union[str, _ForwardRef('WebApplicationFirewallAction')], name: typing.Union[str, NoneType] = None, **kwargs)

Parameters

name
str

The name of the resource that is unique within a policy. This name can be used to access the resource.

priority
int

Required. Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.

rule_type
str or WebApplicationFirewallRuleType

Required. Describes type of rule. Possible values include: "MatchRule", "Invalid".

match_conditions
list[MatchCondition]

Required. List of match conditions.

action
str or WebApplicationFirewallAction

Required. Type of Actions. Possible values include: "Allow", "Block", "Log".

Variables

etag
str

A unique read-only string that changes whenever the resource is updated.