Class SnapshotArgs
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class SnapshotArgs : ResourceArgs
Constructors
View SourceSnapshotArgs()
Declaration
public SnapshotArgs()
Properties
View SourceDescription
An optional description of this resource.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Labels
Labels to apply to this Snapshot.
Declaration
public InputMap<string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
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> |
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> |
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> |
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> |
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> |
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> |