Show / Hide Table of Contents

Class ResourcePolicyArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ResourcePolicyArgs
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 ResourcePolicyArgs : ResourceArgs

Constructors

View Source

ResourcePolicyArgs()

Declaration
public ResourcePolicyArgs()

Properties

View Source

GroupPlacementPolicy

Policy for creating snapshots of persistent disks. Structure is documented below.

Declaration
public Input<ResourcePolicyGroupPlacementPolicyArgs> GroupPlacementPolicy { get; set; }
Property Value
Type Description
Input<ResourcePolicyGroupPlacementPolicyArgs>
View Source

Name

The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

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

Project

The ID of 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

Region

Region where resource policy resides.

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

SnapshotSchedulePolicy

Policy for creating snapshots of persistent disks. Structure is documented below.

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