PolicySettings Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PolicySettings() |
Initializes a new instance of the PolicySettings class. |
PolicySettings(WebApplicationFirewallEnabledState, WebApplicationFirewallMode, 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(WebApplicationFirewallEnabledState, WebApplicationFirewallMode, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)
Initializes a new instance of the PolicySettings class.
public PolicySettings (Microsoft.Azure.Management.Network.Fluent.Models.WebApplicationFirewallEnabledState state = default, Microsoft.Azure.Management.Network.Fluent.Models.WebApplicationFirewallMode mode = default, bool? requestBodyCheck = default, int? maxRequestBodySizeInKb = default, int? fileUploadLimitInMb = default);
new Microsoft.Azure.Management.Network.Fluent.Models.PolicySettings : Microsoft.Azure.Management.Network.Fluent.Models.WebApplicationFirewallEnabledState * Microsoft.Azure.Management.Network.Fluent.Models.WebApplicationFirewallMode * Nullable<bool> * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.Network.Fluent.Models.PolicySettings
Public Sub New (Optional state As WebApplicationFirewallEnabledState = Nothing, Optional mode As WebApplicationFirewallMode = Nothing, Optional requestBodyCheck As Nullable(Of Boolean) = Nothing, Optional maxRequestBodySizeInKb As Nullable(Of Integer) = Nothing, Optional fileUploadLimitInMb As Nullable(Of Integer) = Nothing)
Parameters
Describes if the policy is in enabled state or disabled state. Possible values include: 'Disabled', 'Enabled'
Describes if it is in detection mode or prevention mode at policy level. Possible values include: 'Prevention', 'Detection'