SavedAttachedDiskResponse

data class SavedAttachedDiskResponse(val autoDelete: Boolean, val boot: Boolean, val deviceName: String, val diskEncryptionKey: CustomerEncryptionKeyResponse, val diskSizeGb: String, val diskType: String, val guestOsFeatures: List<GuestOsFeatureResponse>, val index: Int, val interface: String, val kind: String, val licenses: List<String>, val mode: String, val source: String, val storageBytes: String, val storageBytesStatus: String, val type: String)

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

Constructors

Link copied to clipboard
fun SavedAttachedDiskResponse(autoDelete: Boolean, boot: Boolean, deviceName: String, diskEncryptionKey: CustomerEncryptionKeyResponse, diskSizeGb: String, diskType: String, guestOsFeatures: List<GuestOsFeatureResponse>, index: Int, interface: String, kind: String, licenses: List<String>, mode: String, source: String, storageBytes: String, storageBytesStatus: String, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).

Link copied to clipboard

Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.

Link copied to clipboard

Specifies the name of the disk attached to the source instance.

Link copied to clipboard

The encryption key for the disk.

Link copied to clipboard

The size of the disk in base-2 GB.

Link copied to clipboard

URL of the disk type resource. For example: projects/project /zones/zone/diskTypes/pd-standard or pd-ssd

Link copied to clipboard

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.

Link copied to clipboard
val index: Int

Specifies zero-based index of the disk that is attached to the source instance.

Link copied to clipboard

Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.

Link copied to clipboard

Type of the resource. Always compute#attachedDisk for attached disks.

Link copied to clipboard

Any valid publicly visible licenses.

Link copied to clipboard

The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.

Link copied to clipboard

Specifies a URL of the disk attached to the source instance.

Link copied to clipboard

A size of the storage used by the disk's snapshot by this machine image.

Link copied to clipboard

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.

Link copied to clipboard

Specifies the type of the attached disk, either SCRATCH or PERSISTENT.