InstanceFromTemplateAttachedDisk class

Constructors

InstanceFromTemplateAttachedDisk({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 InstanceFromTemplateAttachedDisk. deviceName Name with which the attached disk is 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, 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 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. 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 name or selfLink of the disk attached to this instance.
const
InstanceFromTemplateAttachedDisk.fromMap(Map<String, dynamic> map)
factory

Properties

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, 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 either encrypt or decrypt this resource. Only one of kms_key_self_link, diskEncryptionKeyRsa and diskEncryptionKeyRaw 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
hashCode → int
The hash code for this object.
no setterinherited
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.
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