InstanceFlexibilityPolicyInstanceSelection class

Specification of machine type to use.

Every position inside this message is an alternative. The count specified in the shape flexibility must not exceed the number of entries in per_instance_properties or the capacity of the name_pattern, if used.

Properties

disks List<AttachedDisk>?
Disks to be attached to the instances created from in this selection. They override the disks specified in the instance properties.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
machineTypes List<String>?
Alternative machine types to use for instances that are created from these properties.
getter/setter pair
rank String?
Rank when prioritizing the shape flexibilities. The instance selections with rank are considered first, in the ascending order of the rank. If not set, defaults to 0.
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