PolicySettings Constructors

Definition

Overloads

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.

PolicySettings()

Initializes a new instance of the PolicySettings class.

public PolicySettings ();
Public Sub New ()

Applies to

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

Initializes a new instance of the PolicySettings class.

public PolicySettings (string state = default, string mode = default, bool? requestBodyCheck = default, int? maxRequestBodySizeInKb = default, int? fileUploadLimitInMb = default);
new Microsoft.Azure.Management.Network.Models.PolicySettings : string * string * Nullable<bool> * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.Network.Models.PolicySettings
Public Sub New (Optional state As String = Nothing, Optional mode As String = Nothing, Optional requestBodyCheck As Nullable(Of Boolean) = Nothing, Optional maxRequestBodySizeInKb As Nullable(Of Integer) = Nothing, Optional fileUploadLimitInMb As Nullable(Of Integer) = Nothing)

Parameters

state
String

The state of the policy. Possible values include: 'Disabled', 'Enabled'

mode
String

The mode of the policy. Possible values include: 'Prevention', 'Detection'

requestBodyCheck
Nullable<Boolean>

Whether to allow WAF to check request Body.

maxRequestBodySizeInKb
Nullable<Int32>

Maximum request body size in Kb for WAF.

fileUploadLimitInMb
Nullable<Int32>

Maximum file upload size in Mb for WAF.

Applies to