Class FirewallRuleState
Inherited Members
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.Cloudflare
Assembly: Pulumi.Cloudflare.dll
Syntax
public sealed class FirewallRuleState : ResourceArgs
Constructors
View SourceFirewallRuleState()
Declaration
public FirewallRuleState()
Properties
View SourceAction
The action to apply to a matched request. Allowed values: "block", "challenge", "allow", "js_challenge", "bypass". Enterprise plan also allows "log".
Declaration
public Input<string> Action { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
A description of the rule to help identify it.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
FilterId
Declaration
public Input<string> FilterId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Paused
Whether this filter based firewall rule is currently paused. Boolean value.
Declaration
public Input<bool> Paused { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Priority
The priority of the rule to allow control of processing order. A lower number indicates high priority. If not provided, any rules with a priority will be sequenced before those without.
Declaration
public Input<int> Priority { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Products
List of products to bypass for a request when the bypass action is used. Allowed values: "zoneLockdown", "uaBlock", "bic", "hot", "securityLevel", "rateLimit", "waf".
Declaration
public InputList<string> Products { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
ZoneId
The DNS zone to which the Filter should be added.
Declaration
public Input<string> ZoneId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |