ReadinessCheckArgs

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

Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.

Constructors

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

Functions

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

Properties

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

A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.

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 removing traffic.

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

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

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 receiving traffic.

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

Time before the check is considered failed.