1. Packages
  2. Volcengine
  3. API Docs
  4. clb
  5. Listeners
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.clb.Listeners

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 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.Zones({});
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.ListenersOutput({
    ids: [fooListener.id],
});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo_zones = volcengine.ecs.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.listeners_output(ids=[foo_listener.id])
Copy
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.Zones(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.ListenersOutput(ctx, clb.ListenersOutputArgs{
			Ids: pulumi.StringArray{
				fooListener.ID(),
			},
		}, nil)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;

return await Deployment.RunAsync(() => 
{
    var fooZones = Volcengine.Ecs.Zones.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(zonesResult => zonesResult.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.Listeners.Invoke(new()
    {
        Ids = new[]
        {
            fooListener.Id,
        },
    });

});
Copy
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.ZonesArgs;
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.ListenersArgs;
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.Zones();

        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(zonesResult -> zonesResult.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.Listeners(ListenersArgs.builder()
            .ids(fooListener.id())
            .build());

    }
}
Copy
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:Zones
      Arguments: {}
  fooListeners:
    fn::invoke:
      Function: volcengine:clb:Listeners
      Arguments:
        ids:
          - ${fooListener.id}
Copy

Using Listeners

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 listeners(args: ListenersArgs, opts?: InvokeOptions): Promise<ListenersResult>
function listenersOutput(args: ListenersOutputArgs, opts?: InvokeOptions): Output<ListenersResult>
Copy
def 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,
              opts: Optional[InvokeOptions] = None) -> ListenersResult
def 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,
              opts: Optional[InvokeOptions] = None) -> Output[ListenersResult]
