InstanceGroupAutoscalingPolicyConfig class

Configuration for the size bounds of an instance group, including its proportional size to other groups.

Constructors

InstanceGroupAutoscalingPolicyConfig({int? maxInstances, int? minInstances, int? weight})
InstanceGroupAutoscalingPolicyConfig.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
maxInstances int?
Maximum number of instances for this group.
getter/setter pair
minInstances int?
Minimum number of instances for this group.Primary workers - Bounds: 2, max_instances.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weight int?
Weight for the instance group, which is used to determine the fraction of total workers in the cluster from this instance group.
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