AutoscalingPolicyScaleDownControlResponse constructor

const AutoscalingPolicyScaleDownControlResponse({
  1. required Input<FixedOrPercentResponse> maxScaledDownReplicas,
  2. required Input<int> timeWindowSec,
})

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