GetHealthCheckTemplatesTemplate

data class GetHealthCheckTemplatesTemplate(val healthCheckCodes: List<String>, val healthCheckConnectPort: Int, val healthCheckHost: String, val healthCheckHttpVersion: String, val healthCheckInterval: Int, val healthCheckMethod: String, val healthCheckPath: String, val healthCheckProtocol: String, val healthCheckTemplateId: String, val healthCheckTemplateName: String, val healthCheckTimeout: Int, val healthyThreshold: Int, val id: String, val unhealthyThreshold: Int)

Constructors

Link copied to clipboard
constructor(healthCheckCodes: List<String>, healthCheckConnectPort: Int, healthCheckHost: String, healthCheckHttpVersion: String, healthCheckInterval: Int, healthCheckMethod: String, healthCheckPath: String, healthCheckProtocol: String, healthCheckTemplateId: String, healthCheckTemplateName: String, healthCheckTimeout: Int, healthyThreshold: Int, id: String, unhealthyThreshold: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The HTTP status code that indicates a successful health check.

Link copied to clipboard

The number of the port that is used for health checks. Valid values: 0 to 65535. Default value:0. This default value indicates that the backend server is used for health checks.

Link copied to clipboard

The domain name that is used for health checks. Default value: $SERVER_IP. The domain name must be 1 to 80 characters in length.

Link copied to clipboard

The version of the HTTP protocol. Valid values: HTTP1.0 and HTTP1.1. Default value: HTTP1.1.

Link copied to clipboard

The time interval between two consecutive health checks. Valid values: 1 to 50. Unit: seconds. Default value: 2.

Link copied to clipboard

The health check method. Valid values: GET and HEAD. Default value: HEAD.

Link copied to clipboard

The URL that is used for health checks. The URL must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), percent signs (%), question marks (?), number signs (#), and ampersands (&). The URL can also contain the following extended characters: _ ; ~ ! ( )* [ ] @ $ ^ : ' , +. The URL must start with a forward slash (/).

Link copied to clipboard

The protocol that is used for health checks. Valid values: HTTP and TCP. Default value: HTTP.

Link copied to clipboard

The ID of the resource.

Link copied to clipboard

The name of the health check template. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.

Link copied to clipboard

The timeout period of a health check response. If the backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the health check fails. Valid values: 1 to 300. Unit: seconds. Default value: 5.

Link copied to clipboard

The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy (from fail to success). Valid values: 2 to 10. Default value: 3. Unit: seconds.

Link copied to clipboard
val id: String

The ID of the Health Check Template.

Link copied to clipboard

The number of times that an healthy backend server must consecutively fail health checks before it is declared unhealthy (from success to fail). Valid values: 2 to 10. Default value: 3. Unit: seconds.