GetInstanceBootDisk class
Constructors
-
GetInstanceBootDisk({required Input<bool> autoDelete, required Input<String> deviceName, required Input<String> diskEncryptionKeyRaw, required Input<String> diskEncryptionKeyRsa, required Input<String> diskEncryptionKeySha256, required Input<String> diskEncryptionServiceAccount, required Input<bool> forceAttach, required Input<List<String>> guestOsFeatures, required Input<List<GetInstanceBootDiskInitializeParam>> initializeParams, required Input<String> interface, required Input<String> kmsKeySelfLink, required Input<String> mode, required Input<String> source})
-
Creates a new GetInstanceBootDisk.
autoDelete Whether the disk will be auto-deleted when the instance is deleted.
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, diskEncryptionKeyRaw and diskEncryptionKeyRsa 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, diskEncryptionKeyRaw and diskEncryptionKeyRsa 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.
guestOsFeatures A list of features to enable on the guest operating system. Applicable only for bootable images.
initializeParams Parameters with which a disk was created alongside the instance.
interface The disk interface used for attaching this disk. One of SCSI or NVME.
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, diskEncryptionKeyRaw and diskEncryptionKeyRsa 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.
const
-
GetInstanceBootDisk.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
autoDelete
→ Input<bool>
-
Whether the disk will be auto-deleted when the instance is deleted.
final
-
deviceName
→ Input<String>
-
Name with which the attached disk is accessible
under
/dev/disk/by-id/
final
-
diskEncryptionKeyRaw
→ Input<String>
-
A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link, diskEncryptionKeyRaw and diskEncryptionKeyRsa may be set.
final
-
diskEncryptionKeyRsa
→ Input<String>
-
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, diskEncryptionKeyRaw and diskEncryptionKeyRsa may be set.
final
-
diskEncryptionKeySha256
→ Input<String>
-
The RFC 4648 base64
encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
final
-
diskEncryptionServiceAccount
→ Input<String>
-
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used
final
-
forceAttach
→ Input<bool>
-
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.
final
-
guestOsFeatures
→ Input<List<String>>
-
A list of features to enable on the guest operating system. Applicable only for bootable images.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
initializeParams
→ Input<List<GetInstanceBootDiskInitializeParam>>
-
Parameters with which a disk was created alongside the instance.
Structure is documented below.
final
-
interface
→ Input<String>
-
The disk interface used for attaching this disk. One of
SCSI or NVME.
final
-
kmsKeySelfLink
→ Input<String>
-
The selfLink of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link, diskEncryptionKeyRaw and diskEncryptionKeyRsa may be set.
final
-
mode
→ Input<String>
-
Read/write mode for the disk. One of
"READ_ONLY" or "READ_WRITE".
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
source
→ Input<String>
-
The selfLink of the disk attached to this instance.
final