Get Health Check Templates Template
Constructors
Properties
The HTTP status code that indicates a successful health check.
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.
The domain name that is used for health checks. Default value: $SERVER_IP
. The domain name must be 1 to 80 characters in length.
The version of the HTTP protocol. Valid values: HTTP1.0
and HTTP1.1
. Default value: HTTP1.1
.
The time interval between two consecutive health checks. Valid values: 1
to 50
. Unit: seconds. Default value: 2
.
The health check method. Valid values: GET
and HEAD
. Default value: HEAD
.
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 (/)
.
The protocol that is used for health checks. Valid values: HTTP and TCP. Default value: HTTP.
The ID of the resource.
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.
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
.
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.
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.