WebApplicationFirewallPolicy Class
Defines web application firewall policy.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
WebApplicationFirewallPolicy(*, id: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, policy_settings: _models.PolicySettings | None = None, custom_rules: List[_models.WebApplicationFirewallCustomRule] | None = None, managed_rules: _models.ManagedRulesDefinition | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
id
|
Resource ID. Default value: None
|
|
location
|
Resource location. Default value: None
|
|
tags
|
Resource tags. Default value: None
|
|
policy_settings
|
The PolicySettings for policy. Default value: None
|
|
custom_rules
|
The custom rules inside the policy. Default value: None
|
|
managed_rules
|
Describes the managedRules structure. Default value: None
|
Variables
| Name | Description |
|---|---|
|
id
|
Resource ID. |
|
name
|
Resource name. |
|
type
|
Resource type. |
|
location
|
Resource location. |
|
tags
|
Resource tags. |
|
etag
|
A unique read-only string that changes whenever the resource is updated. |
|
policy_settings
|
The PolicySettings for policy. |
|
custom_rules
|
The custom rules inside the policy. |
|
application_gateways
|
A collection of references to application gateways. |
|
provisioning_state
|
The provisioning state of the web application firewall policy resource. Known values are: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting". |
|
resource_state
|
Resource status of the policy. Known values are: "Creating", "Enabling", "Enabled", "Disabling", "Disabled", and "Deleting". |
|
managed_rules
|
Describes the managedRules structure. |
|
http_listeners
|
A collection of references to application gateway http listeners. |
|
path_based_rules
|
A collection of references to application gateway path rules. |
|
application_gateway_for_containers
|
A collection of references to application gateway for containers. |