public sealed class Disk : IMessage<AllocationPolicy.Types.Disk>, IEquatable<AllocationPolicy.Types.Disk>, IDeepCloneable<AllocationPolicy.Types.Disk>, IBufferMessage, IMessage
A new persistent disk.
Implements
IMessage<AllocationPolicy.Types.Disk>, IEquatable<AllocationPolicy.Types.Disk>, IDeepCloneable<AllocationPolicy.Types.Disk>, IBufferMessage, IMessageNamespace
Google.Cloud.Batch.V1AlphaAssembly
Google.Cloud.Batch.V1Alpha.dll
Constructors
Disk()
public Disk()
Disk(AllocationPolicy.Types.Disk)
public Disk(AllocationPolicy.Types.Disk other)
Name | Description |
other | AllocationPolicy.Types.Disk |
Properties
DataSourceCase
public AllocationPolicy.Types.Disk.DataSourceOneofCase DataSourceCase { get; }
Type | Description |
AllocationPolicy.Types.Disk.DataSourceOneofCase |
Image
public string Image { get; set; }
Name of a public or custom image used as the data source.
Type | Description |
String |
SizeGb
public long SizeGb { get; set; }
Disk size in GB.
This field is ignored if data_source
is disk
or image
.
Type | Description |
Int64 |
Snapshot
public string Snapshot { get; set; }
Name of a snapshot used as the data source.
Type | Description |
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".
Type | Description |
String |