Compute Engine v1 API - Class SavedDisk (2.16.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
Name Description
other SavedDisk

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
Type Description
string

HasArchitecture

public bool HasArchitecture { get; }

Gets whether the "architecture" field is set

Property Value
Type Description
bool

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
Type Description
bool

HasSourceDisk

public bool HasSourceDisk { get; }

Gets whether the "source_disk" field is set

Property Value
Type Description
bool

HasStorageBytes

public bool HasStorageBytes { get; }

Gets whether the "storage_bytes" field is set

Property Value
Type Description
bool

HasStorageBytesStatus

public bool HasStorageBytesStatus { get; }

Gets whether the "storage_bytes_status" field is set

Property Value
Type Description
bool

Kind

public string Kind { get; set; }

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

Property Value
Type Description
string

SourceDisk

public string SourceDisk { get; set; }

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

Property Value
Type Description
string

StorageBytes

public long StorageBytes { get; set; }

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

Property Value
Type Description
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
Type Description
string