InstanceAttachedDiskArgs

data class InstanceAttachedDiskArgs(val deviceName: Output<String>? = null, val diskEncryptionKeyRaw: Output<String>? = null, val diskEncryptionKeyRsa: Output<String>? = null, val diskEncryptionKeySha256: Output<String>? = null, val diskEncryptionServiceAccount: Output<String>? = null, val kmsKeySelfLink: Output<String>? = null, val mode: Output<String>? = null, val source: Output<String>) : ConvertibleToJava<InstanceAttachedDiskArgs>

Constructors

Link copied to clipboard
constructor(deviceName: Output<String>? = null, diskEncryptionKeyRaw: Output<String>? = null, diskEncryptionKeyRsa: Output<String>? = null, diskEncryptionKeySha256: Output<String>? = null, diskEncryptionServiceAccount: Output<String>? = null, kmsKeySelfLink: Output<String>? = null, mode: Output<String>? = null, source: Output<String>)

Properties

Link copied to clipboard
val deviceName: Output<String>? = null

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

Link copied to clipboard
val diskEncryptionKeyRaw: Output<String>? = null

A 256-bit customer-supplied encryption key (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption), encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link, disk_encryption_key_rsa and disk_encryption_key_raw may be set.

Link copied to clipboard
val diskEncryptionKeyRsa: Output<String>? = null

Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) to encrypt this disk. Only one of kms_key_self_link, disk_encryption_key_rsa and disk_encryption_key_raw may be set.

Link copied to clipboard
val diskEncryptionKeySha256: Output<String>? = null

The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.

Link copied to clipboard

The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.

Link copied to clipboard
val kmsKeySelfLink: Output<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, disk_encryption_key_rsa and disk_encryption_key_raw may be set.

Link copied to clipboard
val mode: Output<String>? = null

Either "READ_ONLY" or "READ_WRITE", defaults to "READ_WRITE" If you have a persistent disk with data that you want to share between multiple instances, detach it from any read-write instances and attach it to one or more instances in read-only mode.

Link copied to clipboard
val source: Output<String>

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

Functions

Link copied to clipboard
open override fun toJava(): InstanceAttachedDiskArgs