PolicySettingsFrontDoor 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 top-level WebApplicationFirewallPolicy configuration settings.
public class PolicySettingsFrontDoor : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Cdn.Models.PolicySettingsFrontDoor>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Cdn.Models.PolicySettingsFrontDoor>
type PolicySettingsFrontDoor = class
interface IJsonModel<PolicySettingsFrontDoor>
interface IPersistableModel<PolicySettingsFrontDoor>
Public Class PolicySettingsFrontDoor
Implements IJsonModel(Of PolicySettingsFrontDoor), IPersistableModel(Of PolicySettingsFrontDoor)
- Inheritance
-
PolicySettingsFrontDoor
- Implements
Constructors
| Name | Description |
|---|---|
| PolicySettingsFrontDoor() |
Initializes a new instance of PolicySettingsFrontDoor. |
Properties
| Name | Description |
|---|---|
| CaptchaExpirationInMinutes |
Defines the Captcha cookie validity lifetime in minutes. This setting is only applicable to Premium_AzureFrontDoor. Value must be an integer between 5 and 1440 with the default value being 30. |
| CustomBlockResponseBody |
If the action type is block, customer can override the response body. The body must be specified in base64 encoding. |
| CustomBlockResponseStatusCode |
If the action type is block, customer can override the response status code. |
| EnabledState |
Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified. |
| JavascriptChallengeExpirationInMinutes |
Defines the JavaScript challenge cookie validity lifetime in minutes. This setting is only applicable to Premium_AzureFrontDoor. Value must be an integer between 5 and 1440 with the default value being 30. |
| Mode |
Describes if it is in detection mode or prevention mode at policy level. |
| RedirectUri |
If action type is redirect, this field represents redirect URL for the client. |
| RequestBodyCheck |
Describes if policy managed rules will inspect the request body content. |
| ScrubbingRules |
List of log scrubbing rules applied to the Web Application Firewall logs. |
| State |
State of the log scrubbing config. Default value is Enabled. |