Class LocalDisk (2.0.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
Int32

DiskSizeGb

public int DiskSizeGb { get; set; }

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

Property Value
TypeDescription
Int32

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
Boolean

HasDiskSizeGb

public bool HasDiskSizeGb { get; }

Gets whether the "disk_size_gb" field is set

Property Value
TypeDescription
Boolean

HasDiskType

public bool HasDiskType { get; }

Gets whether the "disk_type" field is set

Property Value
TypeDescription
Boolean