Viewing docs for Volcengine v0.0.46
published on Friday, Feb 27, 2026 by Volcengine
published on Friday, Feb 27, 2026 by Volcengine
Viewing docs for Volcengine v0.0.46
published on Friday, Feb 27, 2026 by Volcengine
published on Friday, Feb 27, 2026 by Volcengine
Use this data source to query detailed information of listeners
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
const fooZones = volcengine.ecs.getZones({});
const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
vpcName: "acc-test-vpc",
cidrBlock: "172.16.0.0/16",
});
const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
subnetName: "acc-test-subnet",
cidrBlock: "172.16.0.0/24",
zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
vpcId: fooVpc.id,
});
const fooClb = new volcengine.clb.Clb("fooClb", {
type: "public",
subnetId: fooSubnet.id,
loadBalancerSpec: "small_1",
description: "acc0Demo",
loadBalancerName: "acc-test-create",
eipBillingConfig: {
isp: "BGP",
eipBillingType: "PostPaidByBandwidth",
bandwidth: 1,
},
});
const fooServerGroup = new volcengine.clb.ServerGroup("fooServerGroup", {
loadBalancerId: fooClb.id,
serverGroupName: "acc-test-create",
description: "hello demo11",
});
const fooListener = new volcengine.clb.Listener("fooListener", {
loadBalancerId: fooClb.id,
listenerName: "acc-test-listener",
protocol: "HTTP",
port: 90,
serverGroupId: fooServerGroup.id,
healthCheck: {
enabled: "on",
interval: 10,
timeout: 3,
healthyThreshold: 5,
unHealthyThreshold: 2,
domain: "volcengine.com",
httpCode: "http_2xx",
method: "GET",
uri: "/",
},
enabled: "on",
});
const fooListeners = volcengine.clb.getListenersOutput({
ids: [fooListener.id],
});
import pulumi
import pulumi_volcengine as volcengine
foo_zones = volcengine.ecs.get_zones()
foo_vpc = volcengine.vpc.Vpc("fooVpc",
vpc_name="acc-test-vpc",
cidr_block="172.16.0.0/16")
foo_subnet = volcengine.vpc.Subnet("fooSubnet",
subnet_name="acc-test-subnet",
cidr_block="172.16.0.0/24",
zone_id=foo_zones.zones[0].id,
vpc_id=foo_vpc.id)
foo_clb = volcengine.clb.Clb("fooClb",
type="public",
subnet_id=foo_subnet.id,
load_balancer_spec="small_1",
description="acc0Demo",
load_balancer_name="acc-test-create",
eip_billing_config=volcengine.clb.ClbEipBillingConfigArgs(
isp="BGP",
eip_billing_type="PostPaidByBandwidth",
bandwidth=1,
))
foo_server_group = volcengine.clb.ServerGroup("fooServerGroup",
load_balancer_id=foo_clb.id,
server_group_name="acc-test-create",
description="hello demo11")
foo_listener = volcengine.clb.Listener("fooListener",
load_balancer_id=foo_clb.id,
listener_name="acc-test-listener",
protocol="HTTP",
port=90,
server_group_id=foo_server_group.id,
health_check=volcengine.clb.ListenerHealthCheckArgs(
enabled="on",
interval=10,
timeout=3,
healthy_threshold=5,
un_healthy_threshold=2,
domain="volcengine.com",
http_code="http_2xx",
method="GET",
uri="/",
),
enabled="on")
foo_listeners = volcengine.clb.get_listeners_output(ids=[foo_listener.id])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fooZones, err := ecs.GetZones(ctx, nil, nil)
if err != nil {
return err
}
fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
VpcName: pulumi.String("acc-test-vpc"),
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
SubnetName: pulumi.String("acc-test-subnet"),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: pulumi.String(fooZones.Zones[0].Id),
VpcId: fooVpc.ID(),
})
if err != nil {
return err
}
fooClb, err := clb.NewClb(ctx, "fooClb", &clb.ClbArgs{
Type: pulumi.String("public"),
SubnetId: fooSubnet.ID(),
LoadBalancerSpec: pulumi.String("small_1"),
Description: pulumi.String("acc0Demo"),
LoadBalancerName: pulumi.String("acc-test-create"),
EipBillingConfig: &clb.ClbEipBillingConfigArgs{
Isp: pulumi.String("BGP"),
EipBillingType: pulumi.String("PostPaidByBandwidth"),
Bandwidth: pulumi.Int(1),
},
})
if err != nil {
return err
}
fooServerGroup, err := clb.NewServerGroup(ctx, "fooServerGroup", &clb.ServerGroupArgs{
LoadBalancerId: fooClb.ID(),
ServerGroupName: pulumi.String("acc-test-create"),
Description: pulumi.String("hello demo11"),
})
if err != nil {
return err
}
fooListener, err := clb.NewListener(ctx, "fooListener", &clb.ListenerArgs{
LoadBalancerId: fooClb.ID(),
ListenerName: pulumi.String("acc-test-listener"),
Protocol: pulumi.String("HTTP"),
Port: pulumi.Int(90),
ServerGroupId: fooServerGroup.ID(),
HealthCheck: &clb.ListenerHealthCheckArgs{
Enabled: pulumi.String("on"),
Interval: pulumi.Int(10),
Timeout: pulumi.Int(3),
HealthyThreshold: pulumi.Int(5),
UnHealthyThreshold: pulumi.Int(2),
Domain: pulumi.String("volcengine.com"),
HttpCode: pulumi.String("http_2xx"),
Method: pulumi.String("GET"),
Uri: pulumi.String("/"),
},
Enabled: pulumi.String("on"),
})
if err != nil {
return err
}
_ = clb.GetListenersOutput(ctx, clb.GetListenersOutputArgs{
Ids: pulumi.StringArray{
fooListener.ID(),
},
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var fooZones = Volcengine.Ecs.GetZones.Invoke();
var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
{
VpcName = "acc-test-vpc",
CidrBlock = "172.16.0.0/16",
});
var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
{
SubnetName = "acc-test-subnet",
CidrBlock = "172.16.0.0/24",
ZoneId = fooZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
VpcId = fooVpc.Id,
});
var fooClb = new Volcengine.Clb.Clb("fooClb", new()
{
Type = "public",
SubnetId = fooSubnet.Id,
LoadBalancerSpec = "small_1",
Description = "acc0Demo",
LoadBalancerName = "acc-test-create",
EipBillingConfig = new Volcengine.Clb.Inputs.ClbEipBillingConfigArgs
{
Isp = "BGP",
EipBillingType = "PostPaidByBandwidth",
Bandwidth = 1,
},
});
var fooServerGroup = new Volcengine.Clb.ServerGroup("fooServerGroup", new()
{
LoadBalancerId = fooClb.Id,
ServerGroupName = "acc-test-create",
Description = "hello demo11",
});
var fooListener = new Volcengine.Clb.Listener("fooListener", new()
{
LoadBalancerId = fooClb.Id,
ListenerName = "acc-test-listener",
Protocol = "HTTP",
Port = 90,
ServerGroupId = fooServerGroup.Id,
HealthCheck = new Volcengine.Clb.Inputs.ListenerHealthCheckArgs
{
Enabled = "on",
Interval = 10,
Timeout = 3,
HealthyThreshold = 5,
UnHealthyThreshold = 2,
Domain = "volcengine.com",
HttpCode = "http_2xx",
Method = "GET",
Uri = "/",
},
Enabled = "on",
});
var fooListeners = Volcengine.Clb.GetListeners.Invoke(new()
{
Ids = new[]
{
fooListener.Id,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.ecs.EcsFunctions;
import com.pulumi.volcengine.ecs.inputs.GetZonesArgs;
import com.pulumi.volcengine.vpc.Vpc;
import com.pulumi.volcengine.vpc.VpcArgs;
import com.pulumi.volcengine.vpc.Subnet;
import com.pulumi.volcengine.vpc.SubnetArgs;
import com.pulumi.volcengine.clb.Clb;
import com.pulumi.volcengine.clb.ClbArgs;
import com.pulumi.volcengine.clb.inputs.ClbEipBillingConfigArgs;
import com.pulumi.volcengine.clb.ServerGroup;
import com.pulumi.volcengine.clb.ServerGroupArgs;
import com.pulumi.volcengine.clb.Listener;
import com.pulumi.volcengine.clb.ListenerArgs;
import com.pulumi.volcengine.clb.inputs.ListenerHealthCheckArgs;
import com.pulumi.volcengine.clb.ClbFunctions;
import com.pulumi.volcengine.clb.inputs.GetListenersArgs;
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 fooZones = EcsFunctions.getZones();
var fooVpc = new Vpc("fooVpc", VpcArgs.builder()
.vpcName("acc-test-vpc")
.cidrBlock("172.16.0.0/16")
.build());
var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()
.subnetName("acc-test-subnet")
.cidrBlock("172.16.0.0/24")
.zoneId(fooZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
.vpcId(fooVpc.id())
.build());
var fooClb = new Clb("fooClb", ClbArgs.builder()
.type("public")
.subnetId(fooSubnet.id())
.loadBalancerSpec("small_1")
.description("acc0Demo")
.loadBalancerName("acc-test-create")
.eipBillingConfig(ClbEipBillingConfigArgs.builder()
.isp("BGP")
.eipBillingType("PostPaidByBandwidth")
.bandwidth(1)
.build())
.build());
var fooServerGroup = new ServerGroup("fooServerGroup", ServerGroupArgs.builder()
.loadBalancerId(fooClb.id())
.serverGroupName("acc-test-create")
.description("hello demo11")
.build());
var fooListener = new Listener("fooListener", ListenerArgs.builder()
.loadBalancerId(fooClb.id())
.listenerName("acc-test-listener")
.protocol("HTTP")
.port(90)
.serverGroupId(fooServerGroup.id())
.healthCheck(ListenerHealthCheckArgs.builder()
.enabled("on")
.interval(10)
.timeout(3)
.healthyThreshold(5)
.unHealthyThreshold(2)
.domain("volcengine.com")
.httpCode("http_2xx")
.method("GET")
.uri("/")
.build())
.enabled("on")
.build());
final var fooListeners = ClbFunctions.getListeners(GetListenersArgs.builder()
.ids(fooListener.id())
.build());
}
}
resources:
fooVpc:
type: volcengine:vpc:Vpc
properties:
vpcName: acc-test-vpc
cidrBlock: 172.16.0.0/16
fooSubnet:
type: volcengine:vpc:Subnet
properties:
subnetName: acc-test-subnet
cidrBlock: 172.16.0.0/24
zoneId: ${fooZones.zones[0].id}
vpcId: ${fooVpc.id}
fooClb:
type: volcengine:clb:Clb
properties:
type: public
subnetId: ${fooSubnet.id}
loadBalancerSpec: small_1
description: acc0Demo
loadBalancerName: acc-test-create
eipBillingConfig:
isp: BGP
eipBillingType: PostPaidByBandwidth
bandwidth: 1
fooServerGroup:
type: volcengine:clb:ServerGroup
properties:
loadBalancerId: ${fooClb.id}
serverGroupName: acc-test-create
description: hello demo11
fooListener:
type: volcengine:clb:Listener
properties:
loadBalancerId: ${fooClb.id}
listenerName: acc-test-listener
protocol: HTTP
port: 90
serverGroupId: ${fooServerGroup.id}
healthCheck:
enabled: on
interval: 10
timeout: 3
healthyThreshold: 5
unHealthyThreshold: 2
domain: volcengine.com
httpCode: http_2xx
method: GET
uri: /
enabled: on
variables:
fooZones:
fn::invoke:
Function: volcengine:ecs:getZones
Arguments: {}
fooListeners:
fn::invoke:
Function: volcengine:clb:getListeners
Arguments:
ids:
- ${fooListener.id}
Using getListeners
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 getListeners(args: GetListenersArgs, opts?: InvokeOptions): Promise<GetListenersResult>
function getListenersOutput(args: GetListenersOutputArgs, opts?: InvokeOptions): Output<GetListenersResult>def get_listeners(ids: Optional[Sequence[str]] = None,
listener_name: Optional[str] = None,
load_balancer_id: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
protocol: Optional[str] = None,
tags: Optional[Sequence[GetListenersTag]] = None,
opts: Optional[InvokeOptions] = None) -> GetListenersResult
def get_listeners_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
listener_name: Optional[pulumi.Input[str]] = None,
load_balancer_id: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
protocol: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[GetListenersTagArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetListenersResult]func GetListeners(ctx *Context, args *GetListenersArgs, opts ...InvokeOption) (*GetListenersResult, error)
func GetListenersOutput(ctx *Context, args *GetListenersOutputArgs, opts ...InvokeOption) GetListenersResultOutput> Note: This function is named GetListeners in the Go SDK.
public static class GetListeners
{
public static Task<GetListenersResult> InvokeAsync(GetListenersArgs args, InvokeOptions? opts = null)
public static Output<GetListenersResult> Invoke(GetListenersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetListenersResult> getListeners(GetListenersArgs args, InvokeOptions options)
public static Output<GetListenersResult> getListeners(GetListenersArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:clb/getListeners:getListeners
arguments:
# arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of Listener IDs.
- Listener
Name string - The name of the Listener.
- Load
Balancer stringId - The id of the Clb.
- Name
Regex string - A Name Regex of Listener.
- Output
File string - File name where to save data source results.
- Protocol string
- The protocol of the Listener. Values:
TCP,UDP,HTTP,HTTPS. -
List<Get
Listeners Tag> - Tags.
- Ids []string
- A list of Listener IDs.
- Listener
Name string - The name of the Listener.
- Load
Balancer stringId - The id of the Clb.
- Name
Regex string - A Name Regex of Listener.
- Output
File string - File name where to save data source results.
- Protocol string
- The protocol of the Listener. Values:
TCP,UDP,HTTP,HTTPS. -
[]Get
Listeners Tag - Tags.
- ids List<String>
- A list of Listener IDs.
- listener
Name String - The name of the Listener.
- load
Balancer StringId - The id of the Clb.
- name
Regex String - A Name Regex of Listener.
- output
File String - File name where to save data source results.
- protocol String
- The protocol of the Listener. Values:
TCP,UDP,HTTP,HTTPS. -
List<Get
Listeners Tag> - Tags.
- ids string[]
- A list of Listener IDs.
- listener
Name string - The name of the Listener.
- load
Balancer stringId - The id of the Clb.
- name
Regex string - A Name Regex of Listener.
- output
File string - File name where to save data source results.
- protocol string
- The protocol of the Listener. Values:
TCP,UDP,HTTP,HTTPS. -
Get
Listeners Tag[] - Tags.
- ids Sequence[str]
- A list of Listener IDs.
- listener_
name str - The name of the Listener.
- load_
balancer_ strid - The id of the Clb.
- name_
regex str - A Name Regex of Listener.
- output_
file str - File name where to save data source results.
- protocol str
- The protocol of the Listener. Values:
TCP,UDP,HTTP,HTTPS. -
Sequence[Get
Listeners Tag] - Tags.
- ids List<String>
- A list of Listener IDs.
- listener
Name String - The name of the Listener.
- load
Balancer StringId - The id of the Clb.
- name
Regex String - A Name Regex of Listener.
- output
File String - File name where to save data source results.
- protocol String
- The protocol of the Listener. Values:
TCP,UDP,HTTP,HTTPS. - List<Property Map>
- Tags.
getListeners Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Listeners
List<Get
Listeners Listener> - The collection of Listener query.
- Total
Count int - The total count of Listener query.
- Ids List<string>
- Listener
Name string - The name of the Listener.
- Load
Balancer stringId - The id of the Clb.
- Name
Regex string - Output
File string - Protocol string
- The protocol of the Listener.
-
List<Get
Listeners Tag> - Tags.
- Id string
- The provider-assigned unique ID for this managed resource.
- Listeners
[]Get
Listeners Listener - The collection of Listener query.
- Total
Count int - The total count of Listener query.
- Ids []string
- Listener
Name string - The name of the Listener.
- Load
Balancer stringId - The id of the Clb.
- Name
Regex string - Output
File string - Protocol string
- The protocol of the Listener.
-
[]Get
Listeners Tag - Tags.
- id String
- The provider-assigned unique ID for this managed resource.
- listeners
List<Get
Listeners Listener> - The collection of Listener query.
- total
Count Integer - The total count of Listener query.
- ids List<String>
- listener
Name String - The name of the Listener.
- load
Balancer StringId - The id of the Clb.
- name
Regex String - output
File String - protocol String
- The protocol of the Listener.
-
List<Get
Listeners Tag> - Tags.
- id string
- The provider-assigned unique ID for this managed resource.
- listeners
Get
Listeners Listener[] - The collection of Listener query.
- total
Count number - The total count of Listener query.
- ids string[]
- listener
Name string - The name of the Listener.
- load
Balancer stringId - The id of the Clb.
- name
Regex string - output
File string - protocol string
- The protocol of the Listener.
-
Get
Listeners Tag[] - Tags.
- id str
- The provider-assigned unique ID for this managed resource.
- listeners
Sequence[Get
Listeners Listener] - The collection of Listener query.
- total_
count int - The total count of Listener query.
- ids Sequence[str]
- listener_
name str - The name of the Listener.
- load_
balancer_ strid - The id of the Clb.
- name_
regex str - output_
file str - protocol str
- The protocol of the Listener.
-
Sequence[Get
Listeners Tag] - Tags.
- id String
- The provider-assigned unique ID for this managed resource.
- listeners List<Property Map>
- The collection of Listener query.
- total
Count Number - The total count of Listener query.
- ids List<String>
- listener
Name String - The name of the Listener.
- load
Balancer StringId - The id of the Clb.
- name
Regex String - output
File String - protocol String
- The protocol of the Listener.
- List<Property Map>
- Tags.
Supporting Types
GetListenersListener
- Acl
Ids List<string> - The acl ID list to which the Listener is bound.
- Acl
Status string - The acl status of the Listener.
- Acl
Type string - The acl type of the Listener.
- Bandwidth int
- The bandwidth of the Listener. Unit: Mbps.
- Ca
Certificate stringId - The ID of the CA certificate which is associated with the Listener. When
ca_enabledistrue, this parameter is returned. - Ca
Enabled string - Whether to enable CACertificate two-way authentication.
- Cert
Center stringCertificate Id - The ID of the certificate in Certificate Center. When
certificate_sourceiscert_center, this parameter is returned. - Certificate
Id string - The ID of the certificate which is associated with the Listener.
- Certificate
Source string - The source of the certificate which is associated with the Listener. Values:
clb,cert_center. - Client
Body intTimeout - The client body timeout of the Listener. Only HTTP/HTTPS listeners return this parameter.
- Client
Header intTimeout - The client header timeout of the Listener. Only HTTP/HTTPS listeners return this parameter.
- Connection
Drain stringEnabled - Whether to enable connection drain of the Listener.
- Connection
Drain intTimeout - The connection drain timeout of the Listener.
- string
- The name of the cookie for session persistence configured on the backend server.
- Cps int
- The maximum number of new connections for Lsistener.
- Create
Time string - The create time of the Listener.
- Description string
- The description of the Listener.
- Enabled string
- The enable status of the Listener.
- End
Port int - The end port of the Listener. This parameter is returned only when full-port listening is enabled.
- Established
Timeout int - The established timeout of the Listener.
- Health
Check stringDomain - The domain of health check.
- Health
Check stringEnabled - The enable status of health check function.
- Health
Check intHealthy Threshold - The healthy threshold of health check.
- Health
Check stringHttp Code - The normal http status code of health check.
- Health
Check intInterval - The interval executing health check.
- Health
Check stringMethod - The method of health check.
- Health
Check intTimeout - The response timeout of health check.
- Health
Check stringUdp Expect - The expected response string for the health check.
- Health
Check stringUdp Request - A request string to perform a health check.
- Health
Check intUn Healthy Threshold - The unhealthy threshold of health check.
- Health
Check stringUri - The uri of health check.
- Helth
Check intPort - The backend server port for health checks. When full-port listening is enabled, this parameter is returned to indicate the port used for health checks. When full-port listening is not enabled, this parameter is not returned, and the health check uses the service port of the backend server.
- Http2Enabled string
- Whether the HTTPS protocol listener enables the front-end HTTP 2.0 protocol.
- Id string
- The ID of the Listener.
- Keepalive
Timeout int - The timeout period for the long connection between the client and the CLB. Only HTTP/HTTPS listeners return this parameter.
- Listener
Id string - The ID of the Listener.
- Listener
Name string - The name of the Listener.
- Load
Balancer stringId - The id of the Clb.
- Max
Connections int - The maximum number of connections for the Listener.
- Persistence
Timeout int - The persistence timeout of the Listener.
- Persistence
Type string - The persistence type of the Listener.
- Port int
- The port receiving request of the Listener.
- Protocol string
- The protocol of the Listener. Values:
TCP,UDP,HTTP,HTTPS. - Proxy
Connect intTimeout - The timeout period for establishing a connection between the CLB and the backend server. Only HTTP/HTTPS listeners return this parameter.
- Proxy
Protocol stringType - Whether to enable proxy protocol.
- Proxy
Read intTimeout - The timeout period for CLB to read the response from the backend server. Only HTTP/HTTPS listeners return this parameter.
- Proxy
Send intTimeout - The timeout period for CLB to transmit requests to backend servers. Only HTTP/HTTPS listeners return this parameter.
- Scheduler string
- The scheduling algorithm of the Listener. Values:
wrr,wlc,sh. - Security
Policy stringId - The TLS security policy of the HTTPS listener. Only HTTPS listeners return this parameter.
- Send
Timeout int - The timeout period for CLB to send responses to the client. Only HTTP/HTTPS listeners return this parameter.
- Server
Group stringId - The ID of the backend server group which is associated with the Listener.
- Start
Port int - The start port of the Listener. This parameter is returned only when full-port listening is enabled.
- Status string
- The status of the Listener.
-
List<Get
Listeners Listener Tag> - Tags.
- Update
Time string - The update time of the Listener.
- Waf
Protection stringEnabled - Whether to enable WAF protection.
- Acl
Ids []string - The acl ID list to which the Listener is bound.
- Acl
Status string - The acl status of the Listener.
- Acl
Type string - The acl type of the Listener.
- Bandwidth int
- The bandwidth of the Listener. Unit: Mbps.
- Ca
Certificate stringId - The ID of the CA certificate which is associated with the Listener. When
ca_enabledistrue, this parameter is returned. - Ca
Enabled string - Whether to enable CACertificate two-way authentication.
- Cert
Center stringCertificate Id - The ID of the certificate in Certificate Center. When
certificate_sourceiscert_center, this parameter is returned. - Certificate
Id string - The ID of the certificate which is associated with the Listener.
- Certificate
Source string - The source of the certificate which is associated with the Listener. Values:
clb,cert_center. - Client
Body intTimeout - The client body timeout of the Listener. Only HTTP/HTTPS listeners return this parameter.
- Client
Header intTimeout - The client header timeout of the Listener. Only HTTP/HTTPS listeners return this parameter.
- Connection
Drain stringEnabled - Whether to enable connection drain of the Listener.
- Connection
Drain intTimeout - The connection drain timeout of the Listener.
- string
- The name of the cookie for session persistence configured on the backend server.
- Cps int
- The maximum number of new connections for Lsistener.
- Create
Time string - The create time of the Listener.
- Description string
- The description of the Listener.
- Enabled string
- The enable status of the Listener.
- End
Port int - The end port of the Listener. This parameter is returned only when full-port listening is enabled.
- Established
Timeout int - The established timeout of the Listener.
- Health
Check stringDomain - The domain of health check.
- Health
Check stringEnabled - The enable status of health check function.
- Health
Check intHealthy Threshold - The healthy threshold of health check.
- Health
Check stringHttp Code - The normal http status code of health check.
- Health
Check intInterval - The interval executing health check.
- Health
Check stringMethod - The method of health check.
- Health
Check intTimeout - The response timeout of health check.
- Health
Check stringUdp Expect - The expected response string for the health check.
- Health
Check stringUdp Request - A request string to perform a health check.
- Health
Check intUn Healthy Threshold - The unhealthy threshold of health check.
- Health
Check stringUri - The uri of health check.
- Helth
Check intPort - The backend server port for health checks. When full-port listening is enabled, this parameter is returned to indicate the port used for health checks. When full-port listening is not enabled, this parameter is not returned, and the health check uses the service port of the backend server.
- Http2Enabled string
- Whether the HTTPS protocol listener enables the front-end HTTP 2.0 protocol.
- Id string
- The ID of the Listener.
- Keepalive
Timeout int - The timeout period for the long connection between the client and the CLB. Only HTTP/HTTPS listeners return this parameter.
- Listener
Id string - The ID of the Listener.
- Listener
Name string - The name of the Listener.
- Load
Balancer stringId - The id of the Clb.
- Max
Connections int - The maximum number of connections for the Listener.
- Persistence
Timeout int - The persistence timeout of the Listener.
- Persistence
Type string - The persistence type of the Listener.
- Port int
- The port receiving request of the Listener.
- Protocol string
- The protocol of the Listener. Values:
TCP,UDP,HTTP,HTTPS. - Proxy
Connect intTimeout - The timeout period for establishing a connection between the CLB and the backend server. Only HTTP/HTTPS listeners return this parameter.
- Proxy
Protocol stringType - Whether to enable proxy protocol.
- Proxy
Read intTimeout - The timeout period for CLB to read the response from the backend server. Only HTTP/HTTPS listeners return this parameter.
- Proxy
Send intTimeout - The timeout period for CLB to transmit requests to backend servers. Only HTTP/HTTPS listeners return this parameter.
- Scheduler string
- The scheduling algorithm of the Listener. Values:
wrr,wlc,sh. - Security
Policy stringId - The TLS security policy of the HTTPS listener. Only HTTPS listeners return this parameter.
- Send
Timeout int - The timeout period for CLB to send responses to the client. Only HTTP/HTTPS listeners return this parameter.
- Server
Group stringId - The ID of the backend server group which is associated with the Listener.
- Start
Port int - The start port of the Listener. This parameter is returned only when full-port listening is enabled.
- Status string
- The status of the Listener.
-
[]Get
Listeners Listener Tag - Tags.
- Update
Time string - The update time of the Listener.
- Waf
Protection stringEnabled - Whether to enable WAF protection.
- acl
Ids List<String> - The acl ID list to which the Listener is bound.
- acl
Status String - The acl status of the Listener.
- acl
Type String - The acl type of the Listener.
- bandwidth Integer
- The bandwidth of the Listener. Unit: Mbps.
- ca
Certificate StringId - The ID of the CA certificate which is associated with the Listener. When
ca_enabledistrue, this parameter is returned. - ca
Enabled String - Whether to enable CACertificate two-way authentication.
- cert
Center StringCertificate Id - The ID of the certificate in Certificate Center. When
certificate_sourceiscert_center, this parameter is returned. - certificate
Id String - The ID of the certificate which is associated with the Listener.
- certificate
Source String - The source of the certificate which is associated with the Listener. Values:
clb,cert_center. - client
Body IntegerTimeout - The client body timeout of the Listener. Only HTTP/HTTPS listeners return this parameter.
- client
Header IntegerTimeout - The client header timeout of the Listener. Only HTTP/HTTPS listeners return this parameter.
- connection
Drain StringEnabled - Whether to enable connection drain of the Listener.
- connection
Drain IntegerTimeout - The connection drain timeout of the Listener.
- String
- The name of the cookie for session persistence configured on the backend server.
- cps Integer
- The maximum number of new connections for Lsistener.
- create
Time String - The create time of the Listener.
- description String
- The description of the Listener.
- enabled String
- The enable status of the Listener.
- end
Port Integer - The end port of the Listener. This parameter is returned only when full-port listening is enabled.
- established
Timeout Integer - The established timeout of the Listener.
- health
Check StringDomain - The domain of health check.
- health
Check StringEnabled - The enable status of health check function.
- health
Check IntegerHealthy Threshold - The healthy threshold of health check.
- health
Check StringHttp Code - The normal http status code of health check.
- health
Check IntegerInterval - The interval executing health check.
- health
Check StringMethod - The method of health check.
- health
Check IntegerTimeout - The response timeout of health check.
- health
Check StringUdp Expect - The expected response string for the health check.
- health
Check StringUdp Request - A request string to perform a health check.
- health
Check IntegerUn Healthy Threshold - The unhealthy threshold of health check.
- health
Check StringUri - The uri of health check.
- helth
Check IntegerPort - The backend server port for health checks. When full-port listening is enabled, this parameter is returned to indicate the port used for health checks. When full-port listening is not enabled, this parameter is not returned, and the health check uses the service port of the backend server.
- http2Enabled String
- Whether the HTTPS protocol listener enables the front-end HTTP 2.0 protocol.
- id String
- The ID of the Listener.
- keepalive
Timeout Integer - The timeout period for the long connection between the client and the CLB. Only HTTP/HTTPS listeners return this parameter.
- listener
Id String - The ID of the Listener.
- listener
Name String - The name of the Listener.
- load
Balancer StringId - The id of the Clb.
- max
Connections Integer - The maximum number of connections for the Listener.
- persistence
Timeout Integer - The persistence timeout of the Listener.
- persistence
Type String - The persistence type of the Listener.
- port Integer
- The port receiving request of the Listener.
- protocol String
- The protocol of the Listener. Values:
TCP,UDP,HTTP,HTTPS. - proxy
Connect IntegerTimeout - The timeout period for establishing a connection between the CLB and the backend server. Only HTTP/HTTPS listeners return this parameter.
- proxy
Protocol StringType - Whether to enable proxy protocol.
- proxy
Read IntegerTimeout - The timeout period for CLB to read the response from the backend server. Only HTTP/HTTPS listeners return this parameter.
- proxy
Send IntegerTimeout - The timeout period for CLB to transmit requests to backend servers. Only HTTP/HTTPS listeners return this parameter.
- scheduler String
- The scheduling algorithm of the Listener. Values:
wrr,wlc,sh. - security
Policy StringId - The TLS security policy of the HTTPS listener. Only HTTPS listeners return this parameter.
- send
Timeout Integer - The timeout period for CLB to send responses to the client. Only HTTP/HTTPS listeners return this parameter.
- server
Group StringId - The ID of the backend server group which is associated with the Listener.
- start
Port Integer - The start port of the Listener. This parameter is returned only when full-port listening is enabled.
- status String
- The status of the Listener.
-
List<Get
Listeners Listener Tag> - Tags.
- update
Time String - The update time of the Listener.
- waf
Protection StringEnabled - Whether to enable WAF protection.
- acl
Ids string[] - The acl ID list to which the Listener is bound.
- acl
Status string - The acl status of the Listener.
- acl
Type string - The acl type of the Listener.
- bandwidth number
- The bandwidth of the Listener. Unit: Mbps.
- ca
Certificate stringId - The ID of the CA certificate which is associated with the Listener. When
ca_enabledistrue, this parameter is returned. - ca
Enabled string - Whether to enable CACertificate two-way authentication.
- cert
Center stringCertificate Id - The ID of the certificate in Certificate Center. When
certificate_sourceiscert_center, this parameter is returned. - certificate
Id string - The ID of the certificate which is associated with the Listener.
- certificate
Source string - The source of the certificate which is associated with the Listener. Values:
clb,cert_center. - client
Body numberTimeout - The client body timeout of the Listener. Only HTTP/HTTPS listeners return this parameter.
- client
Header numberTimeout - The client header timeout of the Listener. Only HTTP/HTTPS listeners return this parameter.
- connection
Drain stringEnabled - Whether to enable connection drain of the Listener.
- connection
Drain numberTimeout - The connection drain timeout of the Listener.
- string
- The name of the cookie for session persistence configured on the backend server.
- cps number
- The maximum number of new connections for Lsistener.
- create
Time string - The create time of the Listener.
- description string
- The description of the Listener.
- enabled string
- The enable status of the Listener.
- end
Port number - The end port of the Listener. This parameter is returned only when full-port listening is enabled.
- established
Timeout number - The established timeout of the Listener.
- health
Check stringDomain - The domain of health check.
- health
Check stringEnabled - The enable status of health check function.
- health
Check numberHealthy Threshold - The healthy threshold of health check.
- health
Check stringHttp Code - The normal http status code of health check.
- health
Check numberInterval - The interval executing health check.
- health
Check stringMethod - The method of health check.
- health
Check numberTimeout - The response timeout of health check.
- health
Check stringUdp Expect - The expected response string for the health check.
- health
Check stringUdp Request - A request string to perform a health check.
- health
Check numberUn Healthy Threshold - The unhealthy threshold of health check.
- health
Check stringUri - The uri of health check.
- helth
Check numberPort - The backend server port for health checks. When full-port listening is enabled, this parameter is returned to indicate the port used for health checks. When full-port listening is not enabled, this parameter is not returned, and the health check uses the service port of the backend server.
- http2Enabled string
- Whether the HTTPS protocol listener enables the front-end HTTP 2.0 protocol.
- id string
- The ID of the Listener.
- keepalive
Timeout number - The timeout period for the long connection between the client and the CLB. Only HTTP/HTTPS listeners return this parameter.
- listener
Id string - The ID of the Listener.
- listener
Name string - The name of the Listener.
- load
Balancer stringId - The id of the Clb.
- max
Connections number - The maximum number of connections for the Listener.
- persistence
Timeout number - The persistence timeout of the Listener.
- persistence
Type string - The persistence type of the Listener.
- port number
- The port receiving request of the Listener.
- protocol string
- The protocol of the Listener. Values:
TCP,UDP,HTTP,HTTPS. - proxy
Connect numberTimeout - The timeout period for establishing a connection between the CLB and the backend server. Only HTTP/HTTPS listeners return this parameter.
- proxy
Protocol stringType - Whether to enable proxy protocol.
- proxy
Read numberTimeout - The timeout period for CLB to read the response from the backend server. Only HTTP/HTTPS listeners return this parameter.
- proxy
Send numberTimeout - The timeout period for CLB to transmit requests to backend servers. Only HTTP/HTTPS listeners return this parameter.
- scheduler string
- The scheduling algorithm of the Listener. Values:
wrr,wlc,sh. - security
Policy stringId - The TLS security policy of the HTTPS listener. Only HTTPS listeners return this parameter.
- send
Timeout number - The timeout period for CLB to send responses to the client. Only HTTP/HTTPS listeners return this parameter.
- server
Group stringId - The ID of the backend server group which is associated with the Listener.
- start
Port number - The start port of the Listener. This parameter is returned only when full-port listening is enabled.
- status string
- The status of the Listener.
-
Get
Listeners Listener Tag[] - Tags.
- update
Time string - The update time of the Listener.
- waf
Protection stringEnabled - Whether to enable WAF protection.
- acl_
ids Sequence[str] - The acl ID list to which the Listener is bound.
- acl_
status str - The acl status of the Listener.
- acl_
type str - The acl type of the Listener.
- bandwidth int
- The bandwidth of the Listener. Unit: Mbps.
- ca_
certificate_ strid - The ID of the CA certificate which is associated with the Listener. When
ca_enabledistrue, this parameter is returned. - ca_
enabled str - Whether to enable CACertificate two-way authentication.
- cert_
center_ strcertificate_ id - The ID of the certificate in Certificate Center. When
certificate_sourceiscert_center, this parameter is returned. - certificate_
id str - The ID of the certificate which is associated with the Listener.
- certificate_
source str - The source of the certificate which is associated with the Listener. Values:
clb,cert_center. - client_
body_ inttimeout - The client body timeout of the Listener. Only HTTP/HTTPS listeners return this parameter.
- client_
header_ inttimeout - The client header timeout of the Listener. Only HTTP/HTTPS listeners return this parameter.
- connection_
drain_ strenabled - Whether to enable connection drain of the Listener.
- connection_
drain_ inttimeout - The connection drain timeout of the Listener.
- str
- The name of the cookie for session persistence configured on the backend server.
- cps int
- The maximum number of new connections for Lsistener.
- create_
time str - The create time of the Listener.
- description str
- The description of the Listener.
- enabled str
- The enable status of the Listener.
- end_
port int - The end port of the Listener. This parameter is returned only when full-port listening is enabled.
- established_
timeout int - The established timeout of the Listener.
- health_
check_ strdomain - The domain of health check.
- health_
check_ strenabled - The enable status of health check function.
- health_
check_ inthealthy_ threshold - The healthy threshold of health check.
- health_
check_ strhttp_ code - The normal http status code of health check.
- health_
check_ intinterval - The interval executing health check.
- health_
check_ strmethod - The method of health check.
- health_
check_ inttimeout - The response timeout of health check.
- health_
check_ strudp_ expect - The expected response string for the health check.
- health_
check_ strudp_ request - A request string to perform a health check.
- health_
check_ intun_ healthy_ threshold - The unhealthy threshold of health check.
- health_
check_ struri - The uri of health check.
- helth_
check_ intport - The backend server port for health checks. When full-port listening is enabled, this parameter is returned to indicate the port used for health checks. When full-port listening is not enabled, this parameter is not returned, and the health check uses the service port of the backend server.
- http2_
enabled str - Whether the HTTPS protocol listener enables the front-end HTTP 2.0 protocol.
- id str
- The ID of the Listener.
- keepalive_
timeout int - The timeout period for the long connection between the client and the CLB. Only HTTP/HTTPS listeners return this parameter.
- listener_
id str - The ID of the Listener.
- listener_
name str - The name of the Listener.
- load_
balancer_ strid - The id of the Clb.
- max_
connections int - The maximum number of connections for the Listener.
- persistence_
timeout int - The persistence timeout of the Listener.
- persistence_
type str - The persistence type of the Listener.
- port int
- The port receiving request of the Listener.
- protocol str
- The protocol of the Listener. Values:
TCP,UDP,HTTP,HTTPS. - proxy_
connect_ inttimeout - The timeout period for establishing a connection between the CLB and the backend server. Only HTTP/HTTPS listeners return this parameter.
- proxy_
protocol_ strtype - Whether to enable proxy protocol.
- proxy_
read_ inttimeout - The timeout period for CLB to read the response from the backend server. Only HTTP/HTTPS listeners return this parameter.
- proxy_
send_ inttimeout - The timeout period for CLB to transmit requests to backend servers. Only HTTP/HTTPS listeners return this parameter.
- scheduler str
- The scheduling algorithm of the Listener. Values:
wrr,wlc,sh. - security_
policy_ strid - The TLS security policy of the HTTPS listener. Only HTTPS listeners return this parameter.
- send_
timeout int - The timeout period for CLB to send responses to the client. Only HTTP/HTTPS listeners return this parameter.
- server_
group_ strid - The ID of the backend server group which is associated with the Listener.
- start_
port int - The start port of the Listener. This parameter is returned only when full-port listening is enabled.
- status str
- The status of the Listener.
-
Sequence[Get
Listeners Listener Tag] - Tags.
- update_
time str - The update time of the Listener.
- waf_
protection_ strenabled - Whether to enable WAF protection.
- acl
Ids List<String> - The acl ID list to which the Listener is bound.
- acl
Status String - The acl status of the Listener.
- acl
Type String - The acl type of the Listener.
- bandwidth Number
- The bandwidth of the Listener. Unit: Mbps.
- ca
Certificate StringId - The ID of the CA certificate which is associated with the Listener. When
ca_enabledistrue, this parameter is returned. - ca
Enabled String - Whether to enable CACertificate two-way authentication.
- cert
Center StringCertificate Id - The ID of the certificate in Certificate Center. When
certificate_sourceiscert_center, this parameter is returned. - certificate
Id String - The ID of the certificate which is associated with the Listener.
- certificate
Source String - The source of the certificate which is associated with the Listener. Values:
clb,cert_center. - client
Body NumberTimeout - The client body timeout of the Listener. Only HTTP/HTTPS listeners return this parameter.
- client
Header NumberTimeout - The client header timeout of the Listener. Only HTTP/HTTPS listeners return this parameter.
- connection
Drain StringEnabled - Whether to enable connection drain of the Listener.
- connection
Drain NumberTimeout - The connection drain timeout of the Listener.
- String
- The name of the cookie for session persistence configured on the backend server.
- cps Number
- The maximum number of new connections for Lsistener.
- create
Time String - The create time of the Listener.
- description String
- The description of the Listener.
- enabled String
- The enable status of the Listener.
- end
Port Number - The end port of the Listener. This parameter is returned only when full-port listening is enabled.
- established
Timeout Number - The established timeout of the Listener.
- health
Check StringDomain - The domain of health check.
- health
Check StringEnabled - The enable status of health check function.
- health
Check NumberHealthy Threshold - The healthy threshold of health check.
- health
Check StringHttp Code - The normal http status code of health check.
- health
Check NumberInterval - The interval executing health check.
- health
Check StringMethod - The method of health check.
- health
Check NumberTimeout - The response timeout of health check.
- health
Check StringUdp Expect - The expected response string for the health check.
- health
Check StringUdp Request - A request string to perform a health check.
- health
Check NumberUn Healthy Threshold - The unhealthy threshold of health check.
- health
Check StringUri - The uri of health check.
- helth
Check NumberPort - The backend server port for health checks. When full-port listening is enabled, this parameter is returned to indicate the port used for health checks. When full-port listening is not enabled, this parameter is not returned, and the health check uses the service port of the backend server.
- http2Enabled String
- Whether the HTTPS protocol listener enables the front-end HTTP 2.0 protocol.
- id String
- The ID of the Listener.
- keepalive
Timeout Number - The timeout period for the long connection between the client and the CLB. Only HTTP/HTTPS listeners return this parameter.
- listener
Id String - The ID of the Listener.
- listener
Name String - The name of the Listener.
- load
Balancer StringId - The id of the Clb.
- max
Connections Number - The maximum number of connections for the Listener.
- persistence
Timeout Number - The persistence timeout of the Listener.
- persistence
Type String - The persistence type of the Listener.
- port Number
- The port receiving request of the Listener.
- protocol String
- The protocol of the Listener. Values:
TCP,UDP,HTTP,HTTPS. - proxy
Connect NumberTimeout - The timeout period for establishing a connection between the CLB and the backend server. Only HTTP/HTTPS listeners return this parameter.
- proxy
Protocol StringType - Whether to enable proxy protocol.
- proxy
Read NumberTimeout - The timeout period for CLB to read the response from the backend server. Only HTTP/HTTPS listeners return this parameter.
- proxy
Send NumberTimeout - The timeout period for CLB to transmit requests to backend servers. Only HTTP/HTTPS listeners return this parameter.
- scheduler String
- The scheduling algorithm of the Listener. Values:
wrr,wlc,sh. - security
Policy StringId - The TLS security policy of the HTTPS listener. Only HTTPS listeners return this parameter.
- send
Timeout Number - The timeout period for CLB to send responses to the client. Only HTTP/HTTPS listeners return this parameter.
- server
Group StringId - The ID of the backend server group which is associated with the Listener.
- start
Port Number - The start port of the Listener. This parameter is returned only when full-port listening is enabled.
- status String
- The status of the Listener.
- List<Property Map>
- Tags.
- update
Time String - The update time of the Listener.
- waf
Protection StringEnabled - Whether to enable WAF protection.
GetListenersListenerTag
GetListenersTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Viewing docs for Volcengine v0.0.46
published on Friday, Feb 27, 2026 by Volcengine
published on Friday, Feb 27, 2026 by Volcengine
