AutoscalingPolicyScaleInControlResponseComputeV1 constructor

const AutoscalingPolicyScaleInControlResponseComputeV1({
  1. required Input<FixedOrPercentResponseComputeV1> maxScaledInReplicas,
  2. required Input<int> timeWindowSec,
})

Creates a new AutoscalingPolicyScaleInControlResponseComputeV1. 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 AutoscalingPolicyScaleInControlResponseComputeV1({
  required this.maxScaledInReplicas,
  required this.timeWindowSec,
});