Class SnapshotState
Inheritance
System.Object
SnapshotState
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()
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class SnapshotState : ResourceArgs
Constructors
View Source
SnapshotState()
Declaration
Properties
View Source
CreationTimestamp
Creation timestamp in RFC3339 text format.
Declaration
public Input<string> CreationTimestamp { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
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
DiskSizeGb
Size of the snapshot, specified in GB.
Declaration
public Input<int> DiskSizeGb { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
LabelFingerprint
The fingerprint used for optimistic locking of this resource. Used internally during updates.
Declaration
public Input<string> LabelFingerprint { 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
Licenses
A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses
attached (such as a Windows image). snapshotEncryptionKey nested object Encrypts the snapshot using a customer-supplied
encryption key.
Declaration
public InputList<string> Licenses { get; set; }
Property Value
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
SelfLink
The URI of the created resource.
Declaration
public Input<string> SelfLink { 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<SnapshotSnapshotEncryptionKeyGetArgs> SnapshotEncryptionKey { get; set; }
Property Value
View Source
SnapshotId
The unique identifier for the resource.
Declaration
public Input<int> SnapshotId { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
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<SnapshotSourceDiskEncryptionKeyGetArgs> SourceDiskEncryptionKey { get; set; }
Property Value
View Source
SourceDiskLink
Declaration
public Input<string> SourceDiskLink { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
StorageBytes
A size of the the storage used by the snapshot. As snapshots share storage, this number is expected to change with
snapshot creation/deletion.
Declaration
public Input<int> StorageBytes { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
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> |
|