CdnWebApplicationFirewallPolicy Class

Defines web application firewall policy for Azure CDN.

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.

Inheritance
azure.mgmt.cdn.models._models_py3.TrackedResource
CdnWebApplicationFirewallPolicy

Constructor

CdnWebApplicationFirewallPolicy(*, location: str, sku: _models.Sku, tags: Dict[str, str] | None = None, etag: str | None = None, policy_settings: _models.PolicySettings | None = None, rate_limit_rules: _models.RateLimitRuleList | None = None, custom_rules: _models.CustomRuleList | None = None, managed_rules: _models.ManagedRuleSetList | None = None, extended_properties: Dict[str, str] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
location
str

Resource location. Required.

tags

Resource tags.

etag
str

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

sku
Sku

The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. Required.

policy_settings

Describes policySettings for policy.

rate_limit_rules

Describes rate limit rules inside the policy.

custom_rules

Describes custom rules inside the policy.

managed_rules

Describes managed rules inside the policy.

extended_properties

Key-Value pair representing additional properties for Web Application Firewall policy.

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

system_data

Read only system data.

location
str

Resource location. Required.

tags

Resource tags.

etag
str

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

sku
Sku

The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. Required.

policy_settings

Describes policySettings for policy.

rate_limit_rules

Describes rate limit rules inside the policy.

custom_rules

Describes custom rules inside the policy.

managed_rules

Describes managed rules inside the policy.

endpoint_links

Describes Azure CDN endpoints associated with this Web Application Firewall policy.

extended_properties

Key-Value pair representing additional properties for Web Application Firewall policy.

provisioning_state

Provisioning state of the WebApplicationFirewallPolicy. Known values are: "Creating", "Succeeded", and "Failed".

resource_state

Resource status of the policy. Known values are: "Creating", "Enabling", "Enabled", "Disabling", "Disabled", and "Deleting".