LoadBalancerHealthcheckArgs

data class LoadBalancerHealthcheckArgs(val checkIntervalSeconds: Output<Int>? = null, val healthyThreshold: Output<Int>? = null, val path: Output<String>? = null, val port: Output<Int>, val protocol: Output<String>, val responseTimeoutSeconds: Output<Int>? = null, val unhealthyThreshold: Output<Int>? = null) : ConvertibleToJava<LoadBalancerHealthcheckArgs>

Constructors

Link copied to clipboard
constructor(checkIntervalSeconds: Output<Int>? = null, healthyThreshold: Output<Int>? = null, path: Output<String>? = null, port: Output<Int>, protocol: Output<String>, responseTimeoutSeconds: Output<Int>? = null, unhealthyThreshold: Output<Int>? = null)

Properties

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

The number of seconds between two consecutive health checks. If not specified, the default value is 10.

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

The number of times a health check must pass for a backend Droplet to be marked "healthy" and be re-added to the pool. If not specified, the default value is 5.

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

The path on the backend Droplets to which the Load Balancer instance will send a request.

Link copied to clipboard
val port: Output<Int>

An integer representing the port on the backend Droplets on which the health check will attempt a connection.

Link copied to clipboard
val protocol: Output<String>

The protocol used for health checks sent to the backend Droplets. The possible values are http, https or tcp.

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

The number of seconds the Load Balancer instance will wait for a response until marking a health check as failed. If not specified, the default value is 5.

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

The number of times a health check must fail for a backend Droplet to be marked "unhealthy" and be removed from the pool. If not specified, the default value is 3.

Functions

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