AutoscalingPolicy class
Autoscaling policy describes the behavior of the autoscaling with respect to the resource utilization.
The scale-out operation is initiated if the utilization exceeds ANY of the respective thresholds. The scale-in operation is initiated if the utilization is below ALL of the respective thresholds.
Constructors
- AutoscalingPolicy.new({Thresholds? consumedMemoryThresholds, Thresholds? cpuThresholds, Thresholds? grantedMemoryThresholds, String? nodeTypeId, int? scaleOutSize, Thresholds? storageThresholds})
- AutoscalingPolicy.fromJson(Map json_)
Properties
- consumedMemoryThresholds ↔ Thresholds?
-
Utilization thresholds pertaining to amount of consumed memory.
getter/setter pair
- cpuThresholds ↔ Thresholds?
-
Utilization thresholds pertaining to CPU utilization.
getter/setter pair
- grantedMemoryThresholds ↔ Thresholds?
-
Utilization thresholds pertaining to amount of granted memory.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- nodeTypeId ↔ String?
-
The canonical identifier of the node type to add or remove.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleOutSize ↔ int?
-
Number of nodes to add to a cluster during a scale-out operation.
getter/setter pair
- storageThresholds ↔ Thresholds?
-
Utilization thresholds pertaining to amount of consumed storage.
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