Condividi tramite


PolicySettings Class

Definition

Defines contents of a web application firewall global configuration.

public class PolicySettings
type PolicySettings = class
Public Class PolicySettings
Inheritance
PolicySettings

Constructors

PolicySettings()

Initializes a new instance of the PolicySettings class.

PolicySettings(String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the PolicySettings class.

Properties

FileUploadLimitInMb

Gets or sets maximum file upload size in Mb for WAF.

MaxRequestBodySizeInKb

Gets or sets maximum request body size in Kb for WAF.

Mode

Gets or sets the mode of the policy. Possible values include: 'Prevention', 'Detection'

RequestBodyCheck

Gets or sets whether to allow WAF to check request Body.

State

Gets or sets the state of the policy. Possible values include: 'Disabled', 'Enabled'

Methods

Validate()

Validate the object.

Applies to