Skip to content

Commit 2b910d8

Browse files
authored
remove http interval time limit (#1848)
1 parent fcb421b commit 2b910d8

8 files changed

+10
-10
lines changed

tencentcloud/data_source_tc_clb_listener_rules.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func dataSourceTencentCloudClbListenerRules() *schema.Resource {
106106
"health_check_interval_time": {
107107
Type: schema.TypeInt,
108108
Computed: true,
109-
Description: "Interval time of health check. The value range is 5-300 sec, and the default is `5` sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.",
109+
Description: "Interval time of health check. The value range is 2-300 sec, and the default is `5` sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.",
110110
},
111111
"health_check_health_num": {
112112
Type: schema.TypeInt,

tencentcloud/data_source_tc_clb_listeners.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func dataSourceTencentCloudClbListeners() *schema.Resource {
100100
"health_check_interval_time": {
101101
Type: schema.TypeInt,
102102
Computed: true,
103-
Description: "Interval time of health check. The value range is 5-300 sec, and the default is `5` sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.",
103+
Description: "Interval time of health check. The value range is 2-300 sec, and the default is `5` sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.",
104104
},
105105
"health_check_health_num": {
106106
Type: schema.TypeInt,

tencentcloud/resource_tc_clb_listener.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ func resourceTencentCloudClbListener() *schema.Resource {
215215
Type: schema.TypeInt,
216216
Optional: true,
217217
Computed: true,
218-
ValidateFunc: validateIntegerInRange(5, 300),
219-
Description: "Interval time of health check. Valid value ranges: [5~300] sec. and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in `tencentcloud_clb_listener_rule`.",
218+
ValidateFunc: validateIntegerInRange(2, 300),
219+
Description: "Interval time of health check. Valid value ranges: [2~300] sec. and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in `tencentcloud_clb_listener_rule`.",
220220
},
221221
"health_check_health_num": {
222222
Type: schema.TypeInt,

tencentcloud/resource_tc_clb_listener_rule.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ func resourceTencentCloudClbListenerRule() *schema.Resource {
9191
Type: schema.TypeInt,
9292
Optional: true,
9393
Computed: true,
94-
ValidateFunc: validateIntegerInRange(5, 300),
95-
Description: "Interval time of health check. Valid value ranges: (5~300) sec. and the default is `5` sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in `tencentcloud_clb_listener_rule`.",
94+
ValidateFunc: validateIntegerInRange(2, 300),
95+
Description: "Interval time of health check. Valid value ranges: (2~300) sec. and the default is `5` sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in `tencentcloud_clb_listener_rule`.",
9696
},
9797
"health_check_health_num": {
9898
Type: schema.TypeInt,

website/docs/d/clb_listener_rules.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ In addition to all arguments above, the following attributes are exported:
5050
* `health_check_http_domain` - Domain name of health check. NOTES: Only supports listeners of 'HTTPS' and 'HTTP' protocol.
5151
* `health_check_http_method` - Methods of health check. NOTES: Only supports listeners of 'HTTPS' and 'HTTP' protocol. The default is 'HEAD', the available value include 'HEAD' and 'GET'.
5252
* `health_check_http_path` - Path of health check. NOTES: Only supports listeners of 'HTTPS' and 'HTTP' protocol.
53-
* `health_check_interval_time` - Interval time of health check. The value range is 5-300 sec, and the default is `5` sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.
53+
* `health_check_interval_time` - Interval time of health check. The value range is 2-300 sec, and the default is `5` sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.
5454
* `health_check_switch` - Indicates whether health check is enabled.
5555
* `health_check_unhealth_num` - Unhealth threshold of health check, and the default is `3`. If a success result is returned for the health check three consecutive times, the CVM is identified as unhealthy. The value range is 2-10. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.
5656
* `http2_switch` - Indicate to set HTTP2 protocol or not.

website/docs/d/clb_listeners.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ In addition to all arguments above, the following attributes are exported:
4848
* `health_check_http_method` - HTTP health check method of TCP listener.
4949
* `health_check_http_path` - HTTP health check path of TCP listener.
5050
* `health_check_http_version` - The HTTP version of the backend service.
51-
* `health_check_interval_time` - Interval time of health check. The value range is 5-300 sec, and the default is `5` sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.
51+
* `health_check_interval_time` - Interval time of health check. The value range is 2-300 sec, and the default is `5` sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.
5252
* `health_check_port` - The health check port is the port of the backend service.
5353
* `health_check_recv_context` - It represents the result returned by the health check.
5454
* `health_check_send_context` - It represents the content of the request sent by the health check.

website/docs/r/clb_listener.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ The following arguments are supported:
167167
* `health_check_http_method` - (Optional, String) HTTP health check method of TCP listener. Valid values: `HEAD`, `GET`.
168168
* `health_check_http_path` - (Optional, String) HTTP health check path of TCP listener.
169169
* `health_check_http_version` - (Optional, String) The HTTP version of the backend service. When the value of `health_check_type` of the health check protocol is `HTTP`, this field is required. Valid values: `HTTP/1.0`, `HTTP/1.1`.
170-
* `health_check_interval_time` - (Optional, Int) Interval time of health check. Valid value ranges: [5~300] sec. and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in `tencentcloud_clb_listener_rule`.
170+
* `health_check_interval_time` - (Optional, Int) Interval time of health check. Valid value ranges: [2~300] sec. and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in `tencentcloud_clb_listener_rule`.
171171
* `health_check_port` - (Optional, Int) The health check port is the port of the backend service by default. Unless you want to specify a specific port, it is recommended to leave it blank. Only applicable to TCP/UDP listener.
172172
* `health_check_recv_context` - (Optional, String) It represents the result returned by the health check. When the value of `health_check_type` of the health check protocol is `CUSTOM`, this field is required. Only ASCII visible characters are allowed and the maximum length is 500. When `health_check_context_type` value is `HEX`, the characters of SendContext and RecvContext can only be selected in `0123456789ABCDEF` and the length must be even digits.
173173
* `health_check_send_context` - (Optional, String) It represents the content of the request sent by the health check. When the value of `health_check_type` of the health check protocol is `CUSTOM`, this field is required. Only visible ASCII characters are allowed and the maximum length is 500. When `health_check_context_type` value is `HEX`, the characters of SendContext and RecvContext can only be selected in `0123456789ABCDEF` and the length must be even digits.

website/docs/r/clb_listener_rule.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The following arguments are supported:
5454
* `health_check_http_domain` - (Optional, String) Domain name of health check. NOTES: Only supports listeners of `HTTP` and `HTTPS` protocol.
5555
* `health_check_http_method` - (Optional, String) Methods of health check. NOTES: Only supports listeners of `HTTP` and `HTTPS` protocol. The default is `HEAD`, the available value are `HEAD` and `GET`.
5656
* `health_check_http_path` - (Optional, String) Path of health check. NOTES: Only supports listeners of `HTTP` and `HTTPS` protocol.
57-
* `health_check_interval_time` - (Optional, Int) Interval time of health check. Valid value ranges: (5~300) sec. and the default is `5` sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in `tencentcloud_clb_listener_rule`.
57+
* `health_check_interval_time` - (Optional, Int) Interval time of health check. Valid value ranges: (2~300) sec. and the default is `5` sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in `tencentcloud_clb_listener_rule`.
5858
* `health_check_switch` - (Optional, Bool) Indicates whether health check is enabled.
5959
* `health_check_time_out` - (Optional, Int) Time out of health check. The value range is [2-60](SEC).
6060
* `health_check_type` - (Optional, String) Type of health check. Valid value is `CUSTOM`, `TCP`, `HTTP`.

0 commit comments

Comments
 (0)