ContainerGroupDefinitionContainerHealthCheckArgs

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

Specifies how the process manager checks the health of containers.

Constructors

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

Properties

Link copied to clipboard
val command: Output<List<String>>

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

Link copied to clipboard
val interval: Output<Int>? = null

How often (in seconds) the health is checked.

Link copied to clipboard
val retries: Output<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: Output<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: Output<Int>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): ContainerGroupDefinitionContainerHealthCheckArgs