SavedAttachedDiskResponseComputeBeta class
DEPRECATED: Please use compute#savedDisk instead. An instance-attached disk resource.
Constructors
-
SavedAttachedDiskResponseComputeBeta({required Input<
bool> autoDelete, required Input<bool> boot, required Input<String> deviceName, required Input<CustomerEncryptionKeyResponseComputeBeta> diskEncryptionKey, required Input<String> diskSizeGb, required Input<String> diskType, required Input<List< guestOsFeatures, required Input<GuestOsFeatureResponseComputeBeta> >int> index, required Input<String> interface, required Input<String> kind, required Input<List< licenses, required Input<String> >String> mode, required Input<String> source, required Input<String> storageBytes, required Input<String> storageBytesStatus, required Input<String> type}) -
Creates a new SavedAttachedDiskResponseComputeBeta.
autoDeleteSpecifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).bootIndicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.deviceNameSpecifies the name of the disk attached to the source instance.diskEncryptionKeyThe encryption key for the disk.diskSizeGbThe size of the disk in base-2 GB.diskTypeURL of the disk type resource. For example: projects/project /zones/zone/diskTypes/pd-standard or pd-ssdguestOsFeaturesA 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.indexSpecifies zero-based index of the disk that is attached to the source instance.interfaceSpecifies the disk interface to use for attaching this disk, which is either SCSI or NVME.kindType of the resource. Always compute#attachedDisk for attached disks.licensesAny valid publicly visible licenses.modeThe mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.sourceSpecifies a URL of the disk attached to the source instance.storageBytesA size of the storage used by the disk's snapshot by this machine image.storageBytesStatusAn 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.typeSpecifies the type of the attached disk, either SCRATCH or PERSISTENT.const -
SavedAttachedDiskResponseComputeBeta.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<
CustomerEncryptionKeyResponseComputeBeta> -
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< GuestOsFeatureResponseComputeBeta> > -
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