Compute Engine v1 API - Class SavedDisk (2.4.0)

public sealed class SavedDisk : IMessage<SavedDisk>, IEquatable<SavedDisk>, IDeepCloneable<SavedDisk>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class SavedDisk.

An instance-attached disk resource.

Inheritance

Object > SavedDisk

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

SavedDisk()

public SavedDisk()

SavedDisk(SavedDisk)

public SavedDisk(SavedDisk other)
Parameter
NameDescription
otherSavedDisk

Properties

Architecture

public string Architecture { get; set; }

[Output Only] The architecture of the attached disk. Check the Architecture enum for the list of possible values.

Property Value
TypeDescription
String

HasArchitecture

public bool HasArchitecture { get; }

Gets whether the "architecture" field is set

Property Value
TypeDescription
Boolean

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
TypeDescription
Boolean

HasSourceDisk

public bool HasSourceDisk { get; }

Gets whether the "source_disk" field is set

Property Value
TypeDescription
Boolean

HasStorageBytes

public bool HasStorageBytes { get; }

Gets whether the "storage_bytes" field is set

Property Value
TypeDescription
Boolean

HasStorageBytesStatus

public bool HasStorageBytesStatus { get; }

Gets whether the "storage_bytes_status" field is set

Property Value
TypeDescription
Boolean

Kind

public string Kind { get; set; }

[Output Only] Type of the resource. Always compute#savedDisk for attached disks.

Property Value
TypeDescription
String

SourceDisk

public string SourceDisk { get; set; }

Specifies a URL of the disk attached to the source instance.

Property Value
TypeDescription
String

StorageBytes

public long StorageBytes { get; set; }

[Output Only] Size of the individual disk snapshot used by this machine image.

Property Value
TypeDescription
Int64

StorageBytesStatus

public string StorageBytesStatus { get; set; }

[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values.

Property Value
TypeDescription
String