AutoscalingLimits 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

AutoscalingLimits({Input<int>? maxNodes, Input<int>? maxProcessingUnits, Input<int>? minNodes, Input<int>? minProcessingUnits})
Creates a new AutoscalingLimits. maxNodes Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes. maxProcessingUnits 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. minNodes Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1. minProcessingUnits Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.
const
AutoscalingLimits.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