Class AttachedDisk (0.17.6rc0)

AttachedDisk(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
new_disk google.cloud.batch_v1alpha.types.AllocationPolicy.Disk
This field is a member of oneof_ attached.
existing_disk str
Name of an existing PD. This field is a member of oneof_ attached.
device_name str
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.