Class SecurityPolicyArgs
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
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class SecurityPolicyArgs : ResourceArgs
Constructors
View SourceSecurityPolicyArgs()
Declaration
public SecurityPolicyArgs()
Properties
View SourceDescription
An optional description of this rule. Max size is 64.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The name of the security policy.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
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> |