Reference documentation and code samples for the Batch V1 API class Google::Cloud::Batch::V1::AllocationPolicy::AttachedDisk.
A new or an existing persistent disk or a local ssd attached to a VM instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#device_name
def device_name() -> ::String
Returns
- (::String) — Device name that the guest operating system will see. If not specified, this is default to the disk name.
#device_name=
def device_name=(value) -> ::String
Parameter
- value (::String) — Device name that the guest operating system will see. If not specified, this is default to the disk name.
Returns
- (::String) — Device name that the guest operating system will see. If not specified, this is default to the disk name.
#existing_disk
def existing_disk() -> ::String
Returns
- (::String) — Name of an existing PD.
#existing_disk=
def existing_disk=(value) -> ::String
Parameter
- value (::String) — Name of an existing PD.
Returns
- (::String) — Name of an existing PD.
#new_disk
def new_disk() -> ::Google::Cloud::Batch::V1::AllocationPolicy::Disk
#new_disk=
def new_disk=(value) -> ::Google::Cloud::Batch::V1::AllocationPolicy::Disk
Parameter