Show / Hide Table of Contents

Class SecurityPolicyRuleArgs

Inheritance
System.Object
InputArgs
ResourceArgs
SecurityPolicyRuleArgs
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.Gcp.Compute.Inputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class SecurityPolicyRuleArgs : ResourceArgs

Constructors

View Source

SecurityPolicyRuleArgs()

Declaration
public SecurityPolicyRuleArgs()

Properties

View Source

Action

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

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

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

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

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