SavedAttachedDisk class

DEPRECATED: Please use compute#savedDisk instead.

An instance-attached disk resource.

Constructors

SavedAttachedDisk({bool? autoDelete, bool? boot, String? deviceName, CustomerEncryptionKey? diskEncryptionKey, String? diskSizeGb, String? diskType, List<GuestOsFeature>? guestOsFeatures, int? index, String? interface, String? kind, List<String>? licenses, String? mode, String? source, String? storageBytes, String? storageBytesStatus, String? type})
SavedAttachedDisk.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?
Specifies the name of the disk attached to the source instance.
getter/setter pair
diskEncryptionKey CustomerEncryptionKey?
The encryption key for the disk.
getter/setter pair
diskSizeGb String?
The size of the disk in base-2 GB.
getter/setter pair
diskType String?
URL of the disk type resource.
getter/setter pair
guestOsFeatures 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 int?
Specifies zero-based index of the disk that is attached to the source instance.
getter/setter pair
interface String?
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. Possible string values are:
getter/setter pair
kind String?
Type of the resource.
getter/setter pair
licenses List<String>?
Any valid publicly visible licenses.
getter/setter pair
mode String?
The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY. Possible string values are:
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String?
Specifies a URL of the disk attached to the source instance.
getter/setter pair
storageBytes String?
A size of the storage used by the disk's snapshot by this machine image.
getter/setter pair
storageBytesStatus String?
An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
getter/setter pair
type String?
Specifies the type of the attached disk, either SCRATCH or PERSISTENT. Possible string values are:
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