HealthCheckResponse

data class HealthCheckResponse(val checkInterval: String, val disableHealthCheck: Boolean, val healthyThreshold: Int, val host: String, val restartThreshold: Int, val timeout: String, val unhealthyThreshold: Int)

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 HealthCheckResponse(checkInterval: String, disableHealthCheck: Boolean, healthyThreshold: Int, host: String, restartThreshold: Int, timeout: String, unhealthyThreshold: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Interval between health checks.

Link copied to clipboard

Whether to explicitly disable health checks for this instance.

Link copied to clipboard

Number of consecutive successful health checks required before receiving traffic.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Time before the health check is considered failed.

Link copied to clipboard

Number of consecutive failed health checks required before removing traffic.