public sealed class AllocationPolicy.Types.AttachedDisk : IMessage<AllocationPolicy.Types.AttachedDisk>, IEquatable<AllocationPolicy.Types.AttachedDisk>, IDeepCloneable<AllocationPolicy.Types.AttachedDisk>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1alpha API class AllocationPolicy.Types.AttachedDisk.
A new or an existing persistent disk (PD) or a local ssd attached to a VM instance.
Implements
IMessageAllocationPolicyTypesAttachedDisk, IEquatableAllocationPolicyTypesAttachedDisk, IDeepCloneableAllocationPolicyTypesAttachedDisk, IBufferMessage, IMessageNamespace
Google.Cloud.Batch.V1AlphaAssembly
Google.Cloud.Batch.V1Alpha.dll
Constructors
AttachedDisk()
public AttachedDisk()
AttachedDisk(AttachedDisk)
public AttachedDisk(AllocationPolicy.Types.AttachedDisk other)
Parameter | |
---|---|
Name | Description |
other | AllocationPolicyTypesAttachedDisk |
Properties
AttachedCase
public AllocationPolicy.Types.AttachedDisk.AttachedOneofCase AttachedCase { get; }
Property Value | |
---|---|
Type | Description |
AllocationPolicyTypesAttachedDiskAttachedOneofCase |
DeviceName
public string DeviceName { get; set; }
Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.
Property Value | |
---|---|
Type | Description |
string |
ExistingDisk
public string ExistingDisk { get; set; }
Name of an existing PD.
Property Value | |
---|---|
Type | Description |
string |
HasExistingDisk
public bool HasExistingDisk { get; }
Gets whether the "existing_disk" field is set
Property Value | |
---|---|
Type | Description |
bool |
NewDisk
public AllocationPolicy.Types.Disk NewDisk { get; set; }
Property Value | |
---|---|
Type | Description |
AllocationPolicyTypesDisk |