HealthCheckArgs

data class HealthCheckArgs(val checkInterval: Output<String>? = null, val disableHealthCheck: Output<Boolean>? = null, val healthyThreshold: Output<Int>? = null, val host: Output<String>? = null, val restartThreshold: Output<Int>? = null, val timeout: Output<String>? = null, val unhealthyThreshold: Output<Int>? = null) : ConvertibleToJava<HealthCheckArgs>

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.

Constructors

Link copied to clipboard
fun HealthCheckArgs(checkInterval: Output<String>? = null, disableHealthCheck: Output<Boolean>? = null, healthyThreshold: Output<Int>? = null, host: Output<String>? = null, restartThreshold: Output<Int>? = null, timeout: Output<String>? = null, unhealthyThreshold: Output<Int>? = null)

Functions

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

Properties

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

Interval between health checks.

Link copied to clipboard
val disableHealthCheck: Output<Boolean>? = null

Whether to explicitly disable health checks for this instance.

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

Number of consecutive successful health checks required before receiving traffic.

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

Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"

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

Number of consecutive failed health checks required before an instance is restarted.

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

Time before the health check is considered failed.

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

Number of consecutive failed health checks required before removing traffic.