AttachedDisk class
An instance-attached disk resource.
Constructors
-
AttachedDisk.new({bool? autoDelete, bool? boot, String? deviceName, CustomerEncryptionKey? diskEncryptionKey, String? diskInterface, String? diskSizeGb, String? diskType, String? diskTypeDeprecated, List<
GuestOsFeature> ? guestOsFeature, String? index, InitializeParams? initializeParams, String? kind, List<String> ? license, String? mode, String? savedState, String? source, String? type}) - AttachedDisk.fromJson(Map json_)
Properties
- autoDelete ↔ bool?
-
Specifies whether the disk will be auto-deleted when the instance is
deleted (but not when the disk is detached from the instance).
getter/setter pair
- boot ↔ bool?
-
Indicates that this is a boot disk.
getter/setter pair
- deviceName ↔ String?
-
This is used as an identifier for the disks.
getter/setter pair
- diskEncryptionKey ↔ CustomerEncryptionKey?
-
Encrypts or decrypts a disk using a customer-supplied encryption key.
getter/setter pair
- diskInterface ↔ String?
-
Specifies the disk interface to use for attaching this disk.
getter/setter pair
- diskSizeGb ↔ String?
-
The size of the disk in GB.
getter/setter pair
- diskType ↔ String?
-
The URI of the disk type resource.
getter/setter pair
- diskTypeDeprecated ↔ String?
-
Specifies the type of the disk.
Possible string values are:
getter/setter pair
-
guestOsFeature
↔ List<
GuestOsFeature> ? -
A list of features to enable on the guest operating system.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- index ↔ String?
-
A zero-based index to this disk, where 0 is reserved for the boot disk.
getter/setter pair
- initializeParams ↔ InitializeParams?
-
Specifies the parameters to initialize this disk.
getter/setter pair
- kind ↔ String?
-
Type of the resource.
getter/setter pair
-
license
↔ List<
String> ? -
Any valid publicly visible licenses.
getter/setter pair
- mode ↔ String?
-
The mode in which to attach this disk.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- savedState ↔ String?
-
The state of the disk.
getter/setter pair
- source ↔ String?
-
Specifies a valid partial or full URL to an existing Persistent Disk
resource.
getter/setter pair
- type ↔ String?
-
Specifies the type of the disk.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited