AttachedDisk class

A node-attached disk resource. Next ID: 8;

Constructors

AttachedDisk({Input<AttachedDiskMode>? mode, Input<String>? sourceDisk})
Creates a new AttachedDisk. mode The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks. sourceDisk Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
const
AttachedDisk.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
mode → Input<AttachedDiskMode>?
The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceDisk → Input<String>?
Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
final

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