AttachedDiskResponse class

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

Constructors

AttachedDiskResponse({required Input<String> deviceName, required Input<String> existingDisk, required Input<DiskResponse> newDisk})
Creates a new AttachedDiskResponse. deviceName 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. existingDisk Name of an existing PD. newDisk Required.
const
AttachedDiskResponse.fromMap(Map<String, dynamic> map)
factory

Properties

deviceName → Input<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.
final
existingDisk → Input<String>
Name of an existing PD.
final
hashCode → int
The hash code for this object.
no setterinherited
newDisk → Input<DiskResponse>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited