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 server.
Constructor
WebApplicationFirewallCustomRule(*, priority: int, rule_type: str | _models.WebApplicationFirewallRuleType, match_conditions: List[_models.MatchCondition], action: str | _models.WebApplicationFirewallAction, name: str | None = None, state: str | _models.WebApplicationFirewallState | None = None, rate_limit_duration: str | _models.ApplicationGatewayFirewallRateLimitDuration | None = None, rate_limit_threshold: int | None = None, group_by_user_session: List[_models.GroupByUserSession] | None = None, **kwargs: Any)Keyword-Only Parameters
| Name | Description | 
|---|---|
| name | The name of the resource that is unique within a policy. This name can be used to access the resource. Default value: None | 
| priority | Priority of the rule. Rules with a lower value will be evaluated before rules with a higher value. Required. | 
| state | Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. Known values are: "Disabled" and "Enabled". Default value: None | 
| rate_limit_duration | Duration over which Rate Limit policy will be applied. Applies only when ruleType is RateLimitRule. Known values are: "OneMin" and "FiveMins". Default value: None | 
| rate_limit_threshold | Rate Limit threshold to apply in case ruleType is RateLimitRule. Must be greater than or equal to 1. Default value: None | 
| rule_type | The rule type. Required. Known values are: "MatchRule", "RateLimitRule", and "Invalid". | 
| match_conditions | List of match conditions. Required. | 
| group_by_user_session | List of user session identifier group by clauses. Default value: None | 
| action | Type of Actions. Required. Known values are: "Allow", "Block", "Log", and "JSChallenge". | 
Variables
| Name | Description | 
|---|---|
| name | The name of the resource that is unique within a policy. This name can be used to access the resource. | 
| etag | A unique read-only string that changes whenever the resource is updated. | 
| priority | Priority of the rule. Rules with a lower value will be evaluated before rules with a higher value. Required. | 
| state | Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. Known values are: "Disabled" and "Enabled". | 
| rate_limit_duration | Duration over which Rate Limit policy will be applied. Applies only when ruleType is RateLimitRule. Known values are: "OneMin" and "FiveMins". | 
| rate_limit_threshold | Rate Limit threshold to apply in case ruleType is RateLimitRule. Must be greater than or equal to 1. | 
| rule_type | The rule type. Required. Known values are: "MatchRule", "RateLimitRule", and "Invalid". | 
| match_conditions | List of match conditions. Required. | 
| group_by_user_session | List of user session identifier group by clauses. | 
| action | Type of Actions. Required. Known values are: "Allow", "Block", "Log", and "JSChallenge". |