BootDisk class
The definition of a boot disk.
Constructors
-
BootDisk({Input<
BootDiskDiskEncryption> ? diskEncryption, Input<String> ? diskSizeGb, Input<BootDiskDiskType> ? diskType, Input<String> ? kmsKey}) -
Creates a new BootDisk.
diskEncryptionOptional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.diskSizeGbOptional. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to the recommended value of 150GB.diskTypeOptional. Indicates the type of the disk.kmsKeyOptional. 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 -
BootDisk.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
diskEncryption
→ Input<
BootDiskDiskEncryption> ? -
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 boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to the recommended value of 150GB.
final
-
diskType
→ Input<
BootDiskDiskType> ? -
Optional. 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