LivenessCheckArgs

data class LivenessCheckArgs(val checkInterval: Output<String>? = null, val failureThreshold: Output<Int>? = null, val host: Output<String>? = null, val initialDelay: Output<String>? = null, val path: Output<String>? = null, val successThreshold: Output<Int>? = null, val timeout: Output<String>? = null) : ConvertibleToJava<LivenessCheckArgs>

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.

Constructors

Link copied to clipboard
fun LivenessCheckArgs(checkInterval: Output<String>? = null, failureThreshold: Output<Int>? = null, host: Output<String>? = null, initialDelay: Output<String>? = null, path: Output<String>? = null, successThreshold: Output<Int>? = null, timeout: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard
val checkInterval: Output<String>? = null

Interval between health checks.

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

Number of consecutive failed checks required before considering the VM unhealthy.

Link copied to clipboard
val host: Output<String>? = null

Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"

Link copied to clipboard
val initialDelay: Output<String>? = null

The initial delay before starting to execute the checks.

Link copied to clipboard
val path: Output<String>? = null

The request path.

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

Number of consecutive successful checks required before considering the VM healthy.

Link copied to clipboard
val timeout: Output<String>? = null

Time before the check is considered failed.