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: "Whether to send the TCP RST packet to the client when unbinding a real server. This parameter is applicable to TCP listeners only.",
289
289
},
290
+
"idle_connect_timeout": {
291
+
Type: schema.TypeInt,
292
+
Computed: true,
293
+
Optional: true,
294
+
Description: "Connection idle timeout period (in seconds). It's only available to TCP listeners. Value range: 300-900 for shared and dedicated instances; 300-2000 for LCU-supported CLB instances. It defaults to 900. To set a period longer than 2000 seconds (up to 3600 seconds). Please submit a work order for processing.",
295
+
},
290
296
//computed
291
297
"listener_id": {
292
298
Type: schema.TypeString,
@@ -421,6 +427,10 @@ func resourceTencentCloudClbListenerCreate(d *schema.ResourceData, meta interfac
421
427
request.DeregisterTargetRst=helper.Bool(v.(bool))
422
428
}
423
429
430
+
ifv, ok:=d.GetOkExists("idle_connect_timeout"); ok {
@@ -219,6 +225,7 @@ The following arguments are supported:
219
225
*`health_check_type` - (Optional, String) Protocol used for health check. Valid values: `CUSTOM`, `TCP`, `HTTP`,`HTTPS`, `PING`, `GRPC`.
220
226
*`health_check_unhealth_num` - (Optional, Int) Unhealthy threshold of health check, and the default is `3`. If a success result is returned for the health check 3 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`.
221
227
*`health_source_ip_type` - (Optional, Int) Specifies the type of health check source IP. `0` (default): CLB VIP. `1`: 100.64 IP range.
228
+
*`idle_connect_timeout` - (Optional, Int) Connection idle timeout period (in seconds). It's only available to TCP listeners. Value range: 300-900 for shared and dedicated instances; 300-2000 for LCU-supported CLB instances. It defaults to 900. To set a period longer than 2000 seconds (up to 3600 seconds). Please submit a work order for processing.
222
229
*`keepalive_enable` - (Optional, Int) Whether to enable a persistent connection. This parameter is applicable only to HTTP and HTTPS listeners. Valid values: 0 (disable; default value) and 1 (enable).
223
230
*`multi_cert_info` - (Optional, List) Certificate information. You can specify multiple server-side certificates with different algorithm types. This parameter is only applicable to HTTPS listeners with the SNI feature not enabled. Certificate and MultiCertInfo cannot be specified at the same time.
224
231
*`port` - (Optional, Int, ForceNew) Port of the CLB listener.
0 commit comments