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.v2020_03_01.models._models_py3.Resource
WebApplicationFirewallPolicy

Constructor

WebApplicationFirewallPolicy(*, id: typing.Union[str, NoneType] = None, location: typing.Union[str, NoneType] = None, tags: typing.Union[typing.Dict[str, str], NoneType] = None, policy_settings: typing.Union[_ForwardRef('PolicySettings'), NoneType] = None, custom_rules: typing.Union[typing.List[_ForwardRef('WebApplicationFirewallCustomRule')], NoneType] = None, managed_rules: typing.Union[_ForwardRef('ManagedRulesDefinition'), NoneType] = None, **kwargs)

Parameters

id
str

Resource ID.

location
str

Resource location.

tags
dict[str, str]

A set of tags. Resource tags.

policy_settings
PolicySettings

The PolicySettings for policy.

custom_rules
list[WebApplicationFirewallCustomRule]

The custom rules inside the policy.

managed_rules
ManagedRulesDefinition

Describes the managedRules structure.

Variables

name
str

Resource name.

type
str

Resource type.

etag
str

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

application_gateways
list[ApplicationGateway]

A collection of references to application gateways.

provisioning_state
str or ProvisioningState

The provisioning state of the web application firewall policy resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed".

resource_state
str or WebApplicationFirewallPolicyResourceState

Resource status of the policy. Possible values include: "Creating", "Enabling", "Enabled", "Disabling", "Disabled", "Deleting".

http_listeners
list[SubResource]

A collection of references to application gateway http listeners.

path_based_rules
list[SubResource]

A collection of references to application gateway path rules.