共用方式為


FrontDoorWebApplicationFirewallPolicySettings Class

Definition

Defines top-level WebApplicationFirewallPolicy configuration settings.

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

Constructors

FrontDoorWebApplicationFirewallPolicySettings()

Initializes a new instance of FrontDoorWebApplicationFirewallPolicySettings.

Properties

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

Explicit Interface Implementations

IJsonModel<FrontDoorWebApplicationFirewallPolicySettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<FrontDoorWebApplicationFirewallPolicySettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FrontDoorWebApplicationFirewallPolicySettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FrontDoorWebApplicationFirewallPolicySettings>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<FrontDoorWebApplicationFirewallPolicySettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to