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 | |
---|---|
Name | Description |
new_disk |
google.cloud.batch_v1.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. |