DataDisk class

An instance-attached disk resource.

Constructors

DataDisk({Input<DataDiskDiskEncryption>? diskEncryption, Input<String>? diskSizeGb, Input<DataDiskDiskType>? diskType, Input<String>? kmsKey})
Creates a new DataDisk. diskEncryption Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK. diskSizeGb Optional. The size of the disk in GB attached to this VM instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to 100. diskType Optional. Input only. Indicates the type of the disk. kmsKey Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id} Learn more about using your own encryption keys.
const
DataDisk.fromMap(Map<String, dynamic> map)
factory

Properties

diskEncryption → Input<DataDiskDiskEncryption>?
Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
final
diskSizeGb → Input<String>?
Optional. The size of the disk in GB attached to this VM instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to 100.
final
diskType → Input<DataDiskDiskType>?
Optional. Input only. Indicates the type of the disk.
final
hashCode → int
The hash code for this object.
no setterinherited
kmsKey → Input<String>?
Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id} Learn more about using your own encryption keys.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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