ServiceTaskSpecContainerSpecHealthcheck constructor
const
ServiceTaskSpecContainerSpecHealthcheck({})
Creates a new ServiceTaskSpecContainerSpecHealthcheck.
interval Time between running the check (ms|s|m|h). Defaults to 0s.
retries Consecutive failures needed to report unhealthy. Defaults to 0
startPeriod Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to 0s.
tests The test to perform as list
timeout Maximum time to allow one check to run (ms|s|m|h). Defaults to 0s.
Implementation
const ServiceTaskSpecContainerSpecHealthcheck({
this.interval,
this.retries,
this.startPeriod,
this.tests,
this.timeout,
});