ReadinessCheckResponse constructor

const ReadinessCheckResponse({
  1. required Input<String> appStartTimeout,
  2. required Input<String> checkInterval,
  3. required Input<int> failureThreshold,
  4. required Input<String> host,
  5. required Input<String> path,
  6. required Input<int> successThreshold,
  7. required Input<String> timeout,
})

Creates a new ReadinessCheckResponse. appStartTimeout A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. checkInterval Interval between health checks. failureThreshold Number of consecutive failed checks required before removing traffic. host Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com" path The request path. successThreshold Number of consecutive successful checks required before receiving traffic. timeout Time before the check is considered failed.

Implementation

const ReadinessCheckResponse({
  required this.appStartTimeout,
  required this.checkInterval,
  required this.failureThreshold,
  required this.host,
  required this.path,
  required this.successThreshold,
  required this.timeout,
});