InstanceBootDisk class

Constructors

InstanceBootDisk({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<InstanceBootDiskInitializeParams?>? initializeParams, Input<String?>? interface, Input<String?>? kmsKeySelfLink, Input<String?>? mode, Input<String?>? source})
Creates a new InstanceBootDisk. autoDelete Whether the disk will be auto-deleted when the instance deviceName Name with which 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 boolean field that determines whether to force attach the regional guestOsFeatures A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. initializeParams Parameters for a new disk that will be created 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 mode The mode in which to attach this disk, either READ_WRITE source The name or selfLink of the existing disk (such as those managed by
const
InstanceBootDisk.fromMap(Map<String, dynamic> map)
factory

Properties

autoDelete → Input<bool?>?
Whether the disk will be auto-deleted when the instance is deleted. Defaults to true.
final
deviceName → Input<String?>?
Name with which attached disk will be accessible. On the instance, this device will be /dev/disk/by-id/google-{{device_name}}.
final
diskEncryptionKeyRaw → Input<String?>?
A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kmsKeySelfLink, diskEncryptionKeyRsa and diskEncryptionKeyRaw may be set.
final
diskEncryptionKeyRsa → Input<String?>?
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
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?>?
boolean field that determines 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. Read Enabling guest operating system features to see a list of available options.
final
hashCode → int
The hash code for this object.
no setterinherited
initializeParams → Input<InstanceBootDiskInitializeParams?>?
Parameters for a new disk that will be created alongside the new instance. Either initializeParams or source must be set. Structure is documented below.
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 kmsKeySelfLink, diskEncryptionKeyRsa and diskEncryptionKeyRaw may be set.
final
mode → Input<String?>?
The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → Input<String?>?
The name or selfLink of the existing disk (such as those managed by gcp.compute.Disk) or disk image. To create an instance from a snapshot, first create a gcp.compute.Disk from a snapshot and reference it here.
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