PolicySettings Class
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.
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(WebApplicationFirewallEnabledState, WebApplicationFirewallMode, 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 describes if it is in detection mode or prevention mode at policy level. Possible values include: 'Prevention', 'Detection' |
RequestBodyCheck |
Gets or sets whether to allow WAF to check request Body. |
State |
Gets or sets describes if the policy is in enabled state or disabled state. Possible values include: 'Disabled', 'Enabled' |
Methods
Validate() |
Validate the object. |