Class AllocationPolicy.Types.Disk (1.0.0-alpha01)

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

A new persistent disk.

Inheritance

Object > AllocationPolicy.Types.Disk

Namespace

Google.Cloud.Batch.V1Alpha

Assembly

Google.Cloud.Batch.V1Alpha.dll

Constructors

Disk()

public Disk()

Disk(AllocationPolicy.Types.Disk)

public Disk(AllocationPolicy.Types.Disk other)
Parameter
NameDescription
otherAllocationPolicy.Types.Disk

Properties

DataSourceCase

public AllocationPolicy.Types.Disk.DataSourceOneofCase DataSourceCase { get; }
Property Value
TypeDescription
AllocationPolicy.Types.Disk.DataSourceOneofCase

Image

public string Image { get; set; }

Name of a public or custom image used as the data source.

Property Value
TypeDescription
String

SizeGb

public long SizeGb { get; set; }

Disk size in GB. This field is ignored if data_source is disk or image.

Property Value
TypeDescription
Int64

Snapshot

public string Snapshot { get; set; }

Name of a snapshot used as the data source.

Property Value
TypeDescription
String

Type

public string Type { get; set; }

Disk type as shown in gcloud compute disk-types list For example, "pd-ssd", "pd-standard", "pd-balanced".

Property Value
TypeDescription
String