InstancePolicy class

InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy.

Constructors

InstancePolicy({List<Accelerator>? accelerators, Disk? bootDisk, List<AttachedDisk>? disks, String? machineType, String? minCpuPlatform, String? provisioningModel, String? reservation})
InstancePolicy.fromJson(Map json_)

Properties

accelerators List<Accelerator>?
The accelerators attached to each VM instance.
getter/setter pair
bootDisk Disk?
Boot disk to be created and attached to each VM by this InstancePolicy.
getter/setter pair
disks List<AttachedDisk>?
Non-boot disks to be attached for each VM created by this InstancePolicy.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
machineType String?
The Compute Engine machine type.
getter/setter pair
minCpuPlatform String?
The minimum CPU platform.
getter/setter pair
provisioningModel String?
The provisioning model. Possible string values are:
getter/setter pair
reservation String?
If specified, VMs will consume only the specified reservation.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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