Show / Hide Table of Contents

Class SnapshotArgs

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

Constructors

View Source

SnapshotArgs()

Declaration
public SnapshotArgs()

Properties

View Source

Description

An optional description of this resource.

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

Labels

Labels to apply to this Snapshot.

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

Name

Name of the resource; provided by the client when the resource is created. The 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

SnapshotEncryptionKey

The customer-supplied encryption key of the snapshot. Required if the source snapshot is protected by a customer-supplied encryption key. Structure is documented below.

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

SourceDisk

A reference to the disk used to create this snapshot.

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

SourceDiskEncryptionKey

The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key. Structure is documented below.

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

Zone

A reference to the zone where the disk is hosted.

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