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

Properties

DiskCount

public int DiskCount { get; set; }

Specifies the number of such disks.

Property Value
Type Description
int

DiskSizeGb

public int DiskSizeGb { get; set; }

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

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

HasDiskCount

public bool HasDiskCount { get; }

Gets whether the "disk_count" field is set

Property Value
Type Description
bool

HasDiskSizeGb

public bool HasDiskSizeGb { get; }

Gets whether the "disk_size_gb" field is set

Property Value
Type Description
bool

HasDiskType

public bool HasDiskType { get; }

Gets whether the "disk_type" field is set

Property Value
Type Description
bool