You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "Unhealthy threshold of health check, and the default is `3`. If the unhealthy result is returned 3 consecutive times, indicates that the forwarding is abnormal. 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`.",
91
91
},
92
+
"health_check_port": {
93
+
Type: schema.TypeInt,
94
+
Optional: true,
95
+
Computed: true,
96
+
Description: "Customize detection related parameters. Health check port, defaults to the port of the backend service, unless you want to specify a specific port, it is recommended to leave it blank. (Applicable only to TCP/UDP listeners).",
97
+
},
92
98
"health_check_type": {
93
99
Type: schema.TypeString,
94
100
Optional: true,
@@ -299,7 +305,7 @@ func resourceTencentCloudClbListenerRuleCreate(d *schema.ResourceData, meta inte
299
305
rule.Scheduler=helper.String(scheduler)
300
306
}
301
307
302
-
ifv, ok:=d.GetOk("session_expire_time"); ok {
308
+
ifv, ok:=d.GetOkExists("session_expire_time"); ok {
Copy file name to clipboardExpand all lines: website/docs/r/clb_listener_rule.html.markdown
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,7 @@ The following arguments are supported:
78
78
*`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`.
79
79
*`health_check_http_path` - (Optional, String) Path of health check. NOTES: Only supports listeners of `HTTP` and `HTTPS` protocol.
80
80
*`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`.
81
+
*`health_check_port` - (Optional, Int) Customize detection related parameters. Health check port, defaults to the port of the backend service, unless you want to specify a specific port, it is recommended to leave it blank. (Applicable only to TCP/UDP listeners).
81
82
*`health_check_switch` - (Optional, Bool) Indicates whether health check is enabled.
82
83
*`health_check_time_out` - (Optional, Int) Time out of health check. The value range is [2-60](SEC).
83
84
*`health_check_type` - (Optional, String) Type of health check. Valid value is `CUSTOM`, `PING`, `TCP`, `HTTP`, `HTTPS`, `GRPC`, `GRPCS`.
0 commit comments