ServerGroupHealthCheck

data class ServerGroupHealthCheck(val healthCheckConnectPort: Int? = null, val healthCheckConnectTimeout: Int? = null, val healthCheckDomain: String? = null, val healthCheckEnabled: Boolean? = null, val healthCheckHttpCodes: List<String>? = null, val healthCheckInterval: Int? = null, val healthCheckType: String? = null, val healthCheckUrl: String? = null, val healthyThreshold: Int? = null, val httpCheckMethod: String? = null, val unhealthyThreshold: Int? = null)

Constructors

Link copied to clipboard
constructor(healthCheckConnectPort: Int? = null, healthCheckConnectTimeout: Int? = null, healthCheckDomain: String? = null, healthCheckEnabled: Boolean? = null, healthCheckHttpCodes: List<String>? = null, healthCheckInterval: Int? = null, healthCheckType: String? = null, healthCheckUrl: String? = null, healthyThreshold: Int? = null, httpCheckMethod: String? = null, unhealthyThreshold: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The port of the backend server for health checks. Valid values: 0 ~ 65535. 0 indicates that the port of the backend server is used for health check.

Link copied to clipboard

Maximum timeout for health check responses. Unit: seconds. Valid values: 1 ~ 300.

Link copied to clipboard

The domain name used for health check. Valid values:

Link copied to clipboard

Whether to enable health check. Valid values:

Link copied to clipboard

Health status return code. Multiple status codes are separated by commas (,). Valid values: http\_2xx, http\_3xx, http\_4xx, and http\_5xx.

Link copied to clipboard

Time interval of health examination. Unit: seconds. Valid values: 5 ~ 50.

Link copied to clipboard
val healthCheckType: String? = null

Health check protocol. Valid values: TCP or HTTP.

Link copied to clipboard
val healthCheckUrl: String? = null

Health check path.

Link copied to clipboard
val healthyThreshold: Int? = null

After the health check is successful, the health check status of the backend server is determined from failed to successful. Valid values: 2 to 10.

Link copied to clipboard
val httpCheckMethod: String? = null

The health check method. Valid values: GET or HEAD.

Link copied to clipboard
val unhealthyThreshold: Int? = null

After the health check fails for many times in a row, the health check status of the backend server is determined from Success to Failure. Valid values: 2 to 10.