SavedAttachedDiskResponse class

DEPRECATED: Please use compute#savedDisk instead. An instance-attached disk resource.

Constructors

SavedAttachedDiskResponse({required Input<bool> autoDelete, required Input<bool> boot, required Input<String> deviceName, required Input<CustomerEncryptionKeyResponse> diskEncryptionKey, required Input<String> diskSizeGb, required Input<String> diskType, required Input<List<GuestOsFeatureResponse>> guestOsFeatures, required Input<int> index, required Input<String> interface, required Input<String> kind, required Input<List<String>> licenses, required Input<String> mode, required Input<String> source, required Input<String> storageBytes, required Input<String> storageBytesStatus, required Input<String> type})
Creates a new SavedAttachedDiskResponse. autoDelete Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). boot Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem. deviceName Specifies the name of the disk attached to the source instance. diskEncryptionKey The encryption key for the disk. diskSizeGb The size of the disk in base-2 GB. diskType URL of the disk type resource. For example: projects/project /zones/zone/diskTypes/pd-standard or pd-ssd guestOsFeatures A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. index Specifies zero-based index of the disk that is attached to the source instance. interface Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. kind Type of the resource. Always compute#attachedDisk for attached disks. licenses Any valid publicly visible licenses. mode The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY. source Specifies a URL of the disk attached to the source instance. storageBytes A size of the storage used by the disk's snapshot by this machine image. storageBytesStatus An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. type Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
const
SavedAttachedDiskResponse.fromMap(Map<String, dynamic> map)
factory

Properties

autoDelete → Input<bool>
Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
final
boot → Input<bool>
Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
final
deviceName → Input<String>
Specifies the name of the disk attached to the source instance.
final
diskEncryptionKey → Input<CustomerEncryptionKeyResponse>
The encryption key for the disk.
final
diskSizeGb → Input<String>
The size of the disk in base-2 GB.
final
diskType → Input<String>
URL of the disk type resource. For example: projects/project /zones/zone/diskTypes/pd-standard or pd-ssd
final
guestOsFeatures → Input<List<GuestOsFeatureResponse>>
A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
final
hashCode → int
The hash code for this object.
no setterinherited
index → Input<int>
Specifies zero-based index of the disk that is attached to the source instance.
final
interface → Input<String>
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
final
kind → Input<String>
Type of the resource. Always compute#attachedDisk for attached disks.
final
licenses → Input<List<String>>
Any valid publicly visible licenses.
final
mode → Input<String>
The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → Input<String>
Specifies a URL of the disk attached to the source instance.
final
storageBytes → Input<String>
A size of the storage used by the disk's snapshot by this machine image.
final
storageBytesStatus → Input<String>
An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
final
type → Input<String>
Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
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