Class AccessRuleArgs
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 AccessRuleArgs : ResourceArgs
Constructors
View SourceAccessRuleArgs()
Declaration
public AccessRuleArgs()
Properties
View SourceConfiguration
Rule configuration to apply to a matched request. It's a complex value. See description below.
Declaration
public Input<AccessRuleConfigurationArgs> Configuration { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<AccessRuleConfigurationArgs> |
Mode
The action to apply to a matched request. Allowed values: "block", "challenge", "whitelist", "js_challenge"
Declaration
public Input<string> Mode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Notes
A personal note about the rule. Typically used as a reminder or explanation for the rule.
Declaration
public Input<string> Notes { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ZoneId
The DNS zone to which the access rule should be added.
Declaration
public Input<string> ZoneId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |