Class FirewallPolicyState
Inherited Members
Namespace: Pulumi.Azure.FrontDoor
Assembly: Pulumi.Azure.dll
Syntax
public sealed class FirewallPolicyState : ResourceArgs
Constructors
View SourceFirewallPolicyState()
Declaration
public FirewallPolicyState()
Properties
View SourceCustomBlockResponseBody
If a custom_rule block's action type is block, this is the response body. The body must be specified in base64 encoding.
Declaration
public Input<string> CustomBlockResponseBody { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CustomBlockResponseStatusCode
If a custom_rule block's action type is block, this is the response status code. Possible values are 200, 403, 405, 406, or 429.
Declaration
public Input<int> CustomBlockResponseStatusCode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
CustomRules
One or more custom_rule blocks as defined below.
Declaration
public InputList<FirewallPolicyCustomRuleGetArgs> CustomRules { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<FirewallPolicyCustomRuleGetArgs> |
Enabled
Is the policy a enabled state or disabled state. Defaults to true.
Declaration
public Input<bool> Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
FrontendEndpointIds
the Frontend Endpoints associated with this Front Door Web Application Firewall policy.
Declaration
public InputList<string> FrontendEndpointIds { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Location
Resource location.
Declaration
public Input<string> Location { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ManagedRules
One or more managed_rule blocks as defined below.
Declaration
public InputList<FirewallPolicyManagedRuleGetArgs> ManagedRules { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<FirewallPolicyManagedRuleGetArgs> |
Mode
The firewall policy mode. Possible values are Detection, Prevention and defaults to Prevention.
Declaration
public Input<string> Mode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The name of the policy. Changing this forces a new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RedirectUrl
If action type is redirect, this field represents redirect URL for the client.
Declaration
public Input<string> RedirectUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResourceGroupName
The name of the resource group. Changing this forces a new resource to be created.
Declaration
public Input<string> ResourceGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A mapping of tags to assign to the Web Application Firewall Policy.
Declaration
public InputMap<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |