InstanceFromMachineImageBootDisk class

Constructors

InstanceFromMachineImageBootDisk({Input<bool?>? autoDelete, Input<String?>? deviceName, Input<String?>? diskEncryptionKeyRaw, Input<String?>? diskEncryptionKeyRsa, Input<String?>? diskEncryptionKeySha256, Input<String?>? diskEncryptionServiceAccount, Input<bool?>? forceAttach, Input<List<String>?>? guestOsFeatures, Input<InstanceFromMachineImageBootDiskInitializeParams?>? initializeParams, Input<String?>? interface, Input<String?>? kmsKeySelfLink, Input<String?>? mode, Input<String?>? source})
Creates a new InstanceFromMachineImageBootDisk. autoDelete Whether the disk will be auto-deleted when the instance is deleted. deviceName Name with which attached disk will be accessible under /dev/disk/by-id/ 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 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource. 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. (This field is shared with attachedDisk and only used for specific cases, please don't specify this field without advice from Google.) 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 name or selfLink of the disk attached to this instance.
const
InstanceFromMachineImageBootDisk.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 attached disk will be 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<InstanceFromMachineImageBootDiskInitializeParams?>?
Parameters with which a disk was created alongside the instance.
final
interface → Input<String?>?
The disk interface used for attaching this disk. One of SCSI or NVME. (This field is shared with attachedDisk and only used for specific cases, please don't specify this field without advice from Google.)
final
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 name or selfLink of the disk attached to this instance.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited