AttachedDiskInitializeParams class

[Input Only] Specifies the parameters for a new disk that will be created alongside the new instance.

Use initialization parameters to create boot disks or local SSDs attached to the new instance. This field is persisted and returned for instanceTemplate and not returned in the context of instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both.

Constructors

AttachedDiskInitializeParams({String? architecture, String? description, String? diskName, String? diskSizeGb, String? diskType, bool? enableConfidentialCompute, Map<String, String>? labels, List<String>? licenses, String? onUpdateAction, String? provisionedIops, String? provisionedThroughput, List<String>? replicaZones, Map<String, String>? resourceManagerTags, List<String>? resourcePolicies, String? sourceImage, CustomerEncryptionKey? sourceImageEncryptionKey, String? sourceSnapshot, CustomerEncryptionKey? sourceSnapshotEncryptionKey, String? storagePool})
AttachedDiskInitializeParams.fromJson(Map json_)

Properties

architecture String?
The architecture of the attached disk.
getter/setter pair
description String?
An optional description.
getter/setter pair
diskName String?
Specifies the disk name.
getter/setter pair
diskSizeGb String?
Specifies the size of the disk in base-2 GB.
getter/setter pair
diskType String?
Specifies the disk type to use to create the instance.
getter/setter pair
enableConfidentialCompute bool?
Whether this disk is using confidential compute mode.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
labels Map<String, String>?
Labels to apply to this disk.
getter/setter pair
licenses List<String>?
A list of publicly visible licenses.
getter/setter pair
onUpdateAction String?
Specifies which action to take on instance update with this disk.
getter/setter pair
provisionedIops String?
Indicates how many IOPS to provision for the disk.
getter/setter pair
provisionedThroughput String?
Indicates how much throughput to provision for the disk.
getter/setter pair
replicaZones List<String>?
Required for each regional disk associated with the instance.
getter/setter pair
resourceManagerTags Map<String, String>?
Resource manager tags to be bound to the disk.
getter/setter pair
resourcePolicies List<String>?
Resource policies applied to this disk for automatic snapshot creations.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceImage String?
The source image to create this disk.
getter/setter pair
sourceImageEncryptionKey CustomerEncryptionKey?
The customer-supplied encryption key of the source image.
getter/setter pair
sourceSnapshot String?
The source snapshot to create this disk.
getter/setter pair
sourceSnapshotEncryptionKey CustomerEncryptionKey?
The customer-supplied encryption key of the source snapshot.
getter/setter pair
storagePool String?
The storage pool in which the new disk is created.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited