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 Azure.

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

Constructor

CdnWebApplicationFirewallPolicy(*, location: str, sku: azure.mgmt.cdn.models._models_py3.Sku, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, policy_settings: Optional[azure.mgmt.cdn.models._models_py3.PolicySettings] = None, rate_limit_rules: Optional[azure.mgmt.cdn.models._models_py3.RateLimitRuleList] = None, custom_rules: Optional[azure.mgmt.cdn.models._models_py3.CustomRuleList] = None, managed_rules: Optional[azure.mgmt.cdn.models._models_py3.ManagedRuleSetList] = None, **kwargs)

Variables

id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

system_data
SystemData

Read only system data.

location
str

Required. Resource location.

tags
dict[str, str]

A set of tags. Resource tags.

etag
str

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

sku
Sku

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

policy_settings
PolicySettings

Describes policySettings for policy.

rate_limit_rules
RateLimitRuleList

Describes rate limit rules inside the policy.

custom_rules
CustomRuleList

Describes custom rules inside the policy.

managed_rules
ManagedRuleSetList

Describes managed rules inside the policy.

endpoint_links
list[CdnEndpoint]

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

provisioning_state
str or ProvisioningState

Provisioning state of the WebApplicationFirewallPolicy. Possible values include: "Creating", "Succeeded", "Failed".

resource_state
str or PolicyResourceState

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