Reference documentation and code samples for the Google Cloud Batch V1 Client class AttachedDisk.
A new or an existing persistent disk (PD) or a local ssd attached to a VM instance.
Generated from protobuf message google.cloud.batch.v1.AllocationPolicy.AttachedDisk
Namespace
Google \ Cloud \ Batch \ V1 \ AllocationPolicyMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ new_disk
↳ existing_disk
string
Name of an existing PD.
↳ device_name
string
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.
getNewDisk
Generated from protobuf field .google.cloud.batch.v1.AllocationPolicy.Disk new_disk = 1;
hasNewDisk
setNewDisk
Generated from protobuf field .google.cloud.batch.v1.AllocationPolicy.Disk new_disk = 1;
$this
getExistingDisk
Name of an existing PD.
string
hasExistingDisk
setExistingDisk
Name of an existing PD.
var
string
$this
getDeviceName
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.
string
setDeviceName
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.
var
string
$this
getAttached
string