AutoscalingPolicyScaleDownControlResponse class
Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below.
Constructors
-
AutoscalingPolicyScaleDownControlResponse({required Input<
FixedOrPercentResponse> maxScaledDownReplicas, required Input<int> timeWindowSec}) -
Creates a new AutoscalingPolicyScaleDownControlResponse.
maxScaledDownReplicasMaximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.timeWindowSecHow far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.const -
AutoscalingPolicyScaleDownControlResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
maxScaledDownReplicas
→ Input<
FixedOrPercentResponse> -
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
timeWindowSec
→ Input<
int> -
How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.
final
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