WebApplicationFirewallPolicy Class

Defines web application firewall policy.

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

Inheritance
azure.mgmt.network.models._models_py3.Resource
WebApplicationFirewallPolicy

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
str

Resource ID.

location
str

Resource location.

tags

Resource tags.

policy_settings

The PolicySettings for policy.

custom_rules

The custom rules inside the policy.

managed_rules

Describes the managedRules structure.

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

location
str

Resource location.

tags

Resource tags.

etag
str

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: "Succeeded", "Updating", "Deleting", and "Failed".

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.