InstanceFromMachineImageBootDisk

data class InstanceFromMachineImageBootDisk(val autoDelete: Boolean? = null, val deviceName: String? = null, val diskEncryptionKeyRaw: String? = null, val diskEncryptionKeySha256: String? = null, val initializeParams: InstanceFromMachineImageBootDiskInitializeParams? = null, val kmsKeySelfLink: String? = null, val mode: String? = null, val source: String? = null)

Constructors

Link copied to clipboard
constructor(autoDelete: Boolean? = null, deviceName: String? = null, diskEncryptionKeyRaw: String? = null, diskEncryptionKeySha256: String? = null, initializeParams: InstanceFromMachineImageBootDiskInitializeParams? = null, kmsKeySelfLink: String? = null, mode: String? = null, source: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val autoDelete: Boolean? = null

Whether the disk will be auto-deleted when the instance is deleted.

Link copied to clipboard
val deviceName: String? = null

Name with which attached disk will be accessible under /dev/disk/by-id/

Link copied to clipboard

A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.

Link copied to clipboard

The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.

Link copied to clipboard

Parameters with which a disk was created alongside the instance.

Link copied to clipboard
val kmsKeySelfLink: String? = null

The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.

Link copied to clipboard
val mode: String? = null

Read/write mode for the disk. One of "READ_ONLY" or "READ_WRITE".

Link copied to clipboard
val source: String? = null

The name or self_link of the disk attached to this instance.