ApplicationGatewayFirewallRule Class
A web application firewall rule.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.network._serialization.ModelApplicationGatewayFirewallRule
Constructor
ApplicationGatewayFirewallRule(*, rule_id: int, rule_id_string: str | None = None, state: str | _models.ApplicationGatewayWafRuleStateTypes | None = None, action: str | _models.ApplicationGatewayWafRuleActionTypes | None = None, sensitivity: str | _models.ApplicationGatewayWafRuleSensitivityTypes | None = None, description: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
rule_id
|
The identifier of the web application firewall rule. Required. |
rule_id_string
|
The string representation of the web application firewall rule identifier. |
state
|
The string representation of the web application firewall rule state. Known values are: "Enabled" and "Disabled". |
action
|
The string representation of the web application firewall rule action. Known values are: "None", "AnomalyScoring", "Allow", "Block", and "Log". |
sensitivity
|
The string representation of the web application firewall rule sensitivity. Known values are: "None", "Low", "Medium", and "High". |
description
|
The description of the web application firewall rule. |
Variables
Name | Description |
---|---|
rule_id
|
The identifier of the web application firewall rule. Required. |
rule_id_string
|
The string representation of the web application firewall rule identifier. |
state
|
The string representation of the web application firewall rule state. Known values are: "Enabled" and "Disabled". |
action
|
The string representation of the web application firewall rule action. Known values are: "None", "AnomalyScoring", "Allow", "Block", and "Log". |
sensitivity
|
The string representation of the web application firewall rule sensitivity. Known values are: "None", "Low", "Medium", and "High". |
description
|
The description of the web application firewall rule. |
Azure SDK for Python