Compute Engine v1 API - Class SavedDisk (2.9.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

GoogleCloudGoogle.Cloud.ComputeV1

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
bool

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
TypeDescription
bool

HasSourceDisk

public bool HasSourceDisk { get; }

Gets whether the "source_disk" field is set

Property Value
TypeDescription
bool

HasStorageBytes

public bool HasStorageBytes { get; }

Gets whether the "storage_bytes" field is set

Property Value
TypeDescription
bool

HasStorageBytesStatus

public bool HasStorageBytesStatus { get; }

Gets whether the "storage_bytes_status" field is set

Property Value
TypeDescription
bool

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
long

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