AutoscalingLimitsResponse class
The autoscaling limits for the instance. Users can define the minimum and maximum compute capacity allocated to the instance, and the autoscaler will only scale within that range. Users can either use nodes or processing units to specify the limits, but should use the same unit to set both the min_limit and max_limit.
Constructors
-
AutoscalingLimitsResponse({required Input<
int> maxNodes, required Input<int> maxProcessingUnits, required Input<int> minNodes, required Input<int> minProcessingUnits}) -
Creates a new AutoscalingLimitsResponse.
maxNodesMaximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.maxProcessingUnitsMaximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.minNodesMinimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.minProcessingUnitsMinimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.const -
AutoscalingLimitsResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
maxNodes
→ Input<
int> -
Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.
final
-
maxProcessingUnits
→ Input<
int> -
Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
final
-
minNodes
→ Input<
int> -
Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.
final
-
minProcessingUnits
→ Input<
int> -
Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.
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