ComputeAutoscalerAutoscalerScaleInControl class
scale_in_control block. Caps how aggressively the autoscaler may
shed replicas inside a timeWindowSec-second sliding window — useful
for stateful workloads that need warm capacity to drain gracefully.
- Annotations
-
- @immutable
Constructors
-
ComputeAutoscalerAutoscalerScaleInControl({ComputeAutoscalerAutoscalerScaleInReplicas? maxScaledInReplicas, TfArg<
int> ? timeWindowSec}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxScaledInReplicas → ComputeAutoscalerAutoscalerScaleInReplicas?
-
Upper bound on replicas removed within timeWindowSec. The schema
requires at least one of maxScaledInReplicas / timeWindowSec;
both are typically set together.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
timeWindowSec
→ TfArg<
int> ? -
Lookback window, in seconds. The autoscaler computes a moving
total of scale-in events over this duration and refuses to exceed
maxScaledInReplicas within it.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toArgMap(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited