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(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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per