AutomaticScalingResponse constructor

const AutomaticScalingResponse({
  1. required Input<String> coolDownPeriod,
  2. required Input<CpuUtilizationResponse> cpuUtilization,
  3. required Input<DiskUtilizationResponse> diskUtilization,
  4. required Input<int> maxConcurrentRequests,
  5. required Input<int> maxIdleInstances,
  6. required Input<String> maxPendingLatency,
  7. required Input<int> maxTotalInstances,
  8. required Input<int> minIdleInstances,
  9. required Input<String> minPendingLatency,
  10. required Input<int> minTotalInstances,
  11. required Input<NetworkUtilizationResponse> networkUtilization,
  12. required Input<RequestUtilizationResponse> requestUtilization,
  13. required Input<StandardSchedulerSettingsResponse> standardSchedulerSettings,
})

Creates a new AutomaticScalingResponse. coolDownPeriod The time period that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment. cpuUtilization Target scaling by CPU usage. diskUtilization Target scaling by disk usage. maxConcurrentRequests Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value. maxIdleInstances Maximum number of idle instances that should be maintained for this version. maxPendingLatency Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it. maxTotalInstances Maximum number of instances that should be started to handle requests for this version. minIdleInstances Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service. minPendingLatency Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it. minTotalInstances Minimum number of running instances that should be maintained for this version. networkUtilization Target scaling by network usage. requestUtilization Target scaling by request utilization. standardSchedulerSettings Scheduler settings for standard environment.

Implementation

const AutomaticScalingResponse({
  required this.coolDownPeriod,
  required this.cpuUtilization,
  required this.diskUtilization,
  required this.maxConcurrentRequests,
  required this.maxIdleInstances,
  required this.maxPendingLatency,
  required this.maxTotalInstances,
  required this.minIdleInstances,
  required this.minPendingLatency,
  required this.minTotalInstances,
  required this.networkUtilization,
  required this.requestUtilization,
  required this.standardSchedulerSettings,
});