SavedAttachedDiskResponseComputeBeta constructor

const SavedAttachedDiskResponseComputeBeta({
  1. required Input<bool> autoDelete,
  2. required Input<bool> boot,
  3. required Input<String> deviceName,
  4. required Input<CustomerEncryptionKeyResponseComputeBeta> diskEncryptionKey,
  5. required Input<String> diskSizeGb,
  6. required Input<String> diskType,
  7. required Input<List<GuestOsFeatureResponseComputeBeta>> guestOsFeatures,
  8. required Input<int> index,
  9. required Input<String> interface,
  10. required Input<String> kind,
  11. required Input<List<String>> licenses,
  12. required Input<String> mode,
  13. required Input<String> source,
  14. required Input<String> storageBytes,
  15. required Input<String> storageBytesStatus,
  16. required Input<String> type,
})

Creates a new SavedAttachedDiskResponseComputeBeta. 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.

Implementation

const SavedAttachedDiskResponseComputeBeta({
  required this.autoDelete,
  required this.boot,
  required this.deviceName,
  required this.diskEncryptionKey,
  required this.diskSizeGb,
  required this.diskType,
  required this.guestOsFeatures,
  required this.index,
  required this.interface,
  required this.kind,
  required this.licenses,
  required this.mode,
  required this.source,
  required this.storageBytes,
  required this.storageBytesStatus,
  required this.type,
});