Class SecurityPolicyRuleArgs
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.Gcp.Compute.Inputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class SecurityPolicyRuleArgs : ResourceArgs
Constructors
View SourceSecurityPolicyRuleArgs()
Declaration
public SecurityPolicyRuleArgs()
Properties
View SourceAction
Action to take when match matches the request. Valid values:
- "allow" : allow access to target
- "deny(status)" : deny access to target, returns the HTTP response code specified (valid values are 403, 404 and 502)
Declaration
public Input<string> Action { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
An optional description of this rule. Max size is 64.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Match
A match condition that incoming traffic is evaluated against.
If it evaluates to true, the corresponding action is enforced. Structure is documented below.
Declaration
public Input<SecurityPolicyRuleMatchArgs> Match { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<SecurityPolicyRuleMatchArgs> |
Preview
When set to true, the action specified above is not enforced.
Stackdriver logs for requests that trigger a preview action are annotated as such.
Declaration
public Input<bool> Preview { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Priority
An unique positive integer indicating the priority of evaluation for a rule. Rules are evaluated from highest priority (lowest numerically) to lowest priority (highest numerically) in order.
Declaration
public Input<int> Priority { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |