tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getClbListeners
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 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",
    port: 80,
    protocol: "TCP",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
foo = tencentcloud.get_clb_listeners(clb_id="lb-k2zjp9lv",
    listener_id="lbl-mwr6vbtv",
    port=80,
    protocol="TCP")
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"),
			Port:       pulumi.Float64Ref(80),
			Protocol:   pulumi.StringRef("TCP"),
		}, 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",
        Port = 80,
        Protocol = "TCP",
    });
});
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")
            .port(80)
            .protocol("TCP")
            .build());
    }
}
variables:
  foo:
    fn::invoke:
      function: tencentcloud:getClbListeners
      arguments:
        clbId: lb-k2zjp9lv
        listenerId: lbl-mwr6vbtv
        port: 80
        protocol: TCP
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:
- ClbId string
- Id of the CLB to be queried.
- Id string
- ListenerId 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.
- ResultOutput stringFile 
- Used to save results.
- ClbId string
- Id of the CLB to be queried.
- Id string
- ListenerId 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.
- ResultOutput stringFile 
- Used to save results.
- clbId String
- Id of the CLB to be queried.
- id String
- listenerId 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.
- resultOutput StringFile 
- Used to save results.
- clbId string
- Id of the CLB to be queried.
- id string
- listenerId 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.
- resultOutput 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.
- clbId String
- Id of the CLB to be queried.
- id String
- listenerId 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.
- resultOutput StringFile 
- Used to save results.
getClbListeners Result
The following output properties are available:
- ClbId string
- ID of the CLB.
- Id string
- ListenerLists List<GetClb Listeners Listener List> 
- A list of listeners of cloud load balancers. Each element contains the following attributes:
- ListenerId 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.
- ResultOutput stringFile 
- ClbId string
- ID of the CLB.
- Id string
- ListenerLists []GetClb Listeners Listener List 
- A list of listeners of cloud load balancers. Each element contains the following attributes:
- ListenerId 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.
- ResultOutput stringFile 
- clbId String
- ID of the CLB.
- id String
- listenerLists List<GetClb Listeners Listener List> 
- A list of listeners of cloud load balancers. Each element contains the following attributes:
- listenerId 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.
- resultOutput StringFile 
- clbId string
- ID of the CLB.
- id string
- listenerLists GetClb Listeners Listener List[] 
- A list of listeners of cloud load balancers. Each element contains the following attributes:
- listenerId 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.
- resultOutput 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 
- clbId String
- ID of the CLB.
- id String
- listenerLists List<Property Map>
- A list of listeners of cloud load balancers. Each element contains the following attributes:
- listenerId 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.
- resultOutput StringFile 
Supporting Types
GetClbListenersListenerList    
- CertificateCa stringId 
- Id of the client certificate. It must be set when SSLMode is mutual. NOTES: only supported by listeners ofHTTPSandTCP_SSLprotocol.
- CertificateId 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.
- CertificateSsl stringMode 
- Type of certificate, and available values inclue UNIDIRECTIONAL,MUTUAL. NOTES: Only supports listeners ofHTTPSandTCP_SSLprotocol and must be set when it is available.
- ClbId string
- Id of the CLB to be queried.
- HealthCheck stringContext Type 
- Health check protocol.
- HealthCheck 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.
- HealthCheck doubleHttp Code 
- HTTP health check code of TCP listener.
- HealthCheck stringHttp Domain 
- HTTP health check domain of TCP listener.
- HealthCheck stringHttp Method 
- HTTP health check method of TCP listener.
- HealthCheck stringHttp Path 
- HTTP health check path of TCP listener.
- HealthCheck stringHttp Version 
- The HTTP version of the backend service.
- HealthCheck 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.
- HealthCheck doublePort 
- The health check port is the port of the backend service.
- HealthCheck stringRecv Context 
- It represents the result returned by the health check.
- HealthCheck stringSend Context 
- It represents the content of the request sent by the health check.
- HealthCheck boolSwitch 
- Indicates whether health check is enabled.
- HealthCheck 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.
- HealthCheck stringType 
- Protocol used for health check.
- HealthCheck 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.
- ListenerId string
- Id of the listener to be queried.
- ListenerName 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.
- SessionExpire 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.
- SniSwitch bool
- Indicates whether SNI is enabled. NOTES: Only supported by HTTPSprotocol.
- CertificateCa stringId 
- Id of the client certificate. It must be set when SSLMode is mutual. NOTES: only supported by listeners ofHTTPSandTCP_SSLprotocol.
- CertificateId 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.
- CertificateSsl stringMode 
- Type of certificate, and available values inclue UNIDIRECTIONAL,MUTUAL. NOTES: Only supports listeners ofHTTPSandTCP_SSLprotocol and must be set when it is available.
- ClbId string
- Id of the CLB to be queried.
- HealthCheck stringContext Type 
- Health check protocol.
- HealthCheck 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.
- HealthCheck float64Http Code 
- HTTP health check code of TCP listener.
- HealthCheck stringHttp Domain 
- HTTP health check domain of TCP listener.
- HealthCheck stringHttp Method 
- HTTP health check method of TCP listener.
- HealthCheck stringHttp Path 
- HTTP health check path of TCP listener.
- HealthCheck stringHttp Version 
- The HTTP version of the backend service.
- HealthCheck 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.
- HealthCheck float64Port 
- The health check port is the port of the backend service.
- HealthCheck stringRecv Context 
- It represents the result returned by the health check.
- HealthCheck stringSend Context 
- It represents the content of the request sent by the health check.
- HealthCheck boolSwitch 
- Indicates whether health check is enabled.
- HealthCheck 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.
- HealthCheck stringType 
- Protocol used for health check.
- HealthCheck 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.
- ListenerId string
- Id of the listener to be queried.
- ListenerName 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.
- SessionExpire 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.
- SniSwitch bool
- Indicates whether SNI is enabled. NOTES: Only supported by HTTPSprotocol.
- certificateCa StringId 
- Id of the client certificate. It must be set when SSLMode is mutual. NOTES: only supported by listeners ofHTTPSandTCP_SSLprotocol.
- certificateId 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.
- certificateSsl StringMode 
- Type of certificate, and available values inclue UNIDIRECTIONAL,MUTUAL. NOTES: Only supports listeners ofHTTPSandTCP_SSLprotocol and must be set when it is available.
- clbId String
- Id of the CLB to be queried.
- healthCheck StringContext Type 
- Health check protocol.
- healthCheck 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.
- healthCheck DoubleHttp Code 
- HTTP health check code of TCP listener.
- healthCheck StringHttp Domain 
- HTTP health check domain of TCP listener.
- healthCheck StringHttp Method 
- HTTP health check method of TCP listener.
- healthCheck StringHttp Path 
- HTTP health check path of TCP listener.
- healthCheck StringHttp Version 
- The HTTP version of the backend service.
- healthCheck 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.
- healthCheck DoublePort 
- The health check port is the port of the backend service.
- healthCheck StringRecv Context 
- It represents the result returned by the health check.
- healthCheck StringSend Context 
- It represents the content of the request sent by the health check.
- healthCheck BooleanSwitch 
- Indicates whether health check is enabled.
- healthCheck 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.
- healthCheck StringType 
- Protocol used for health check.
- healthCheck 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.
- listenerId String
- Id of the listener to be queried.
- listenerName 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.
- sessionExpire 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.
- sniSwitch Boolean
- Indicates whether SNI is enabled. NOTES: Only supported by HTTPSprotocol.
- certificateCa stringId 
- Id of the client certificate. It must be set when SSLMode is mutual. NOTES: only supported by listeners ofHTTPSandTCP_SSLprotocol.
- certificateId 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.
- certificateSsl stringMode 
- Type of certificate, and available values inclue UNIDIRECTIONAL,MUTUAL. NOTES: Only supports listeners ofHTTPSandTCP_SSLprotocol and must be set when it is available.
- clbId string
- Id of the CLB to be queried.
- healthCheck stringContext Type 
- Health check protocol.
- healthCheck 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.
- healthCheck numberHttp Code 
- HTTP health check code of TCP listener.
- healthCheck stringHttp Domain 
- HTTP health check domain of TCP listener.
- healthCheck stringHttp Method 
- HTTP health check method of TCP listener.
- healthCheck stringHttp Path 
- HTTP health check path of TCP listener.
- healthCheck stringHttp Version 
- The HTTP version of the backend service.
- healthCheck 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.
- healthCheck numberPort 
- The health check port is the port of the backend service.
- healthCheck stringRecv Context 
- It represents the result returned by the health check.
- healthCheck stringSend Context 
- It represents the content of the request sent by the health check.
- healthCheck booleanSwitch 
- Indicates whether health check is enabled.
- healthCheck 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.
- healthCheck stringType 
- Protocol used for health check.
- healthCheck 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.
- listenerId string
- Id of the listener to be queried.
- listenerName 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.
- sessionExpire 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.
- sniSwitch 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.
- certificateCa StringId 
- Id of the client certificate. It must be set when SSLMode is mutual. NOTES: only supported by listeners ofHTTPSandTCP_SSLprotocol.
- certificateId 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.
- certificateSsl StringMode 
- Type of certificate, and available values inclue UNIDIRECTIONAL,MUTUAL. NOTES: Only supports listeners ofHTTPSandTCP_SSLprotocol and must be set when it is available.
- clbId String
- Id of the CLB to be queried.
- healthCheck StringContext Type 
- Health check protocol.
- healthCheck 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.
- healthCheck NumberHttp Code 
- HTTP health check code of TCP listener.
- healthCheck StringHttp Domain 
- HTTP health check domain of TCP listener.
- healthCheck StringHttp Method 
- HTTP health check method of TCP listener.
- healthCheck StringHttp Path 
- HTTP health check path of TCP listener.
- healthCheck StringHttp Version 
- The HTTP version of the backend service.
- healthCheck 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.
- healthCheck NumberPort 
- The health check port is the port of the backend service.
- healthCheck StringRecv Context 
- It represents the result returned by the health check.
- healthCheck StringSend Context 
- It represents the content of the request sent by the health check.
- healthCheck BooleanSwitch 
- Indicates whether health check is enabled.
- healthCheck 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.
- healthCheck StringType 
- Protocol used for health check.
- healthCheck 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.
- listenerId String
- Id of the listener to be queried.
- listenerName 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.
- sessionExpire 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.
- sniSwitch 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.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack