WorkerResourceResponse constructor

const WorkerResourceResponse({
  1. required Input<double> cpu,
  2. required Input<int> maxCount,
  3. required Input<double> memoryGb,
  4. required Input<int> minCount,
  5. required Input<double> storageGb,
})

Creates a new WorkerResourceResponse. cpu Optional. CPU request and limit for a single Airflow worker replica. maxCount Optional. Maximum number of workers for autoscaling. memoryGb Optional. Memory (GB) request and limit for a single Airflow worker replica. minCount Optional. Minimum number of workers for autoscaling. storageGb Optional. Storage (GB) request and limit for a single Airflow worker replica.

Implementation

const WorkerResourceResponse({
  required this.cpu,
  required this.maxCount,
  required this.memoryGb,
  required this.minCount,
  required this.storageGb,
});