PolicySettings Class
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 : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.Models.PolicySettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.Models.PolicySettings>
type PolicySettings = class
interface IJsonModel<PolicySettings>
interface IPersistableModel<PolicySettings>
Public Class PolicySettings
Implements IJsonModel(Of PolicySettings), IPersistableModel(Of PolicySettings)
- Inheritance
-
PolicySettings
- Implements
Policy |
Initializes a new instance of PolicySettings. |
Custom |
If the action type is block, customer can override the response body. The body must be specified in base64 encoding. |
Custom |
If the action type is block, customer can override the response status code. |
File |
Whether allow WAF to enforce file upload limits. |
File |
Maximum file upload size in Mb for WAF. |
Js |
Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes. |
Log |
To scrub sensitive log fields. |
Max |
Maximum request body size in Kb for WAF. |
Mode |
The mode of the policy. |
Request |
Whether to allow WAF to check request Body. |
Request |
Whether allow WAF to enforce request body limits. |
Request |
Max inspection limit in KB for request body inspection for WAF. |
State |
The state of the policy. |
IJson |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJson |
Writes the model to the provided Utf8JsonWriter. |
IPersistable |
Converts the provided BinaryData into a model. |
IPersistable |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistable |
Writes the model into a BinaryData. |
Product | Versies |
---|---|
Azure SDK for .NET | Latest, Preview |
Azure SDK for .NET-feedback
Azure SDK for .NET is een open source project. Selecteer een koppeling om feedback te geven: