LivenessCheckResponse constructor

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

Creates a new LivenessCheckResponse. checkInterval Interval between health checks. failureThreshold Number of consecutive failed checks required before considering the VM unhealthy. host Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com" initialDelay The initial delay before starting to execute the checks. path The request path. successThreshold Number of consecutive successful checks required before considering the VM healthy. timeout Time before the check is considered failed.

Implementation

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