ContainerGroupDefinitionContainerHealthCheck

data class ContainerGroupDefinitionContainerHealthCheck(val command: List<String>, val interval: Int? = null, val retries: Int? = null, val startPeriod: Int? = null, val timeout: Int? = null)

Specifies how the process manager checks the health of containers.

Constructors

constructor(command: List<String>, interval: Int? = null, retries: Int? = null, startPeriod: Int? = null, timeout: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A string array representing the command that the container runs to determine if it is healthy.

Link copied to clipboard
val interval: Int? = null

How often (in seconds) the health is checked.

Link copied to clipboard
val retries: Int? = null

How many times the process manager will retry the command after a timeout. (The first run of the command does not count as a retry.)

Link copied to clipboard
val startPeriod: Int? = null

The optional grace period (in seconds) to give a container time to boostrap before teh health check is declared failed.

Link copied to clipboard
val timeout: Int? = null

How many seconds the process manager allows the command to run before canceling it.