AutoscalingPolicyScaleInControlComputeV1 constructor

const AutoscalingPolicyScaleInControlComputeV1({
  1. Input<FixedOrPercentComputeV1>? maxScaledInReplicas,
  2. Input<int>? timeWindowSec,
})

Creates a new AutoscalingPolicyScaleInControlComputeV1. maxScaledInReplicas 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. timeWindowSec How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.

Implementation

const AutoscalingPolicyScaleInControlComputeV1({
  this.maxScaledInReplicas,
  this.timeWindowSec,
});