GetInstanceAttachedDisk constructor

const GetInstanceAttachedDisk({
  1. required Input<String> deviceName,
  2. required Input<String> diskEncryptionKeyRaw,
  3. required Input<String> diskEncryptionKeyRsa,
  4. required Input<String> diskEncryptionKeySha256,
  5. required Input<String> diskEncryptionServiceAccount,
  6. required Input<bool> forceAttach,
  7. required Input<String> kmsKeySelfLink,
  8. required Input<String> mode,
  9. required Input<String> source,
})

Creates a new GetInstanceAttachedDisk. deviceName Name with which the attached disk is accessible diskEncryptionKeyRaw A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link, diskEncryptionKeyRsa and diskEncryptionKeyRaw may be set. diskEncryptionKeyRsa Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. Only one of kms_key_self_link, diskEncryptionKeyRsa and diskEncryptionKeyRaw may be set. 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 stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link, diskEncryptionKeyRsa and diskEncryptionKeyRaw may be set. mode Read/write mode for the disk. One of "READ_ONLY" or "READ_WRITE". source The selfLink of the disk attached to this instance.

Implementation

const GetInstanceAttachedDisk({
  required this.deviceName,
  required this.diskEncryptionKeyRaw,
  required this.diskEncryptionKeyRsa,
  required this.diskEncryptionKeySha256,
  required this.diskEncryptionServiceAccount,
  required this.forceAttach,
  required this.kmsKeySelfLink,
  required this.mode,
  required this.source,
});