PolicySettingsFrontDoor Class

Definition

Defines top-level WebApplicationFirewallPolicy configuration settings.

public class PolicySettingsFrontDoor : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Cdn.Models.PolicySettingsFrontDoor>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Cdn.Models.PolicySettingsFrontDoor>
type PolicySettingsFrontDoor = class
    interface IJsonModel<PolicySettingsFrontDoor>
    interface IPersistableModel<PolicySettingsFrontDoor>
Public Class PolicySettingsFrontDoor
Implements IJsonModel(Of PolicySettingsFrontDoor), IPersistableModel(Of PolicySettingsFrontDoor)
Inheritance
PolicySettingsFrontDoor
Implements

Constructors

Name Description
PolicySettingsFrontDoor()

Initializes a new instance of PolicySettingsFrontDoor.

Properties

Name Description
CaptchaExpirationInMinutes

Defines the Captcha cookie validity lifetime in minutes. This setting is only applicable to Premium_AzureFrontDoor. Value must be an integer between 5 and 1440 with the default value being 30.

CustomBlockResponseBody

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

CustomBlockResponseStatusCode

If the action type is block, customer can override the response status code.

EnabledState

Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.

JavascriptChallengeExpirationInMinutes

Defines the JavaScript challenge cookie validity lifetime in minutes. This setting is only applicable to Premium_AzureFrontDoor. Value must be an integer between 5 and 1440 with the default value being 30.

Mode

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

RedirectUri

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

RequestBodyCheck

Describes if policy managed rules will inspect the request body content.

ScrubbingRules

List of log scrubbing rules applied to the Web Application Firewall logs.

State

State of the log scrubbing config. Default value is Enabled.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<PolicySettingsFrontDoor>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<PolicySettingsFrontDoor>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<PolicySettingsFrontDoor>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<PolicySettingsFrontDoor>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<PolicySettingsFrontDoor>.Write(ModelReaderWriterOptions)

Applies to