Show / Hide Table of Contents

Class SecurityPolicyArgs

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

Constructors

View Source

SecurityPolicyArgs()

Declaration
public SecurityPolicyArgs()

Properties

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

Name

The name of the security policy.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Project

The project in which the resource belongs. If it is not provided, the provider project is used.

Declaration
public Input<string> Project { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Rules

The set of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a security policy, a default rule with action "allow" will be added. Structure is documented below.

Declaration
public InputList<SecurityPolicyRuleArgs> Rules { get; set; }
Property Value
Type Description
InputList<SecurityPolicyRuleArgs>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.