Show / Hide Table of Contents

Class FirewallPolicyArgs

Inheritance
System.Object
InputArgs
ResourceArgs
FirewallPolicyArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.FrontDoor
Assembly: Pulumi.Azure.dll
Syntax
public sealed class FirewallPolicyArgs : ResourceArgs

Constructors

View Source

FirewallPolicyArgs()

Declaration
public FirewallPolicyArgs()

Properties

View Source

CustomBlockResponseBody

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>
View Source

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>
View Source

CustomRules

One or more custom_rule blocks as defined below.

Declaration
public InputList<FirewallPolicyCustomRuleArgs> CustomRules { get; set; }
Property Value
Type Description
InputList<FirewallPolicyCustomRuleArgs>
View Source

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>
View Source

ManagedRules

One or more managed_rule blocks as defined below.

Declaration
public InputList<FirewallPolicyManagedRuleArgs> ManagedRules { get; set; }
Property Value
Type Description
InputList<FirewallPolicyManagedRuleArgs>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.