CdnWebApplicationFirewallPolicyProperties Class

Definition

Defines CDN web application firewall policy properties.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.CdnWebApplicationFirewallPolicyPropertiesTypeConverter))]
public class CdnWebApplicationFirewallPolicyProperties : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnWebApplicationFirewallPolicyProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.CdnWebApplicationFirewallPolicyPropertiesTypeConverter))>]
type CdnWebApplicationFirewallPolicyProperties = class
    interface ICdnWebApplicationFirewallPolicyProperties
    interface IJsonSerializable
Public Class CdnWebApplicationFirewallPolicyProperties
Implements ICdnWebApplicationFirewallPolicyProperties
Inheritance
CdnWebApplicationFirewallPolicyProperties
Attributes
Implements

Constructors

Name Description
CdnWebApplicationFirewallPolicyProperties()

Creates an new CdnWebApplicationFirewallPolicyProperties instance.

Properties

Name Description
CustomRuleRules

List of rules

EndpointLink

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

ExtendedProperty

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

ManagedRuleSet

List of rule sets.

PolicySettingDefaultCustomBlockResponseBody

If the action type is block, customer can override the response body. The body must be specified in base64 encoding.

PolicySettingDefaultCustomBlockResponseStatusCode

If the action type is block, this field defines the default customer overridable http response status code.

PolicySettingDefaultRedirectUrl

If action type is redirect, this field represents the default redirect URL for the client.

PolicySettingEnabledState

describes if the policy is in enabled state or disabled state

PolicySettingMode

Describes if it is in detection mode or prevention mode at policy level.

ProvisioningState

Provisioning state of the WebApplicationFirewallPolicy.

RateLimitRuleRules

List of rules

ResourceState

Resource status of the policy.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CdnWebApplicationFirewallPolicyProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CdnWebApplicationFirewallPolicyProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnWebApplicationFirewallPolicyProperties.

FromJsonString(String)

Creates a new instance of CdnWebApplicationFirewallPolicyProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CdnWebApplicationFirewallPolicyProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to