tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getClbListeners
Start a Neo task
Explain and create a tencentcloud.getClbListeners resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query detailed information of CLB listener
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const foo = tencentcloud.getClbListeners({
clbId: "lb-k2zjp9lv",
listenerId: "lbl-mwr6vbtv",
protocol: "TCP",
port: 80,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
foo = tencentcloud.get_clb_listeners(clb_id="lb-k2zjp9lv",
listener_id="lbl-mwr6vbtv",
protocol="TCP",
port=80)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetClbListeners(ctx, &tencentcloud.GetClbListenersArgs{
ClbId: "lb-k2zjp9lv",
ListenerId: pulumi.StringRef("lbl-mwr6vbtv"),
Protocol: pulumi.StringRef("TCP"),
Port: pulumi.Float64Ref(80),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var foo = Tencentcloud.GetClbListeners.Invoke(new()
{
ClbId = "lb-k2zjp9lv",
ListenerId = "lbl-mwr6vbtv",
Protocol = "TCP",
Port = 80,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetClbListenersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var foo = TencentcloudFunctions.getClbListeners(GetClbListenersArgs.builder()
.clbId("lb-k2zjp9lv")
.listenerId("lbl-mwr6vbtv")
.protocol("TCP")
.port(80)
.build());
}
}
variables:
foo:
fn::invoke:
function: tencentcloud:getClbListeners
arguments:
clbId: lb-k2zjp9lv
listenerId: lbl-mwr6vbtv
protocol: TCP
port: 80
Using getClbListeners
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getClbListeners(args: GetClbListenersArgs, opts?: InvokeOptions): Promise<GetClbListenersResult>
function getClbListenersOutput(args: GetClbListenersOutputArgs, opts?: InvokeOptions): Output<GetClbListenersResult>def get_clb_listeners(clb_id: Optional[str] = None,
id: Optional[str] = None,
listener_id: Optional[str] = None,
port: Optional[float] = None,
protocol: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClbListenersResult
def get_clb_listeners_output(clb_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
listener_id: Optional[pulumi.Input[str]] = None,
port: Optional[pulumi.Input[float]] = None,
protocol: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetClbListenersResult]func GetClbListeners(ctx *Context, args *GetClbListenersArgs, opts ...InvokeOption) (*GetClbListenersResult, error)
func GetClbListenersOutput(ctx *Context, args *GetClbListenersOutputArgs, opts ...InvokeOption) GetClbListenersResultOutput> Note: This function is named GetClbListeners in the Go SDK.
public static class GetClbListeners
{
public static Task<GetClbListenersResult> InvokeAsync(GetClbListenersArgs args, InvokeOptions? opts = null)
public static Output<GetClbListenersResult> Invoke(GetClbListenersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetClbListenersResult> getClbListeners(GetClbListenersArgs args, InvokeOptions options)
public static Output<GetClbListenersResult> getClbListeners(GetClbListenersArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getClbListeners:getClbListeners
arguments:
# arguments dictionaryThe following arguments are supported:
- Clb
Id string - Id of the CLB to be queried.
- Id string
- Listener
Id string - Id of the listener to be queried.
- Port double
- Port of the CLB listener.
- Protocol string
- Type of protocol within the listener, and available values are
TCP,UDP,HTTP,HTTPSandTCP_SSL. - Result
Output stringFile - Used to save results.
- Clb
Id string - Id of the CLB to be queried.
- Id string
- Listener
Id string - Id of the listener to be queried.
- Port float64
- Port of the CLB listener.
- Protocol string
- Type of protocol within the listener, and available values are
TCP,UDP,HTTP,HTTPSandTCP_SSL. - Result
Output stringFile - Used to save results.
- clb
Id String - Id of the CLB to be queried.
- id String
- listener
Id String - Id of the listener to be queried.
- port Double
- Port of the CLB listener.
- protocol String
- Type of protocol within the listener, and available values are
TCP,UDP,HTTP,HTTPSandTCP_SSL. - result
Output StringFile - Used to save results.
- clb
Id string - Id of the CLB to be queried.
- id string
- listener
Id string - Id of the listener to be queried.
- port number
- Port of the CLB listener.
- protocol string
- Type of protocol within the listener, and available values are
TCP,UDP,HTTP,HTTPSandTCP_SSL. - result
Output stringFile - Used to save results.
- clb_
id str - Id of the CLB to be queried.
- id str
- listener_
id str - Id of the listener to be queried.
- port float
- Port of the CLB listener.
- protocol str
- Type of protocol within the listener, and available values are
TCP,UDP,HTTP,HTTPSandTCP_SSL. - result_
output_ strfile - Used to save results.
- clb
Id String - Id of the CLB to be queried.
- id String
- listener
Id String - Id of the listener to be queried.
- port Number
- Port of the CLB listener.
- protocol String
- Type of protocol within the listener, and available values are
TCP,UDP,HTTP,HTTPSandTCP_SSL. - result
Output StringFile - Used to save results.
getClbListeners Result
The following output properties are available:
- Clb
Id string - ID of the CLB.
- Id string
- Listener
Lists List<GetClb Listeners Listener List> - A list of listeners of cloud load balancers. Each element contains the following attributes:
- Listener
Id string - ID of the listener.
- Port double
- Port of the CLB listener.
- Protocol string
- Protocol of the listener. Available values are
HTTP,HTTPS,TCP,UDP,TCP_SSL. - Result
Output stringFile
- Clb
Id string - ID of the CLB.
- Id string
- Listener
Lists []GetClb Listeners Listener List - A list of listeners of cloud load balancers. Each element contains the following attributes:
- Listener
Id string - ID of the listener.
- Port float64
- Port of the CLB listener.
- Protocol string
- Protocol of the listener. Available values are
HTTP,HTTPS,TCP,UDP,TCP_SSL. - Result
Output stringFile
- clb
Id String - ID of the CLB.
- id String
- listener
Lists List<GetClb Listeners Listener List> - A list of listeners of cloud load balancers. Each element contains the following attributes:
- listener
Id String - ID of the listener.
- port Double
- Port of the CLB listener.
- protocol String
- Protocol of the listener. Available values are
HTTP,HTTPS,TCP,UDP,TCP_SSL. - result
Output StringFile
- clb
Id string - ID of the CLB.
- id string
- listener
Lists GetClb Listeners Listener List[] - A list of listeners of cloud load balancers. Each element contains the following attributes:
- listener
Id string - ID of the listener.
- port number
- Port of the CLB listener.
- protocol string
- Protocol of the listener. Available values are
HTTP,HTTPS,TCP,UDP,TCP_SSL. - result
Output stringFile
- clb_
id str - ID of the CLB.
- id str
- listener_
lists Sequence[GetClb Listeners Listener List] - A list of listeners of cloud load balancers. Each element contains the following attributes:
- listener_
id str - ID of the listener.
- port float
- Port of the CLB listener.
- protocol str
- Protocol of the listener. Available values are
HTTP,HTTPS,TCP,UDP,TCP_SSL. - result_
output_ strfile
- clb
Id String - ID of the CLB.
- id String
- listener
Lists List<Property Map> - A list of listeners of cloud load balancers. Each element contains the following attributes:
- listener
Id String - ID of the listener.
- port Number
- Port of the CLB listener.
- protocol String
- Protocol of the listener. Available values are
HTTP,HTTPS,TCP,UDP,TCP_SSL. - result
Output StringFile
Supporting Types
GetClbListenersListenerList
- Certificate
Ca stringId - Id of the client certificate. It must be set when SSLMode is
mutual. NOTES: only supported by listeners ofHTTPSandTCP_SSLprotocol. - Certificate
Id string - Id of the server certificate. It must be set when protocol is
HTTPSorTCP_SSL. NOTES: only supported by listeners ofHTTPSandTCP_SSLprotocol and must be set when it is available. - Certificate
Ssl stringMode - Type of certificate, and available values inclue
UNIDIRECTIONAL,MUTUAL. NOTES: Only supports listeners ofHTTPSandTCP_SSLprotocol and must be set when it is available. - Clb
Id string - Id of the CLB to be queried.
- Health
Check stringContext Type - Health check protocol.
- Health
Check doubleHealth Num - Health 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 healthy. 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. - Health
Check doubleHttp Code - HTTP health check code of TCP listener.
- Health
Check stringHttp Domain - HTTP health check domain of TCP listener.
- Health
Check stringHttp Method - HTTP health check method of TCP listener.
- Health
Check stringHttp Path - HTTP health check path of TCP listener.
- Health
Check stringHttp Version - The HTTP version of the backend service.
- Health
Check doubleInterval Time - Interval time of health check. The value range is 2-300 sec, and the default is
5sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. - Health
Check doublePort - The health check port is the port of the backend service.
- Health
Check stringRecv Context - It represents the result returned by the health check.
- Health
Check stringSend Context - It represents the content of the request sent by the health check.
- Health
Check boolSwitch - Indicates whether health check is enabled.
- Health
Check doubleTime Out - Response timeout of health check. The value range is 2-60 sec, and the default is
2sec. Response timeout needs to be less than check interval. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration. - Health
Check stringType - Protocol used for health check.
- Health
Check doubleUnhealth Num - Unhealthy 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. - Listener
Id string - Id of the listener to be queried.
- Listener
Name string - Name of the CLB listener.
- Port double
- Port of the CLB listener.
- Protocol string
- Type of protocol within the listener, and available values are
TCP,UDP,HTTP,HTTPSandTCP_SSL. - Scheduler string
- Scheduling method of the CLB listener, and available values are
WRRandLEAST_CONN. The default isWRR. NOTES: The listener of 'HTTP' andHTTPSprotocol additionally supports theIP HASHmethod. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. - Session
Expire doubleTime - Time of session persistence within the CLB listener. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.
- Sni
Switch bool - Indicates whether SNI is enabled. NOTES: Only supported by
HTTPSprotocol.
- Certificate
Ca stringId - Id of the client certificate. It must be set when SSLMode is
mutual. NOTES: only supported by listeners ofHTTPSandTCP_SSLprotocol. - Certificate
Id string - Id of the server certificate. It must be set when protocol is
HTTPSorTCP_SSL. NOTES: only supported by listeners ofHTTPSandTCP_SSLprotocol and must be set when it is available. - Certificate
Ssl stringMode - Type of certificate, and available values inclue
UNIDIRECTIONAL,MUTUAL. NOTES: Only supports listeners ofHTTPSandTCP_SSLprotocol and must be set when it is available. - Clb
Id string - Id of the CLB to be queried.
- Health
Check stringContext Type - Health check protocol.
- Health
Check float64Health Num - Health 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 healthy. 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. - Health
Check float64Http Code - HTTP health check code of TCP listener.
- Health
Check stringHttp Domain - HTTP health check domain of TCP listener.
- Health
Check stringHttp Method - HTTP health check method of TCP listener.
- Health
Check stringHttp Path - HTTP health check path of TCP listener.
- Health
Check stringHttp Version - The HTTP version of the backend service.
- Health
Check float64Interval Time - Interval time of health check. The value range is 2-300 sec, and the default is
5sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. - Health
Check float64Port - The health check port is the port of the backend service.
- Health
Check stringRecv Context - It represents the result returned by the health check.
- Health
Check stringSend Context - It represents the content of the request sent by the health check.
- Health
Check boolSwitch - Indicates whether health check is enabled.
- Health
Check float64Time Out - Response timeout of health check. The value range is 2-60 sec, and the default is
2sec. Response timeout needs to be less than check interval. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration. - Health
Check stringType - Protocol used for health check.
- Health
Check float64Unhealth Num - Unhealthy 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. - Listener
Id string - Id of the listener to be queried.
- Listener
Name string - Name of the CLB listener.
- Port float64
- Port of the CLB listener.
- Protocol string
- Type of protocol within the listener, and available values are
TCP,UDP,HTTP,HTTPSandTCP_SSL. - Scheduler string
- Scheduling method of the CLB listener, and available values are
WRRandLEAST_CONN. The default isWRR. NOTES: The listener of 'HTTP' andHTTPSprotocol additionally supports theIP HASHmethod. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. - Session
Expire float64Time - Time of session persistence within the CLB listener. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.
- Sni
Switch bool - Indicates whether SNI is enabled. NOTES: Only supported by
HTTPSprotocol.
- certificate
Ca StringId - Id of the client certificate. It must be set when SSLMode is
mutual. NOTES: only supported by listeners ofHTTPSandTCP_SSLprotocol. - certificate
Id String - Id of the server certificate. It must be set when protocol is
HTTPSorTCP_SSL. NOTES: only supported by listeners ofHTTPSandTCP_SSLprotocol and must be set when it is available. - certificate
Ssl StringMode - Type of certificate, and available values inclue
UNIDIRECTIONAL,MUTUAL. NOTES: Only supports listeners ofHTTPSandTCP_SSLprotocol and must be set when it is available. - clb
Id String - Id of the CLB to be queried.
- health
Check StringContext Type - Health check protocol.
- health
Check DoubleHealth Num - Health 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 healthy. 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. - health
Check DoubleHttp Code - HTTP health check code of TCP listener.
- health
Check StringHttp Domain - HTTP health check domain of TCP listener.
- health
Check StringHttp Method - HTTP health check method of TCP listener.
- health
Check StringHttp Path - HTTP health check path of TCP listener.
- health
Check StringHttp Version - The HTTP version of the backend service.
- health
Check DoubleInterval Time - Interval time of health check. The value range is 2-300 sec, and the default is
5sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. - health
Check DoublePort - The health check port is the port of the backend service.
- health
Check StringRecv Context - It represents the result returned by the health check.
- health
Check StringSend Context - It represents the content of the request sent by the health check.
- health
Check BooleanSwitch - Indicates whether health check is enabled.
- health
Check DoubleTime Out - Response timeout of health check. The value range is 2-60 sec, and the default is
2sec. Response timeout needs to be less than check interval. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration. - health
Check StringType - Protocol used for health check.
- health
Check DoubleUnhealth Num - Unhealthy 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. - listener
Id String - Id of the listener to be queried.
- listener
Name String - Name of the CLB listener.
- port Double
- Port of the CLB listener.
- protocol String
- Type of protocol within the listener, and available values are
TCP,UDP,HTTP,HTTPSandTCP_SSL. - scheduler String
- Scheduling method of the CLB listener, and available values are
WRRandLEAST_CONN. The default isWRR. NOTES: The listener of 'HTTP' andHTTPSprotocol additionally supports theIP HASHmethod. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. - session
Expire DoubleTime - Time of session persistence within the CLB listener. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.
- sni
Switch Boolean - Indicates whether SNI is enabled. NOTES: Only supported by
HTTPSprotocol.
- certificate
Ca stringId - Id of the client certificate. It must be set when SSLMode is
mutual. NOTES: only supported by listeners ofHTTPSandTCP_SSLprotocol. - certificate
Id string - Id of the server certificate. It must be set when protocol is
HTTPSorTCP_SSL. NOTES: only supported by listeners ofHTTPSandTCP_SSLprotocol and must be set when it is available. - certificate
Ssl stringMode - Type of certificate, and available values inclue
UNIDIRECTIONAL,MUTUAL. NOTES: Only supports listeners ofHTTPSandTCP_SSLprotocol and must be set when it is available. - clb
Id string - Id of the CLB to be queried.
- health
Check stringContext Type - Health check protocol.
- health
Check numberHealth Num - Health 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 healthy. 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. - health
Check numberHttp Code - HTTP health check code of TCP listener.
- health
Check stringHttp Domain - HTTP health check domain of TCP listener.
- health
Check stringHttp Method - HTTP health check method of TCP listener.
- health
Check stringHttp Path - HTTP health check path of TCP listener.
- health
Check stringHttp Version - The HTTP version of the backend service.
- health
Check numberInterval Time - Interval time of health check. The value range is 2-300 sec, and the default is
5sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. - health
Check numberPort - The health check port is the port of the backend service.
- health
Check stringRecv Context - It represents the result returned by the health check.
- health
Check stringSend Context - It represents the content of the request sent by the health check.
- health
Check booleanSwitch - Indicates whether health check is enabled.
- health
Check numberTime Out - Response timeout of health check. The value range is 2-60 sec, and the default is
2sec. Response timeout needs to be less than check interval. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration. - health
Check stringType - Protocol used for health check.
- health
Check numberUnhealth Num - Unhealthy 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. - listener
Id string - Id of the listener to be queried.
- listener
Name string - Name of the CLB listener.
- port number
- Port of the CLB listener.
- protocol string
- Type of protocol within the listener, and available values are
TCP,UDP,HTTP,HTTPSandTCP_SSL. - scheduler string
- Scheduling method of the CLB listener, and available values are
WRRandLEAST_CONN. The default isWRR. NOTES: The listener of 'HTTP' andHTTPSprotocol additionally supports theIP HASHmethod. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. - session
Expire numberTime - Time of session persistence within the CLB listener. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.
- sni
Switch boolean - Indicates whether SNI is enabled. NOTES: Only supported by
HTTPSprotocol.
- certificate_
ca_ strid - Id of the client certificate. It must be set when SSLMode is
mutual. NOTES: only supported by listeners ofHTTPSandTCP_SSLprotocol. - certificate_
id str - Id of the server certificate. It must be set when protocol is
HTTPSorTCP_SSL. NOTES: only supported by listeners ofHTTPSandTCP_SSLprotocol and must be set when it is available. - certificate_
ssl_ strmode - Type of certificate, and available values inclue
UNIDIRECTIONAL,MUTUAL. NOTES: Only supports listeners ofHTTPSandTCP_SSLprotocol and must be set when it is available. - clb_
id str - Id of the CLB to be queried.
- health_
check_ strcontext_ type - Health check protocol.
- health_
check_ floathealth_ num - Health 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 healthy. 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. - health_
check_ floathttp_ code - HTTP health check code of TCP listener.
- health_
check_ strhttp_ domain - HTTP health check domain of TCP listener.
- health_
check_ strhttp_ method - HTTP health check method of TCP listener.
- health_
check_ strhttp_ path - HTTP health check path of TCP listener.
- health_
check_ strhttp_ version - The HTTP version of the backend service.
- health_
check_ floatinterval_ time - Interval time of health check. The value range is 2-300 sec, and the default is
5sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. - health_
check_ floatport - The health check port is the port of the backend service.
- health_
check_ strrecv_ context - It represents the result returned by the health check.
- health_
check_ strsend_ context - It represents the content of the request sent by the health check.
- health_
check_ boolswitch - Indicates whether health check is enabled.
- health_
check_ floattime_ out - Response timeout of health check. The value range is 2-60 sec, and the default is
2sec. Response timeout needs to be less than check interval. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration. - health_
check_ strtype - Protocol used for health check.
- health_
check_ floatunhealth_ num - Unhealthy 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. - listener_
id str - Id of the listener to be queried.
- listener_
name str - Name of the CLB listener.
- port float
- Port of the CLB listener.
- protocol str
- Type of protocol within the listener, and available values are
TCP,UDP,HTTP,HTTPSandTCP_SSL. - scheduler str
- Scheduling method of the CLB listener, and available values are
WRRandLEAST_CONN. The default isWRR. NOTES: The listener of 'HTTP' andHTTPSprotocol additionally supports theIP HASHmethod. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. - session_
expire_ floattime - Time of session persistence within the CLB listener. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.
- sni_
switch bool - Indicates whether SNI is enabled. NOTES: Only supported by
HTTPSprotocol.
- certificate
Ca StringId - Id of the client certificate. It must be set when SSLMode is
mutual. NOTES: only supported by listeners ofHTTPSandTCP_SSLprotocol. - certificate
Id String - Id of the server certificate. It must be set when protocol is
HTTPSorTCP_SSL. NOTES: only supported by listeners ofHTTPSandTCP_SSLprotocol and must be set when it is available. - certificate
Ssl StringMode - Type of certificate, and available values inclue
UNIDIRECTIONAL,MUTUAL. NOTES: Only supports listeners ofHTTPSandTCP_SSLprotocol and must be set when it is available. - clb
Id String - Id of the CLB to be queried.
- health
Check StringContext Type - Health check protocol.
- health
Check NumberHealth Num - Health 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 healthy. 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. - health
Check NumberHttp Code - HTTP health check code of TCP listener.
- health
Check StringHttp Domain - HTTP health check domain of TCP listener.
- health
Check StringHttp Method - HTTP health check method of TCP listener.
- health
Check StringHttp Path - HTTP health check path of TCP listener.
- health
Check StringHttp Version - The HTTP version of the backend service.
- health
Check NumberInterval Time - Interval time of health check. The value range is 2-300 sec, and the default is
5sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. - health
Check NumberPort - The health check port is the port of the backend service.
- health
Check StringRecv Context - It represents the result returned by the health check.
- health
Check StringSend Context - It represents the content of the request sent by the health check.
- health
Check BooleanSwitch - Indicates whether health check is enabled.
- health
Check NumberTime Out - Response timeout of health check. The value range is 2-60 sec, and the default is
2sec. Response timeout needs to be less than check interval. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration. - health
Check StringType - Protocol used for health check.
- health
Check NumberUnhealth Num - Unhealthy 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. - listener
Id String - Id of the listener to be queried.
- listener
Name String - Name of the CLB listener.
- port Number
- Port of the CLB listener.
- protocol String
- Type of protocol within the listener, and available values are
TCP,UDP,HTTP,HTTPSandTCP_SSL. - scheduler String
- Scheduling method of the CLB listener, and available values are
WRRandLEAST_CONN. The default isWRR. NOTES: The listener of 'HTTP' andHTTPSprotocol additionally supports theIP HASHmethod. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. - session
Expire NumberTime - Time of session persistence within the CLB listener. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.
- sni
Switch Boolean - Indicates whether SNI is enabled. NOTES: Only supported by
HTTPSprotocol.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
