DataDiskResponse class
An instance-attached disk resource.
Constructors
-
DataDiskResponse({required Input<
String> diskEncryption, required Input<String> diskSizeGb, required Input<String> diskType, required Input<String> kmsKey}) -
Creates a new DataDiskResponse.
diskEncryptionOptional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.diskSizeGbOptional. 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.diskTypeOptional. Input only. 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 -
DataDiskResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
diskEncryption
→ Input<
String> -
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<
String> -
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