Batch v1 API - Class AllocationPolicy.Types.AttachedDisk (1.1.0)

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

Reference documentation and code samples for the Batch v1 API class AllocationPolicy.Types.AttachedDisk.

A new or an existing persistent disk (PD) or a local ssd attached to a VM instance.

Inheritance

Object > AllocationPolicy.Types.AttachedDisk

Namespace

Google.Cloud.Batch.V1

Assembly

Google.Cloud.Batch.V1.dll

Constructors

AttachedDisk()

public AttachedDisk()

AttachedDisk(AllocationPolicy.Types.AttachedDisk)

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

Properties

AttachedCase

public AllocationPolicy.Types.AttachedDisk.AttachedOneofCase AttachedCase { get; }
Property Value
TypeDescription
AllocationPolicy.Types.AttachedDisk.AttachedOneofCase

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
TypeDescription
String

ExistingDisk

public string ExistingDisk { get; set; }

Name of an existing PD.

Property Value
TypeDescription
String

NewDisk

public AllocationPolicy.Types.Disk NewDisk { get; set; }
Property Value
TypeDescription
AllocationPolicy.Types.Disk