Class Disk (1.0.0-beta02)

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

Carries information about a disk that can be attached to a VM.

See https://cloud.google.com/compute/docs/disks/performance for more information about disk type, size, and performance considerations.

Specify either [Volume][google.cloud.lifesciences.v2beta.Volume] or [Disk][google.cloud.lifesciences.v2beta.Disk], but not both.

Inheritance

Object > Disk

Namespace

Google.Cloud.LifeSciences.V2Beta

Assembly

Google.Cloud.LifeSciences.V2Beta.dll

Constructors

Disk()

public Disk()

Disk(Disk)

public Disk(Disk other)
Parameter
NameDescription
otherDisk

Properties

Name

public string Name { get; set; }

A user-supplied name for the disk. Used when mounting the disk into actions. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.

Property Value
TypeDescription
String

SizeGb

public int SizeGb { get; set; }

The size, in GB, of the disk to attach. If the size is not specified, a default is chosen to ensure reasonable I/O performance.

If the disk type is specified as local-ssd, multiple local drives are automatically combined to provide the requested size. Note, however, that each physical SSD is 375GB in size, and no more than 8 drives can be attached to a single instance.

Property Value
TypeDescription
Int32

SourceImage

public string SourceImage { get; set; }

An optional image to put on the disk before attaching it to the VM.

Property Value
TypeDescription
String

Type

public string Type { get; set; }

The Compute Engine disk type. If unspecified, pd-standard is used.

Property Value
TypeDescription
String