Class: Google::Cloud::Batch::V1::AllocationPolicy::AttachedDisk
- Inherits:
-
Object
- Object
- Google::Cloud::Batch::V1::AllocationPolicy::AttachedDisk
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/batch/v1/job.rb
Overview
A new or an existing persistent disk (PD) or a local ssd attached to a VM instance.
Instance Attribute Summary collapse
-
#device_name ⇒ ::String
Device name that the guest operating system will see.
-
#existing_disk ⇒ ::String
Name of an existing PD.
- #new_disk ⇒ ::Google::Cloud::Batch::V1::AllocationPolicy::Disk
Instance Attribute Details
#device_name ⇒ ::String
Returns 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.
439 440 441 442 |
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 439 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#existing_disk ⇒ ::String
Returns Name of an existing PD.
439 440 441 442 |
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 439 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#new_disk ⇒ ::Google::Cloud::Batch::V1::AllocationPolicy::Disk
439 440 441 442 |
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 439 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |