InstanceAttachedDisk constructor
- Input<
String?> ? deviceName, - Input<
String?> ? diskEncryptionKeyRaw, - Input<
String?> ? diskEncryptionKeyRsa, - Input<
String?> ? diskEncryptionKeySha256, - Input<
String?> ? diskEncryptionServiceAccount, - Input<
bool?> ? forceAttach, - Input<
String?> ? kmsKeySelfLink, - Input<
String?> ? mode, - required Input<
String> source,
Creates a new InstanceAttachedDisk.
deviceName Name with which the attached disk will be accessible
diskEncryptionKeyRaw A 256-bit customer-supplied encryption key,
diskEncryptionKeyRsa Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to encrypt this disk. Only one of kmsKeySelfLink, diskEncryptionKeyRsa and diskEncryptionKeyRaw
diskEncryptionKeySha256 The RFC 4648 base64
diskEncryptionServiceAccount The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
forceAttach Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error. Setting this parameter cause VM recreation.
kmsKeySelfLink The selfLink of the encryption key that is
mode Either "READ_ONLY" or "READ_WRITE", defaults to "READ_WRITE"
source The name or selfLink of the disk to attach to this instance.
Implementation
const InstanceAttachedDisk({
this.deviceName,
this.diskEncryptionKeyRaw,
this.diskEncryptionKeyRsa,
this.diskEncryptionKeySha256,
this.diskEncryptionServiceAccount,
this.forceAttach,
this.kmsKeySelfLink,
this.mode,
required this.source,
});