Copy
func Listeners(ctx *Context, args *ListenersArgs, opts ...InvokeOption) (*ListenersResult, error)
func ListenersOutput(ctx *Context, args *ListenersOutputArgs, opts ...InvokeOption) ListenersResultOutput
Copy
public static class Listeners 
{
    public static Task<ListenersResult> InvokeAsync(ListenersArgs args, InvokeOptions? opts = null)
    public static Output<ListenersResult> Invoke(ListenersInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListenersResult> listeners(ListenersArgs args, InvokeOptions options)
public static Output<ListenersResult> listeners(ListenersArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:clb:Listeners
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Ids List<string>
A list of Listener IDs.
ListenerName string
The name of the Listener.
LoadBalancerId string
The id of the Clb.
NameRegex string
A Name Regex of Listener.
OutputFile string
File name where to save data source results.
Ids []string
A list of Listener IDs.
ListenerName string
The name of the Listener.
LoadBalancerId string
The id of the Clb.
NameRegex string
A Name Regex of Listener.
OutputFile string
File name where to save data source results.
ids List<String>
A list of Listener IDs.
listenerName String
The name of the Listener.
loadBalancerId String
The id of the Clb.
nameRegex String
A Name Regex of Listener.
outputFile String
File name where to save data source results.
ids string[]
A list of Listener IDs.
listenerName string
The name of the Listener.
loadBalancerId string
The id of the Clb.
nameRegex string
A Name Regex of Listener.
outputFile string
File name where to save data source results.
ids Sequence[str]
A list of Listener IDs.
listener_name str
The name of the Listener.
load_balancer_id str
The id of the Clb.
name_regex str
A Name Regex of Listener.
output_file str
File name where to save data source results.
ids List<String>
A list of Listener IDs.
listenerName String
The name of the Listener.
loadBalancerId String
The id of the Clb.
nameRegex String
A Name Regex of Listener.
outputFile String
File name where to save data source results.

Listeners Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Listeners List<ListenersListener>
The collection of Listener query.
TotalCount int
The total count of Listener query.
Ids List<string>
ListenerName string
The name of the Listener.
LoadBalancerId string
NameRegex string
OutputFile string
Id string
The provider-assigned unique ID for this managed resource.
Listeners []ListenersListener
The collection of Listener query.
TotalCount int
The total count of Listener query.
Ids []string
ListenerName string
The name of the Listener.
LoadBalancerId string
NameRegex string
OutputFile string
id String
The provider-assigned unique ID for this managed resource.
listeners List<ListenersListener>
The collection of Listener query.
totalCount Integer
The total count of Listener query.
ids List<String>
listenerName String
The name of the Listener.
loadBalancerId String
nameRegex String
outputFile String
id string
The provider-assigned unique ID for this managed resource.
listeners ListenersListener[]
The collection of Listener query.
totalCount number
The total count of Listener query.
ids string[]
listenerName string
The name of the Listener.
loadBalancerId string
nameRegex string
outputFile string
id str
The provider-assigned unique ID for this managed resource.
listeners Sequence[ListenersListener]
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_id str
name_regex str
output_file str
id String
The provider-assigned unique ID for this managed resource.
listeners List<Property Map>
The collection of Listener query.
totalCount Number
The total count of Listener query.
ids List<String>
listenerName String
The name of the Listener.
loadBalancerId String
nameRegex String
outputFile String

Supporting Types

ListenersListener

AclIds This property is required. List<string>
The acl ID list to which the Listener is bound.
AclStatus This property is required. string
The acl status of the Listener.
AclType This property is required. string
The acl type of the Listener.
Bandwidth This property is required. int
The bandwidth of the Listener. Unit: Mbps.
CertificateId This property is required. string
The ID of the certificate which is associated with the Listener.
ConnectionDrainEnabled This property is required. string
Whether to enable connection drain of the Listener.
ConnectionDrainTimeout This property is required. int
The connection drain timeout of the Listener.
Cookie This property is required. string
The name of the cookie for session persistence configured on the backend server.
CreateTime This property is required. string
The create time of the Listener.
Enabled This property is required. string
The enable status of the Listener.
HealthCheckDomain This property is required. string
The domain of health check.
HealthCheckEnabled This property is required. string
The enable status of health check function.
HealthCheckHealthyThreshold This property is required. int
The healthy threshold of health check.
HealthCheckHttpCode This property is required. string
The normal http status code of health check.
HealthCheckInterval This property is required. int
The interval executing health check.
HealthCheckMethod This property is required. string
The method of health check.
HealthCheckTimeout This property is required. int
The response timeout of health check.
HealthCheckUdpExpect This property is required. string
The expected response string for the health check.
HealthCheckUdpRequest This property is required. string
A request string to perform a health check.
HealthCheckUnHealthyThreshold This property is required. int
The unhealthy threshold of health check.
HealthCheckUri This property is required. string
The uri of health check.
Id This property is required. string
The ID of the Listener.
ListenerId This property is required. string
The ID of the Listener.
ListenerName This property is required. string
The name of the Listener.
PersistenceTimeout This property is required. int
The persistence timeout of the Listener.
PersistenceType This property is required. string
The persistence type of the Listener.
Port This property is required. int
The port receiving request of the Listener.
Protocol This property is required. string
The protocol of the Listener.
ProxyProtocolType This property is required. string
Whether to enable proxy protocol.
ServerGroupId This property is required. string
The ID of the backend server group which is associated with the Listener.
Status This property is required. string
The status of the Listener.
UpdateTime This property is required. string
The update time of the Listener.
AclIds This property is required. []string
The acl ID list to which the Listener is bound.
AclStatus This property is required. string
The acl status of the Listener.
AclType This property is required. string
The acl type of the Listener.
Bandwidth This property is required. int
The bandwidth of the Listener. Unit: Mbps.
CertificateId This property is required. string
The ID of the certificate which is associated with the Listener.
ConnectionDrainEnabled This property is required. string
Whether to enable connection drain of the Listener.
ConnectionDrainTimeout This property is required. int
The connection drain timeout of the Listener.
Cookie This property is required. string
The name of the cookie for session persistence configured on the backend server.
CreateTime This property is required. string
The create time of the Listener.
Enabled This property is required. string
The enable status of the Listener.
HealthCheckDomain This property is required. string
The domain of health check.
HealthCheckEnabled This property is required. string
The enable status of health check function.
HealthCheckHealthyThreshold This property is required. int
The healthy threshold of health check.
HealthCheckHttpCode This property is required. string
The normal http status code of health check.
HealthCheckInterval This property is required. int
The interval executing health check.
HealthCheckMethod This property is required. string
The method of health check.
HealthCheckTimeout This property is required. int
The response timeout of health check.
HealthCheckUdpExpect This property is required. string
The expected response string for the health check.
HealthCheckUdpRequest This property is required. string
A request string to perform a health check.
HealthCheckUnHealthyThreshold This property is required. int
The unhealthy threshold of health check.
HealthCheckUri This property is required. string
The uri of health check.
Id This property is required. string
The ID of the Listener.
ListenerId This property is required. string
The ID of the Listener.
ListenerName This property is required. string
The name of the Listener.
PersistenceTimeout This property is required. int
The persistence timeout of the Listener.
PersistenceType This property is required. string
The persistence type of the Listener.
Port This property is required. int
The port receiving request of the Listener.
Protocol This property is required. string
The protocol of the Listener.
ProxyProtocolType This property is required. string
Whether to enable proxy protocol.
ServerGroupId This property is required. string
The ID of the backend server group which is associated with the Listener.
Status This property is required. string
The status of the Listener.
UpdateTime This property is required. string
The update time of the Listener.
aclIds This property is required. List<String>
The acl ID list to which the Listener is bound.
aclStatus This property is required. String
The acl status of the Listener.
aclType This property is required. String
The acl type of the Listener.
bandwidth This property is required. Integer
The bandwidth of the Listener. Unit: Mbps.
certificateId This property is required. String
The ID of the certificate which is associated with the Listener.
connectionDrainEnabled This property is required. String
Whether to enable connection drain of the Listener.
connectionDrainTimeout This property is required. Integer
The connection drain timeout of the Listener.
cookie This property is required. String
The name of the cookie for session persistence configured on the backend server.
createTime This property is required. String
The create time of the Listener.
enabled This property is required. String
The enable status of the Listener.
healthCheckDomain This property is required. String
The domain of health check.
healthCheckEnabled This property is required. String
The enable status of health check function.
healthCheckHealthyThreshold This property is required. Integer
The healthy threshold of health check.
healthCheckHttpCode This property is required. String
The normal http status code of health check.
healthCheckInterval This property is required. Integer
The interval executing health check.
healthCheckMethod This property is required. String
The method of health check.
healthCheckTimeout This property is required. Integer
The response timeout of health check.
healthCheckUdpExpect This property is required. String
The expected response string for the health check.
healthCheckUdpRequest This property is required. String
A request string to perform a health check.
healthCheckUnHealthyThreshold This property is required. Integer
The unhealthy threshold of health check.
healthCheckUri This property is required. String
The uri of health check.
id This property is required. String
The ID of the Listener.
listenerId This property is required. String
The ID of the Listener.
listenerName This property is required. String
The name of the Listener.
persistenceTimeout This property is required. Integer
The persistence timeout of the Listener.
persistenceType This property is required. String
The persistence type of the Listener.
port This property is required. Integer
The port receiving request of the Listener.
protocol This property is required. String
The protocol of the Listener.
proxyProtocolType This property is required. String
Whether to enable proxy protocol.
serverGroupId This property is required. String
The ID of the backend server group which is associated with the Listener.
status This property is required. String
The status of the Listener.
updateTime This property is required. String
The update time of the Listener.
aclIds This property is required. string[]
The acl ID list to which the Listener is bound.
aclStatus This property is required. string
The acl status of the Listener.
aclType This property is required. string
The acl type of the Listener.
bandwidth This property is required. number
The bandwidth of the Listener. Unit: Mbps.
certificateId This property is required. string
The ID of the certificate which is associated with the Listener.
connectionDrainEnabled This property is required. string
Whether to enable connection drain of the Listener.
connectionDrainTimeout This property is required. number
The connection drain timeout of the Listener.
cookie This property is required. string
The name of the cookie for session persistence configured on the backend server.
createTime This property is required. string
The create time of the Listener.
enabled This property is required. string
The enable status of the Listener.
healthCheckDomain This property is required. string
The domain of health check.
healthCheckEnabled This property is required. string
The enable status of health check function.
healthCheckHealthyThreshold This property is required. number
The healthy threshold of health check.
healthCheckHttpCode This property is required. string
The normal http status code of health check.
healthCheckInterval This property is required. number
The interval executing health check.
healthCheckMethod This property is required. string
The method of health check.
healthCheckTimeout This property is required. number
The response timeout of health check.
healthCheckUdpExpect This property is required. string
The expected response string for the health check.
healthCheckUdpRequest This property is required. string
A request string to perform a health check.
healthCheckUnHealthyThreshold This property is required. number
The unhealthy threshold of health check.
healthCheckUri This property is required. string
The uri of health check.
id This property is required. string
The ID of the Listener.
listenerId This property is required. string
The ID of the Listener.
listenerName This property is required. string
The name of the Listener.
persistenceTimeout This property is required. number
The persistence timeout of the Listener.
persistenceType This property is required. string
The persistence type of the Listener.
port This property is required. number
The port receiving request of the Listener.
protocol This property is required. string
The protocol of the Listener.
proxyProtocolType This property is required. string
Whether to enable proxy protocol.
serverGroupId This property is required. string
The ID of the backend server group which is associated with the Listener.
status This property is required. string
The status of the Listener.
updateTime This property is required. string
The update time of the Listener.
acl_ids This property is required. Sequence[str]
The acl ID list to which the Listener is bound.
acl_status This property is required. str
The acl status of the Listener.
acl_type This property is required. str
The acl type of the Listener.
bandwidth This property is required. int
The bandwidth of the Listener. Unit: Mbps.
certificate_id This property is required. str
The ID of the certificate which is associated with the Listener.
connection_drain_enabled This property is required. str
Whether to enable connection drain of the Listener.
connection_drain_timeout This property is required. int
The connection drain timeout of the Listener.
cookie This property is required. str
The name of the cookie for session persistence configured on the backend server.
create_time This property is required. str
The create time of the Listener.
enabled This property is required. str
The enable status of the Listener.
health_check_domain This property is required. str
The domain of health check.
health_check_enabled This property is required. str
The enable status of health check function.
health_check_healthy_threshold This property is required. int
The healthy threshold of health check.
health_check_http_code This property is required. str
The normal http status code of health check.
health_check_interval This property is required. int
The interval executing health check.
health_check_method This property is required. str
The method of health check.
health_check_timeout This property is required. int
The response timeout of health check.
health_check_udp_expect This property is required. str
The expected response string for the health check.
health_check_udp_request This property is required. str
A request string to perform a health check.
health_check_un_healthy_threshold This property is required. int
The unhealthy threshold of health check.
health_check_uri This property is required. str
The uri of health check.
id This property is required. str
The ID of the Listener.
listener_id This property is required. str
The ID of the Listener.
listener_name This property is required. str
The name of the Listener.
persistence_timeout This property is required. int
The persistence timeout of the Listener.
persistence_type This property is required. str
The persistence type of the Listener.
port This property is required. int
The port receiving request of the Listener.
protocol This property is required. str
The protocol of the Listener.
proxy_protocol_type This property is required. str
Whether to enable proxy protocol.
server_group_id This property is required. str
The ID of the backend server group which is associated with the Listener.
status This property is required. str
The status of the Listener.
update_time This property is required. str
The update time of the Listener.
aclIds This property is required. List<String>
The acl ID list to which the Listener is bound.
aclStatus This property is required. String
The acl status of the Listener.
aclType This property is required. String
The acl type of the Listener.
bandwidth This property is required. Number
The bandwidth of the Listener. Unit: Mbps.
certificateId This property is required. String
The ID of the certificate which is associated with the Listener.
connectionDrainEnabled This property is required. String
Whether to enable connection drain of the Listener.
connectionDrainTimeout This property is required. Number
The connection drain timeout of the Listener.
cookie This property is required. String
The name of the cookie for session persistence configured on the backend server.
createTime This property is required. String
The create time of the Listener.
enabled This property is required. String
The enable status of the Listener.
healthCheckDomain This property is required. String
The domain of health check.
healthCheckEnabled This property is required. String
The enable status of health check function.
healthCheckHealthyThreshold This property is required. Number
The healthy threshold of health check.
healthCheckHttpCode This property is required. String
The normal http status code of health check.
healthCheckInterval This property is required. Number
The interval executing health check.
healthCheckMethod This property is required. String
The method of health check.
healthCheckTimeout This property is required. Number
The response timeout of health check.
healthCheckUdpExpect This property is required. String
The expected response string for the health check.
healthCheckUdpRequest This property is required. String
A request string to perform a health check.
healthCheckUnHealthyThreshold This property is required. Number
The unhealthy threshold of health check.
healthCheckUri This property is required. String
The uri of health check.
id This property is required. String
The ID of the Listener.
listenerId This property is required. String
The ID of the Listener.
listenerName This property is required. String
The name of the Listener.
persistenceTimeout This property is required. Number
The persistence timeout of the Listener.
persistenceType This property is required. String
The persistence type of the Listener.
port This property is required. Number
The port receiving request of the Listener.
protocol This property is required. String
The protocol of the Listener.
proxyProtocolType This property is required. String
Whether to enable proxy protocol.
serverGroupId This property is required. String
The ID of the backend server group which is associated with the Listener.
status This property is required. String
The status of the Listener.
updateTime This property is required. String
The update time of the Listener.

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine