Compute Engine v1 API - Class LocalDisk (2.15.0)

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

Inheritance

object > LocalDisk

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

LocalDisk()

public LocalDisk()

LocalDisk(LocalDisk)

public LocalDisk(LocalDisk other)
Parameter
NameDescription
otherLocalDisk

Properties

DiskCount

public int DiskCount { get; set; }

Specifies the number of such disks.

Property Value
TypeDescription
int

DiskSizeGb

public int DiskSizeGb { get; set; }

Specifies the size of the disk in base-2 GB.

Property Value
TypeDescription
int

DiskType

public string DiskType { get; set; }

Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL.

Property Value
TypeDescription
string

HasDiskCount

public bool HasDiskCount { get; }

Gets whether the "disk_count" field is set

Property Value
TypeDescription
bool

HasDiskSizeGb

public bool HasDiskSizeGb { get; }

Gets whether the "disk_size_gb" field is set

Property Value
TypeDescription
bool

HasDiskType

public bool HasDiskType { get; }

Gets whether the "disk_type" field is set

Property Value
TypeDescription
bool