GetBackendServiceOutlierDetection constructor

const GetBackendServiceOutlierDetection({
  1. required Input<List<GetBackendServiceOutlierDetectionBaseEjectionTime>> baseEjectionTimes,
  2. required Input<int> consecutiveErrors,
  3. required Input<int> consecutiveGatewayFailure,
  4. required Input<int> enforcingConsecutiveErrors,
  5. required Input<int> enforcingConsecutiveGatewayFailure,
  6. required Input<int> enforcingSuccessRate,
  7. required Input<List<GetBackendServiceOutlierDetectionInterval>> intervals,
  8. required Input<int> maxEjectionPercent,
  9. required Input<int> successRateMinimumHosts,
  10. required Input<int> successRateRequestVolume,
  11. required Input<int> successRateStdevFactor,
})

Creates a new GetBackendServiceOutlierDetection. baseEjectionTimes The base time that a host is ejected for. The real time is equal to the base consecutiveErrors Number of errors before a host is ejected from the connection pool. When the consecutiveGatewayFailure The number of consecutive gateway failures (502, 503, 504 status or connection enforcingConsecutiveErrors The percentage chance that a host will be actually ejected when an outlier enforcingConsecutiveGatewayFailure The percentage chance that a host will be actually ejected when an outlier enforcingSuccessRate The percentage chance that a host will be actually ejected when an outlier intervals Time interval between ejection sweep analysis. This can result in both new maxEjectionPercent Maximum percentage of hosts in the load balancing pool for the backend service successRateMinimumHosts The number of hosts in a cluster that must have enough request volume to detect successRateRequestVolume The minimum number of total requests that must be collected in one interval (as successRateStdevFactor This factor is used to determine the ejection threshold for success rate outlier

Implementation

const GetBackendServiceOutlierDetection({
  required this.baseEjectionTimes,
  required this.consecutiveErrors,
  required this.consecutiveGatewayFailure,
  required this.enforcingConsecutiveErrors,
  required this.enforcingConsecutiveGatewayFailure,
  required this.enforcingSuccessRate,
  required this.intervals,
  required this.maxEjectionPercent,
  required this.successRateMinimumHosts,
  required this.successRateRequestVolume,
  required this.successRateStdevFactor,
});