clb — Cloud Load Balancer
clb · type

TargetGroupHealthCheck

17 fields

FieldTypeDescription
HealthSwitchbooleanWhether to enable the health check.
ProtocolstringHealth check method. among them, only the new version V2 target group type supports this parameter. valid values: TCP | HTTP | HTTPS | PING | CUSTOM. among them:.
PortintegerCustom check parameters. health check port, defaults to the port of the backend service unless you want to specify a specific port, otherwise leave it blank. (applicable only to TCP/UDP target group).
TimeoutintegerHealth check timeout. The default is 2 seconds. Value range: 2-30 seconds.
GapTimeintegerDetection interval time. The default is 5 seconds. Value range: 2-300 seconds.
GoodLimitintegerHealth detection threshold. The default is 3 times. Value range: 2-10 times.
BadLimitintegerUnhealth detection threshold. The default is 3 times. Value range: 2-10 times.
JumboFramebooleanIndicates whether jumbo frames are enabled for probe packets of all rss in the target group. enabled by default. this parameter is supported only for GWLB type target groups.
HttpCodeintegerHealth check status code (applicable only to HTTP/HTTPS target group and HTTP health check method of TCP target group). value range: 1~31. default: 31. among them: 1 means post-detection return value 1xx represents health. 2 means return 2xx represents health. 4 means return 3xx represents health. 8 means return 4xx represents health. 16 means return 5xx represents health. to have multiple retu…
HttpCheckDomainstringHealth check domain name. among them: applicable only to HTTP/HTTPS target groups and TCP target groups when using HTTP health check method. targeting HTTP/HTTPS target groups, this parameter is required when using HTTP health check method..
HttpCheckPathstringHealth check path (applicable only to HTTP/HTTPS forwarding rules and HTTP health checks of TCP listeners).
HttpCheckMethodstringHealth check method (applicable only to HTTP/HTTPS forwarding rules and HTTP health checks of TCP listeners). Default: HEAD. Valid values: HEAD and GET.
ContextTypestringInput format of health check. required when health check method is CUSTOM. valid values: HEX or TEXT. among them: TEXT: TEXT format. HEX: hexadecimal format. characters of SendContext and RecvContext can only be selected from 0123456789ABCDEF and the length must be an even number. applicable only to TCP/UDP target group..
SendContextstringCUSTOM check parameters. required when the CheckType value is CUSTOM, represents the content of the request sent by the health check, only ASCII visible characters, maximum length limit 500. applicable only to TCP/UDP target group.
RecvContextstringCUSTOM check parameters. required when the CheckType value is CUSTOM. represents the result returned by the health check. only ASCII visible characters are allowed. maximum length limit is 500. (applicable only to TCP/UDP target group).
HttpVersionstringHTTP version, where: this field is required if the value of CheckType is HTTP. supports configuration options: HTTP/1.0, HTTP/1.1. applicable only to TCP target group..
ExtendedCodestringHealth check status code when the protocol is GRPC. (this parameter applies only to target groups with the backend forwarding protocol of GRPC.) default value: 12. valid values: a single numerical value, multiple numerical values, or a range. for example, 20, 20,25, or 0-99.

Nested inside