AttachedDisk class
A new or an existing persistent disk (PD) or a local ssd attached to a VM instance.
Constructors
-
AttachedDisk({Input<
String> ? deviceName, Input<String> ? existingDisk, Input<Disk> ? newDisk}) -
Creates a new AttachedDisk.
deviceNameDevice 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.existingDiskName of an existing PD.newDiskOptional.const -
AttachedDisk.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<
Disk> ? -
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