1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. LbListenerV2
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.LbListenerV2

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for ELB listener you can get at documentation portal

    Manages an Enhanced LB listener resource within OpenTelekomCloud.

    Example Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const listener1 = new opentelekomcloud.LbListenerV2("listener1", {
        loadbalancerId: "d9415786-5f1a-428b-b35f-2f1523e146d2",
        protocol: "HTTP",
        protocolPort: 8080,
        tags: {
            muh: "kuh",
        },
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    listener1 = opentelekomcloud.LbListenerV2("listener1",
        loadbalancer_id="d9415786-5f1a-428b-b35f-2f1523e146d2",
        protocol="HTTP",
        protocol_port=8080,
        tags={
            "muh": "kuh",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.NewLbListenerV2(ctx, "listener1", &opentelekomcloud.LbListenerV2Args{
    			LoadbalancerId: pulumi.String("d9415786-5f1a-428b-b35f-2f1523e146d2"),
    			Protocol:       pulumi.String("HTTP"),
    			ProtocolPort:   pulumi.Float64(8080),
    			Tags: pulumi.StringMap{
    				"muh": pulumi.String("kuh"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var listener1 = new Opentelekomcloud.LbListenerV2("listener1", new()
        {
            LoadbalancerId = "d9415786-5f1a-428b-b35f-2f1523e146d2",
            Protocol = "HTTP",
            ProtocolPort = 8080,
            Tags = 
            {
                { "muh", "kuh" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.LbListenerV2;
    import com.pulumi.opentelekomcloud.LbListenerV2Args;
    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) {
            var listener1 = new LbListenerV2("listener1", LbListenerV2Args.builder()
                .loadbalancerId("d9415786-5f1a-428b-b35f-2f1523e146d2")
                .protocol("HTTP")
                .protocolPort(8080)
                .tags(Map.of("muh", "kuh"))
                .build());
    
        }
    }
    
    resources:
      listener1:
        type: opentelekomcloud:LbListenerV2
        properties:
          loadbalancerId: d9415786-5f1a-428b-b35f-2f1523e146d2
          protocol: HTTP
          protocolPort: 8080
          tags:
            muh: kuh
    

    Example Ip Address Group

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const loadbalancer1 = new opentelekomcloud.LbLoadbalancerV2("loadbalancer1", {vipSubnetId: data.opentelekomcloud_vpc_subnet_v1.shared_subnet.subnet_id});
    const group1 = new opentelekomcloud.LbIpgroupV3("group1", {
        description: "some interesting description 1",
        ipLists: [{
            ip: "192.168.10.10",
            description: "first",
        }],
    });
    const listener1 = new opentelekomcloud.LbListenerV2("listener1", {
        loadbalancerId: loadbalancer1.lbLoadbalancerV2Id,
        protocol: "HTTP",
        protocolPort: 8080,
        ipGroup: {
            id: group1.lbIpgroupV3Id,
            enable: false,
        },
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    loadbalancer1 = opentelekomcloud.LbLoadbalancerV2("loadbalancer1", vip_subnet_id=data["opentelekomcloud_vpc_subnet_v1"]["shared_subnet"]["subnet_id"])
    group1 = opentelekomcloud.LbIpgroupV3("group1",
        description="some interesting description 1",
        ip_lists=[{
            "ip": "192.168.10.10",
            "description": "first",
        }])
    listener1 = opentelekomcloud.LbListenerV2("listener1",
        loadbalancer_id=loadbalancer1.lb_loadbalancer_v2_id,
        protocol="HTTP",
        protocol_port=8080,
        ip_group={
            "id": group1.lb_ipgroup_v3_id,
            "enable": False,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		loadbalancer1, err := opentelekomcloud.NewLbLoadbalancerV2(ctx, "loadbalancer1", &opentelekomcloud.LbLoadbalancerV2Args{
    			VipSubnetId: pulumi.Any(data.Opentelekomcloud_vpc_subnet_v1.Shared_subnet.Subnet_id),
    		})
    		if err != nil {
    			return err
    		}
    		group1, err := opentelekomcloud.NewLbIpgroupV3(ctx, "group1", &opentelekomcloud.LbIpgroupV3Args{
    			Description: pulumi.String("some interesting description 1"),
    			IpLists: opentelekomcloud.LbIpgroupV3IpListArray{
    				&opentelekomcloud.LbIpgroupV3IpListArgs{
    					Ip:          pulumi.String("192.168.10.10"),
    					Description: pulumi.String("first"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = opentelekomcloud.NewLbListenerV2(ctx, "listener1", &opentelekomcloud.LbListenerV2Args{
    			LoadbalancerId: loadbalancer1.LbLoadbalancerV2Id,
    			Protocol:       pulumi.String("HTTP"),
    			ProtocolPort:   pulumi.Float64(8080),
    			IpGroup: &opentelekomcloud.LbListenerV2IpGroupArgs{
    				Id:     group1.LbIpgroupV3Id,
    				Enable: pulumi.Bool(false),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var loadbalancer1 = new Opentelekomcloud.LbLoadbalancerV2("loadbalancer1", new()
        {
            VipSubnetId = data.Opentelekomcloud_vpc_subnet_v1.Shared_subnet.Subnet_id,
        });
    
        var group1 = new Opentelekomcloud.LbIpgroupV3("group1", new()
        {
            Description = "some interesting description 1",
            IpLists = new[]
            {
                new Opentelekomcloud.Inputs.LbIpgroupV3IpListArgs
                {
                    Ip = "192.168.10.10",
                    Description = "first",
                },
            },
        });
    
        var listener1 = new Opentelekomcloud.LbListenerV2("listener1", new()
        {
            LoadbalancerId = loadbalancer1.LbLoadbalancerV2Id,
            Protocol = "HTTP",
            ProtocolPort = 8080,
            IpGroup = new Opentelekomcloud.Inputs.LbListenerV2IpGroupArgs
            {
                Id = group1.LbIpgroupV3Id,
                Enable = false,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.LbLoadbalancerV2;
    import com.pulumi.opentelekomcloud.LbLoadbalancerV2Args;
    import com.pulumi.opentelekomcloud.LbIpgroupV3;
    import com.pulumi.opentelekomcloud.LbIpgroupV3Args;
    import com.pulumi.opentelekomcloud.inputs.LbIpgroupV3IpListArgs;
    import com.pulumi.opentelekomcloud.LbListenerV2;
    import com.pulumi.opentelekomcloud.LbListenerV2Args;
    import com.pulumi.opentelekomcloud.inputs.LbListenerV2IpGroupArgs;
    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) {
            var loadbalancer1 = new LbLoadbalancerV2("loadbalancer1", LbLoadbalancerV2Args.builder()
                .vipSubnetId(data.opentelekomcloud_vpc_subnet_v1().shared_subnet().subnet_id())
                .build());
    
            var group1 = new LbIpgroupV3("group1", LbIpgroupV3Args.builder()
                .description("some interesting description 1")
                .ipLists(LbIpgroupV3IpListArgs.builder()
                    .ip("192.168.10.10")
                    .description("first")
                    .build())
                .build());
    
            var listener1 = new LbListenerV2("listener1", LbListenerV2Args.builder()
                .loadbalancerId(loadbalancer1.lbLoadbalancerV2Id())
                .protocol("HTTP")
                .protocolPort(8080)
                .ipGroup(LbListenerV2IpGroupArgs.builder()
                    .id(group1.lbIpgroupV3Id())
                    .enable(false)
                    .build())
                .build());
    
        }
    }
    
    resources:
      loadbalancer1:
        type: opentelekomcloud:LbLoadbalancerV2
        properties:
          vipSubnetId: ${data.opentelekomcloud_vpc_subnet_v1.shared_subnet.subnet_id}
      group1:
        type: opentelekomcloud:LbIpgroupV3
        properties:
          description: some interesting description 1
          ipLists:
            - ip: 192.168.10.10
              description: first
      listener1:
        type: opentelekomcloud:LbListenerV2
        properties:
          loadbalancerId: ${loadbalancer1.lbLoadbalancerV2Id}
          protocol: HTTP
          protocolPort: 8080
          ipGroup:
            id: ${group1.lbIpgroupV3Id}
            enable: false
    

    Create LbListenerV2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LbListenerV2(name: string, args: LbListenerV2Args, opts?: CustomResourceOptions);
    @overload
    def LbListenerV2(resource_name: str,
                     args: LbListenerV2Args,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def LbListenerV2(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     loadbalancer_id: Optional[str] = None,
                     protocol_port: Optional[float] = None,
                     protocol: Optional[str] = None,
                     description: Optional[str] = None,
                     default_pool_id: Optional[str] = None,
                     http2_enable: Optional[bool] = None,
                     ip_group: Optional[LbListenerV2IpGroupArgs] = None,
                     lb_listener_v2_id: Optional[str] = None,
                     default_tls_container_ref: Optional[str] = None,
                     name: Optional[str] = None,
                     admin_state_up: Optional[bool] = None,
                     client_ca_tls_container_ref: Optional[str] = None,
                     region: Optional[str] = None,
                     sni_container_refs: Optional[Sequence[str]] = None,
                     tags: Optional[Mapping[str, str]] = None,
                     tenant_id: Optional[str] = None,
                     timeouts: Optional[LbListenerV2TimeoutsArgs] = None,
                     tls_ciphers_policy: Optional[str] = None,
                     transparent_client_ip_enable: Optional[bool] = None)
    func NewLbListenerV2(ctx *Context, name string, args LbListenerV2Args, opts ...ResourceOption) (*LbListenerV2, error)
    public LbListenerV2(string name, LbListenerV2Args args, CustomResourceOptions? opts = null)
    public LbListenerV2(String name, LbListenerV2Args args)
    public LbListenerV2(String name, LbListenerV2Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:LbListenerV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LbListenerV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LbListenerV2Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LbListenerV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LbListenerV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LbListenerV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var lbListenerV2Resource = new Opentelekomcloud.LbListenerV2("lbListenerV2Resource", new()
    {
        LoadbalancerId = "string",
        ProtocolPort = 0,
        Protocol = "string",
        Description = "string",
        DefaultPoolId = "string",
        Http2Enable = false,
        IpGroup = new Opentelekomcloud.Inputs.LbListenerV2IpGroupArgs
        {
            Id = "string",
            Enable = false,
            Type = "string",
        },
        LbListenerV2Id = "string",
        DefaultTlsContainerRef = "string",
        Name = "string",
        AdminStateUp = false,
        ClientCaTlsContainerRef = "string",
        Region = "string",
        SniContainerRefs = new[]
        {
            "string",
        },
        Tags = 
        {
            { "string", "string" },
        },
        TenantId = "string",
        Timeouts = new Opentelekomcloud.Inputs.LbListenerV2TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        TlsCiphersPolicy = "string",
        TransparentClientIpEnable = false,
    });
    
    example, err := opentelekomcloud.NewLbListenerV2(ctx, "lbListenerV2Resource", &opentelekomcloud.LbListenerV2Args{
    	LoadbalancerId: pulumi.String("string"),
    	ProtocolPort:   pulumi.Float64(0),
    	Protocol:       pulumi.String("string"),
    	Description:    pulumi.String("string"),
    	DefaultPoolId:  pulumi.String("string"),
    	Http2Enable:    pulumi.Bool(false),
    	IpGroup: &opentelekomcloud.LbListenerV2IpGroupArgs{
    		Id:     pulumi.String("string"),
    		Enable: pulumi.Bool(false),
    		Type:   pulumi.String("string"),
    	},
    	LbListenerV2Id:          pulumi.String("string"),
    	DefaultTlsContainerRef:  pulumi.String("string"),
    	Name:                    pulumi.String("string"),
    	AdminStateUp:            pulumi.Bool(false),
    	ClientCaTlsContainerRef: pulumi.String("string"),
    	Region:                  pulumi.String("string"),
    	SniContainerRefs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	TenantId: pulumi.String("string"),
    	Timeouts: &opentelekomcloud.LbListenerV2TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	TlsCiphersPolicy:          pulumi.String("string"),
    	TransparentClientIpEnable: pulumi.Bool(false),
    })
    
    var lbListenerV2Resource = new LbListenerV2("lbListenerV2Resource", LbListenerV2Args.builder()
        .loadbalancerId("string")
        .protocolPort(0)
        .protocol("string")
        .description("string")
        .defaultPoolId("string")
        .http2Enable(false)
        .ipGroup(LbListenerV2IpGroupArgs.builder()
            .id("string")
            .enable(false)
            .type("string")
            .build())
        .lbListenerV2Id("string")
        .defaultTlsContainerRef("string")
        .name("string")
        .adminStateUp(false)
        .clientCaTlsContainerRef("string")
        .region("string")
        .sniContainerRefs("string")
        .tags(Map.of("string", "string"))
        .tenantId("string")
        .timeouts(LbListenerV2TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .tlsCiphersPolicy("string")
        .transparentClientIpEnable(false)
        .build());
    
    lb_listener_v2_resource = opentelekomcloud.LbListenerV2("lbListenerV2Resource",
        loadbalancer_id="string",
        protocol_port=0,
        protocol="string",
        description="string",
        default_pool_id="string",
        http2_enable=False,
        ip_group={
            "id": "string",
            "enable": False,
            "type": "string",
        },
        lb_listener_v2_id="string",
        default_tls_container_ref="string",
        name="string",
        admin_state_up=False,
        client_ca_tls_container_ref="string",
        region="string",
        sni_container_refs=["string"],
        tags={
            "string": "string",
        },
        tenant_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        tls_ciphers_policy="string",
        transparent_client_ip_enable=False)
    
    const lbListenerV2Resource = new opentelekomcloud.LbListenerV2("lbListenerV2Resource", {
        loadbalancerId: "string",
        protocolPort: 0,
        protocol: "string",
        description: "string",
        defaultPoolId: "string",
        http2Enable: false,
        ipGroup: {
            id: "string",
            enable: false,
            type: "string",
        },
        lbListenerV2Id: "string",
        defaultTlsContainerRef: "string",
        name: "string",
        adminStateUp: false,
        clientCaTlsContainerRef: "string",
        region: "string",
        sniContainerRefs: ["string"],
        tags: {
            string: "string",
        },
        tenantId: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        tlsCiphersPolicy: "string",
        transparentClientIpEnable: false,
    });
    
    type: opentelekomcloud:LbListenerV2
    properties:
        adminStateUp: false
        clientCaTlsContainerRef: string
        defaultPoolId: string
        defaultTlsContainerRef: string
        description: string
        http2Enable: false
        ipGroup:
            enable: false
            id: string
            type: string
        lbListenerV2Id: string
        loadbalancerId: string
        name: string
        protocol: string
        protocolPort: 0
        region: string
        sniContainerRefs:
            - string
        tags:
            string: string
        tenantId: string
        timeouts:
            create: string
            delete: string
            update: string
        tlsCiphersPolicy: string
        transparentClientIpEnable: false
    

    LbListenerV2 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The LbListenerV2 resource accepts the following input properties:

    LoadbalancerId string
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    Protocol string
    The protocol - can either be TCP, HTTP, HTTPS or TERMINATED_HTTPS. Changing this creates a new Listener.
    ProtocolPort double
    The port on which to listen for client traffic. Changing this creates a new Listener.
    AdminStateUp bool
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    ClientCaTlsContainerRef string
    Specifies the ID of a certificate container of type client used by the listener. The value contains a maximum of 128 characters. The default value is null. The loadbalancer only establishes a TLS connection if the client presents a certificate delivered by the client CA whose certificate is registered in the referenced certificate container. The option is effective only in conjunction with TERMINATED_HTTPS.
    DefaultPoolId string
    The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
    DefaultTlsContainerRef string
    Specifies the ID of a certificate container of type server used by the listener. The value contains a maximum of 128 characters. The default value is null. This parameter is required when protocol is set to TERMINATED_HTTPS. See here for more information.
    Description string
    Human-readable description for the Listener.
    Http2Enable bool
    true to enable HTTP/2 mode of ELB. HTTP/2 is disabled by default if not set.
    IpGroup LbListenerV2IpGroup
    Specifies the IP address group associated with the listener.
    LbListenerV2Id string
    The unique ID for the Listener.
    Name string
    Human-readable name for the Listener. Does not have to be unique.
    Region string
    SniContainerRefs List<string>
    Lists the IDs of SNI certificates (server certificates with a domain name) used by the listener. If the parameter value is an empty list, the SNI feature is disabled. The default value is []. It only works in conjunction with TERMINATED_HTTPS.
    Tags Dictionary<string, string>
    Tags key/value pairs to associate with the loadbalancer listener.
    TenantId string
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    Timeouts LbListenerV2Timeouts
    TlsCiphersPolicy string
    Controls the TLS version used. Supported values are tls-1-0, tls-1-1, tls-1-2 and tls-1-2-strict. If not set, the loadbalancer uses tls-1-0. See here for details about the supported cipher suites. The option is effective only in conjunction with TERMINATED_HTTPS.
    TransparentClientIpEnable bool

    Specifies whether to pass source IP addresses of the clients to backend servers. The value is always true for HTTP and HTTPS listeners. For TCP and UDP listeners the value can be true or false with false by default.

    -> If the load balancer is a Dedicated Load Balancer, transparent_client_ip_enable is always true

    LoadbalancerId string
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    Protocol string
    The protocol - can either be TCP, HTTP, HTTPS or TERMINATED_HTTPS. Changing this creates a new Listener.
    ProtocolPort float64
    The port on which to listen for client traffic. Changing this creates a new Listener.
    AdminStateUp bool
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    ClientCaTlsContainerRef string
    Specifies the ID of a certificate container of type client used by the listener. The value contains a maximum of 128 characters. The default value is null. The loadbalancer only establishes a TLS connection if the client presents a certificate delivered by the client CA whose certificate is registered in the referenced certificate container. The option is effective only in conjunction with TERMINATED_HTTPS.
    DefaultPoolId string
    The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
    DefaultTlsContainerRef string
    Specifies the ID of a certificate container of type server used by the listener. The value contains a maximum of 128 characters. The default value is null. This parameter is required when protocol is set to TERMINATED_HTTPS. See here for more information.
    Description string
    Human-readable description for the Listener.
    Http2Enable bool
    true to enable HTTP/2 mode of ELB. HTTP/2 is disabled by default if not set.
    IpGroup LbListenerV2IpGroupArgs
    Specifies the IP address group associated with the listener.
    LbListenerV2Id string
    The unique ID for the Listener.
    Name string
    Human-readable name for the Listener. Does not have to be unique.
    Region string
    SniContainerRefs []string
    Lists the IDs of SNI certificates (server certificates with a domain name) used by the listener. If the parameter value is an empty list, the SNI feature is disabled. The default value is []. It only works in conjunction with TERMINATED_HTTPS.
    Tags map[string]string
    Tags key/value pairs to associate with the loadbalancer listener.
    TenantId string
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    Timeouts LbListenerV2TimeoutsArgs
    TlsCiphersPolicy string
    Controls the TLS version used. Supported values are tls-1-0, tls-1-1, tls-1-2 and tls-1-2-strict. If not set, the loadbalancer uses tls-1-0. See here for details about the supported cipher suites. The option is effective only in conjunction with TERMINATED_HTTPS.
    TransparentClientIpEnable bool

    Specifies whether to pass source IP addresses of the clients to backend servers. The value is always true for HTTP and HTTPS listeners. For TCP and UDP listeners the value can be true or false with false by default.

    -> If the load balancer is a Dedicated Load Balancer, transparent_client_ip_enable is always true

    loadbalancerId String
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    protocol String
    The protocol - can either be TCP, HTTP, HTTPS or TERMINATED_HTTPS. Changing this creates a new Listener.
    protocolPort Double
    The port on which to listen for client traffic. Changing this creates a new Listener.
    adminStateUp Boolean
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    clientCaTlsContainerRef String
    Specifies the ID of a certificate container of type client used by the listener. The value contains a maximum of 128 characters. The default value is null. The loadbalancer only establishes a TLS connection if the client presents a certificate delivered by the client CA whose certificate is registered in the referenced certificate container. The option is effective only in conjunction with TERMINATED_HTTPS.
    defaultPoolId String
    The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
    defaultTlsContainerRef String
    Specifies the ID of a certificate container of type server used by the listener. The value contains a maximum of 128 characters. The default value is null. This parameter is required when protocol is set to TERMINATED_HTTPS. See here for more information.
    description String
    Human-readable description for the Listener.
    http2Enable Boolean
    true to enable HTTP/2 mode of ELB. HTTP/2 is disabled by default if not set.
    ipGroup LbListenerV2IpGroup
    Specifies the IP address group associated with the listener.
    lbListenerV2Id String
    The unique ID for the Listener.
    name String
    Human-readable name for the Listener. Does not have to be unique.
    region String
    sniContainerRefs List<String>
    Lists the IDs of SNI certificates (server certificates with a domain name) used by the listener. If the parameter value is an empty list, the SNI feature is disabled. The default value is []. It only works in conjunction with TERMINATED_HTTPS.
    tags Map<String,String>
    Tags key/value pairs to associate with the loadbalancer listener.
    tenantId String
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    timeouts LbListenerV2Timeouts
    tlsCiphersPolicy String
    Controls the TLS version used. Supported values are tls-1-0, tls-1-1, tls-1-2 and tls-1-2-strict. If not set, the loadbalancer uses tls-1-0. See here for details about the supported cipher suites. The option is effective only in conjunction with TERMINATED_HTTPS.
    transparentClientIpEnable Boolean

    Specifies whether to pass source IP addresses of the clients to backend servers. The value is always true for HTTP and HTTPS listeners. For TCP and UDP listeners the value can be true or false with false by default.

    -> If the load balancer is a Dedicated Load Balancer, transparent_client_ip_enable is always true

    loadbalancerId string
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    protocol string
    The protocol - can either be TCP, HTTP, HTTPS or TERMINATED_HTTPS. Changing this creates a new Listener.
    protocolPort number
    The port on which to listen for client traffic. Changing this creates a new Listener.
    adminStateUp boolean
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    clientCaTlsContainerRef string
    Specifies the ID of a certificate container of type client used by the listener. The value contains a maximum of 128 characters. The default value is null. The loadbalancer only establishes a TLS connection if the client presents a certificate delivered by the client CA whose certificate is registered in the referenced certificate container. The option is effective only in conjunction with TERMINATED_HTTPS.
    defaultPoolId string
    The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
    defaultTlsContainerRef string
    Specifies the ID of a certificate container of type server used by the listener. The value contains a maximum of 128 characters. The default value is null. This parameter is required when protocol is set to TERMINATED_HTTPS. See here for more information.
    description string
    Human-readable description for the Listener.
    http2Enable boolean
    true to enable HTTP/2 mode of ELB. HTTP/2 is disabled by default if not set.
    ipGroup LbListenerV2IpGroup
    Specifies the IP address group associated with the listener.
    lbListenerV2Id string
    The unique ID for the Listener.
    name string
    Human-readable name for the Listener. Does not have to be unique.
    region string
    sniContainerRefs string[]
    Lists the IDs of SNI certificates (server certificates with a domain name) used by the listener. If the parameter value is an empty list, the SNI feature is disabled. The default value is []. It only works in conjunction with TERMINATED_HTTPS.
    tags {[key: string]: string}
    Tags key/value pairs to associate with the loadbalancer listener.
    tenantId string
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    timeouts LbListenerV2Timeouts
    tlsCiphersPolicy string
    Controls the TLS version used. Supported values are tls-1-0, tls-1-1, tls-1-2 and tls-1-2-strict. If not set, the loadbalancer uses tls-1-0. See here for details about the supported cipher suites. The option is effective only in conjunction with TERMINATED_HTTPS.
    transparentClientIpEnable boolean

    Specifies whether to pass source IP addresses of the clients to backend servers. The value is always true for HTTP and HTTPS listeners. For TCP and UDP listeners the value can be true or false with false by default.

    -> If the load balancer is a Dedicated Load Balancer, transparent_client_ip_enable is always true

    loadbalancer_id str
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    protocol str
    The protocol - can either be TCP, HTTP, HTTPS or TERMINATED_HTTPS. Changing this creates a new Listener.
    protocol_port float
    The port on which to listen for client traffic. Changing this creates a new Listener.
    admin_state_up bool
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    client_ca_tls_container_ref str
    Specifies the ID of a certificate container of type client used by the listener. The value contains a maximum of 128 characters. The default value is null. The loadbalancer only establishes a TLS connection if the client presents a certificate delivered by the client CA whose certificate is registered in the referenced certificate container. The option is effective only in conjunction with TERMINATED_HTTPS.
    default_pool_id str
    The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
    default_tls_container_ref str
    Specifies the ID of a certificate container of type server used by the listener. The value contains a maximum of 128 characters. The default value is null. This parameter is required when protocol is set to TERMINATED_HTTPS. See here for more information.
    description str
    Human-readable description for the Listener.
    http2_enable bool
    true to enable HTTP/2 mode of ELB. HTTP/2 is disabled by default if not set.
    ip_group LbListenerV2IpGroupArgs
    Specifies the IP address group associated with the listener.
    lb_listener_v2_id str
    The unique ID for the Listener.
    name str
    Human-readable name for the Listener. Does not have to be unique.
    region str
    sni_container_refs Sequence[str]
    Lists the IDs of SNI certificates (server certificates with a domain name) used by the listener. If the parameter value is an empty list, the SNI feature is disabled. The default value is []. It only works in conjunction with TERMINATED_HTTPS.
    tags Mapping[str, str]
    Tags key/value pairs to associate with the loadbalancer listener.
    tenant_id str
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    timeouts LbListenerV2TimeoutsArgs
    tls_ciphers_policy str
    Controls the TLS version used. Supported values are tls-1-0, tls-1-1, tls-1-2 and tls-1-2-strict. If not set, the loadbalancer uses tls-1-0. See here for details about the supported cipher suites. The option is effective only in conjunction with TERMINATED_HTTPS.
    transparent_client_ip_enable bool

    Specifies whether to pass source IP addresses of the clients to backend servers. The value is always true for HTTP and HTTPS listeners. For TCP and UDP listeners the value can be true or false with false by default.

    -> If the load balancer is a Dedicated Load Balancer, transparent_client_ip_enable is always true

    loadbalancerId String
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    protocol String
    The protocol - can either be TCP, HTTP, HTTPS or TERMINATED_HTTPS. Changing this creates a new Listener.
    protocolPort Number
    The port on which to listen for client traffic. Changing this creates a new Listener.
    adminStateUp Boolean
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    clientCaTlsContainerRef String
    Specifies the ID of a certificate container of type client used by the listener. The value contains a maximum of 128 characters. The default value is null. The loadbalancer only establishes a TLS connection if the client presents a certificate delivered by the client CA whose certificate is registered in the referenced certificate container. The option is effective only in conjunction with TERMINATED_HTTPS.
    defaultPoolId String
    The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
    defaultTlsContainerRef String
    Specifies the ID of a certificate container of type server used by the listener. The value contains a maximum of 128 characters. The default value is null. This parameter is required when protocol is set to TERMINATED_HTTPS. See here for more information.
    description String
    Human-readable description for the Listener.
    http2Enable Boolean
    true to enable HTTP/2 mode of ELB. HTTP/2 is disabled by default if not set.
    ipGroup Property Map
    Specifies the IP address group associated with the listener.
    lbListenerV2Id String
    The unique ID for the Listener.
    name String
    Human-readable name for the Listener. Does not have to be unique.
    region String
    sniContainerRefs List<String>
    Lists the IDs of SNI certificates (server certificates with a domain name) used by the listener. If the parameter value is an empty list, the SNI feature is disabled. The default value is []. It only works in conjunction with TERMINATED_HTTPS.
    tags Map<String>
    Tags key/value pairs to associate with the loadbalancer listener.
    tenantId String
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    timeouts Property Map
    tlsCiphersPolicy String
    Controls the TLS version used. Supported values are tls-1-0, tls-1-1, tls-1-2 and tls-1-2-strict. If not set, the loadbalancer uses tls-1-0. See here for details about the supported cipher suites. The option is effective only in conjunction with TERMINATED_HTTPS.
    transparentClientIpEnable Boolean

    Specifies whether to pass source IP addresses of the clients to backend servers. The value is always true for HTTP and HTTPS listeners. For TCP and UDP listeners the value can be true or false with false by default.

    -> If the load balancer is a Dedicated Load Balancer, transparent_client_ip_enable is always true

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LbListenerV2 resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing LbListenerV2 Resource

    Get an existing LbListenerV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: LbListenerV2State, opts?: CustomResourceOptions): LbListenerV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            admin_state_up: Optional[bool] = None,
            client_ca_tls_container_ref: Optional[str] = None,
            default_pool_id: Optional[str] = None,
            default_tls_container_ref: Optional[str] = None,
            description: Optional[str] = None,
            http2_enable: Optional[bool] = None,
            ip_group: Optional[LbListenerV2IpGroupArgs] = None,
            lb_listener_v2_id: Optional[str] = None,
            loadbalancer_id: Optional[str] = None,
            name: Optional[str] = None,
            protocol: Optional[str] = None,
            protocol_port: Optional[float] = None,
            region: Optional[str] = None,
            sni_container_refs: Optional[Sequence[str]] = None,
            tags: Optional[Mapping[str, str]] = None,
            tenant_id: Optional[str] = None,
            timeouts: Optional[LbListenerV2TimeoutsArgs] = None,
            tls_ciphers_policy: Optional[str] = None,
            transparent_client_ip_enable: Optional[bool] = None) -> LbListenerV2
    func GetLbListenerV2(ctx *Context, name string, id IDInput, state *LbListenerV2State, opts ...ResourceOption) (*LbListenerV2, error)
    public static LbListenerV2 Get(string name, Input<string> id, LbListenerV2State? state, CustomResourceOptions? opts = null)
    public static LbListenerV2 get(String name, Output<String> id, LbListenerV2State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:LbListenerV2    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdminStateUp bool
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    ClientCaTlsContainerRef string
    Specifies the ID of a certificate container of type client used by the listener. The value contains a maximum of 128 characters. The default value is null. The loadbalancer only establishes a TLS connection if the client presents a certificate delivered by the client CA whose certificate is registered in the referenced certificate container. The option is effective only in conjunction with TERMINATED_HTTPS.
    DefaultPoolId string
    The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
    DefaultTlsContainerRef string
    Specifies the ID of a certificate container of type server used by the listener. The value contains a maximum of 128 characters. The default value is null. This parameter is required when protocol is set to TERMINATED_HTTPS. See here for more information.
    Description string
    Human-readable description for the Listener.
    Http2Enable bool
    true to enable HTTP/2 mode of ELB. HTTP/2 is disabled by default if not set.
    IpGroup LbListenerV2IpGroup
    Specifies the IP address group associated with the listener.
    LbListenerV2Id string
    The unique ID for the Listener.
    LoadbalancerId string
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    Name string
    Human-readable name for the Listener. Does not have to be unique.
    Protocol string
    The protocol - can either be TCP, HTTP, HTTPS or TERMINATED_HTTPS. Changing this creates a new Listener.
    ProtocolPort double
    The port on which to listen for client traffic. Changing this creates a new Listener.
    Region string
    SniContainerRefs List<string>
    Lists the IDs of SNI certificates (server certificates with a domain name) used by the listener. If the parameter value is an empty list, the SNI feature is disabled. The default value is []. It only works in conjunction with TERMINATED_HTTPS.
    Tags Dictionary<string, string>
    Tags key/value pairs to associate with the loadbalancer listener.
    TenantId string
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    Timeouts LbListenerV2Timeouts
    TlsCiphersPolicy string
    Controls the TLS version used. Supported values are tls-1-0, tls-1-1, tls-1-2 and tls-1-2-strict. If not set, the loadbalancer uses tls-1-0. See here for details about the supported cipher suites. The option is effective only in conjunction with TERMINATED_HTTPS.
    TransparentClientIpEnable bool

    Specifies whether to pass source IP addresses of the clients to backend servers. The value is always true for HTTP and HTTPS listeners. For TCP and UDP listeners the value can be true or false with false by default.

    -> If the load balancer is a Dedicated Load Balancer, transparent_client_ip_enable is always true

    AdminStateUp bool
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    ClientCaTlsContainerRef string
    Specifies the ID of a certificate container of type client used by the listener. The value contains a maximum of 128 characters. The default value is null. The loadbalancer only establishes a TLS connection if the client presents a certificate delivered by the client CA whose certificate is registered in the referenced certificate container. The option is effective only in conjunction with TERMINATED_HTTPS.
    DefaultPoolId string
    The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
    DefaultTlsContainerRef string
    Specifies the ID of a certificate container of type server used by the listener. The value contains a maximum of 128 characters. The default value is null. This parameter is required when protocol is set to TERMINATED_HTTPS. See here for more information.
    Description string
    Human-readable description for the Listener.
    Http2Enable bool
    true to enable HTTP/2 mode of ELB. HTTP/2 is disabled by default if not set.
    IpGroup LbListenerV2IpGroupArgs
    Specifies the IP address group associated with the listener.
    LbListenerV2Id string
    The unique ID for the Listener.
    LoadbalancerId string
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    Name string
    Human-readable name for the Listener. Does not have to be unique.
    Protocol string
    The protocol - can either be TCP, HTTP, HTTPS or TERMINATED_HTTPS. Changing this creates a new Listener.
    ProtocolPort float64
    The port on which to listen for client traffic. Changing this creates a new Listener.
    Region string
    SniContainerRefs []string
    Lists the IDs of SNI certificates (server certificates with a domain name) used by the listener. If the parameter value is an empty list, the SNI feature is disabled. The default value is []. It only works in conjunction with TERMINATED_HTTPS.
    Tags map[string]string
    Tags key/value pairs to associate with the loadbalancer listener.
    TenantId string
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    Timeouts LbListenerV2TimeoutsArgs
    TlsCiphersPolicy string
    Controls the TLS version used. Supported values are tls-1-0, tls-1-1, tls-1-2 and tls-1-2-strict. If not set, the loadbalancer uses tls-1-0. See here for details about the supported cipher suites. The option is effective only in conjunction with TERMINATED_HTTPS.
    TransparentClientIpEnable bool

    Specifies whether to pass source IP addresses of the clients to backend servers. The value is always true for HTTP and HTTPS listeners. For TCP and UDP listeners the value can be true or false with false by default.

    -> If the load balancer is a Dedicated Load Balancer, transparent_client_ip_enable is always true

    adminStateUp Boolean
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    clientCaTlsContainerRef String
    Specifies the ID of a certificate container of type client used by the listener. The value contains a maximum of 128 characters. The default value is null. The loadbalancer only establishes a TLS connection if the client presents a certificate delivered by the client CA whose certificate is registered in the referenced certificate container. The option is effective only in conjunction with TERMINATED_HTTPS.
    defaultPoolId String
    The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
    defaultTlsContainerRef String
    Specifies the ID of a certificate container of type server used by the listener. The value contains a maximum of 128 characters. The default value is null. This parameter is required when protocol is set to TERMINATED_HTTPS. See here for more information.
    description String
    Human-readable description for the Listener.
    http2Enable Boolean
    true to enable HTTP/2 mode of ELB. HTTP/2 is disabled by default if not set.
    ipGroup LbListenerV2IpGroup
    Specifies the IP address group associated with the listener.
    lbListenerV2Id String
    The unique ID for the Listener.
    loadbalancerId String
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    name String
    Human-readable name for the Listener. Does not have to be unique.
    protocol String
    The protocol - can either be TCP, HTTP, HTTPS or TERMINATED_HTTPS. Changing this creates a new Listener.
    protocolPort Double
    The port on which to listen for client traffic. Changing this creates a new Listener.
    region String
    sniContainerRefs List<String>
    Lists the IDs of SNI certificates (server certificates with a domain name) used by the listener. If the parameter value is an empty list, the SNI feature is disabled. The default value is []. It only works in conjunction with TERMINATED_HTTPS.
    tags Map<String,String>
    Tags key/value pairs to associate with the loadbalancer listener.
    tenantId String
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    timeouts LbListenerV2Timeouts
    tlsCiphersPolicy String
    Controls the TLS version used. Supported values are tls-1-0, tls-1-1, tls-1-2 and tls-1-2-strict. If not set, the loadbalancer uses tls-1-0. See here for details about the supported cipher suites. The option is effective only in conjunction with TERMINATED_HTTPS.
    transparentClientIpEnable Boolean

    Specifies whether to pass source IP addresses of the clients to backend servers. The value is always true for HTTP and HTTPS listeners. For TCP and UDP listeners the value can be true or false with false by default.

    -> If the load balancer is a Dedicated Load Balancer, transparent_client_ip_enable is always true

    adminStateUp boolean
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    clientCaTlsContainerRef string
    Specifies the ID of a certificate container of type client used by the listener. The value contains a maximum of 128 characters. The default value is null. The loadbalancer only establishes a TLS connection if the client presents a certificate delivered by the client CA whose certificate is registered in the referenced certificate container. The option is effective only in conjunction with TERMINATED_HTTPS.
    defaultPoolId string
    The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
    defaultTlsContainerRef string
    Specifies the ID of a certificate container of type server used by the listener. The value contains a maximum of 128 characters. The default value is null. This parameter is required when protocol is set to TERMINATED_HTTPS. See here for more information.
    description string
    Human-readable description for the Listener.
    http2Enable boolean
    true to enable HTTP/2 mode of ELB. HTTP/2 is disabled by default if not set.
    ipGroup LbListenerV2IpGroup
    Specifies the IP address group associated with the listener.
    lbListenerV2Id string
    The unique ID for the Listener.
    loadbalancerId string
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    name string
    Human-readable name for the Listener. Does not have to be unique.
    protocol string
    The protocol - can either be TCP, HTTP, HTTPS or TERMINATED_HTTPS. Changing this creates a new Listener.
    protocolPort number
    The port on which to listen for client traffic. Changing this creates a new Listener.
    region string
    sniContainerRefs string[]
    Lists the IDs of SNI certificates (server certificates with a domain name) used by the listener. If the parameter value is an empty list, the SNI feature is disabled. The default value is []. It only works in conjunction with TERMINATED_HTTPS.
    tags {[key: string]: string}
    Tags key/value pairs to associate with the loadbalancer listener.
    tenantId string
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    timeouts LbListenerV2Timeouts
    tlsCiphersPolicy string
    Controls the TLS version used. Supported values are tls-1-0, tls-1-1, tls-1-2 and tls-1-2-strict. If not set, the loadbalancer uses tls-1-0. See here for details about the supported cipher suites. The option is effective only in conjunction with TERMINATED_HTTPS.
    transparentClientIpEnable boolean

    Specifies whether to pass source IP addresses of the clients to backend servers. The value is always true for HTTP and HTTPS listeners. For TCP and UDP listeners the value can be true or false with false by default.

    -> If the load balancer is a Dedicated Load Balancer, transparent_client_ip_enable is always true

    admin_state_up bool
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    client_ca_tls_container_ref str
    Specifies the ID of a certificate container of type client used by the listener. The value contains a maximum of 128 characters. The default value is null. The loadbalancer only establishes a TLS connection if the client presents a certificate delivered by the client CA whose certificate is registered in the referenced certificate container. The option is effective only in conjunction with TERMINATED_HTTPS.
    default_pool_id str
    The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
    default_tls_container_ref str
    Specifies the ID of a certificate container of type server used by the listener. The value contains a maximum of 128 characters. The default value is null. This parameter is required when protocol is set to TERMINATED_HTTPS. See here for more information.
    description str
    Human-readable description for the Listener.
    http2_enable bool
    true to enable HTTP/2 mode of ELB. HTTP/2 is disabled by default if not set.
    ip_group LbListenerV2IpGroupArgs
    Specifies the IP address group associated with the listener.
    lb_listener_v2_id str
    The unique ID for the Listener.
    loadbalancer_id str
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    name str
    Human-readable name for the Listener. Does not have to be unique.
    protocol str
    The protocol - can either be TCP, HTTP, HTTPS or TERMINATED_HTTPS. Changing this creates a new Listener.
    protocol_port float
    The port on which to listen for client traffic. Changing this creates a new Listener.
    region str
    sni_container_refs Sequence[str]
    Lists the IDs of SNI certificates (server certificates with a domain name) used by the listener. If the parameter value is an empty list, the SNI feature is disabled. The default value is []. It only works in conjunction with TERMINATED_HTTPS.
    tags Mapping[str, str]
    Tags key/value pairs to associate with the loadbalancer listener.
    tenant_id str
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    timeouts LbListenerV2TimeoutsArgs
    tls_ciphers_policy str
    Controls the TLS version used. Supported values are tls-1-0, tls-1-1, tls-1-2 and tls-1-2-strict. If not set, the loadbalancer uses tls-1-0. See here for details about the supported cipher suites. The option is effective only in conjunction with TERMINATED_HTTPS.
    transparent_client_ip_enable bool

    Specifies whether to pass source IP addresses of the clients to backend servers. The value is always true for HTTP and HTTPS listeners. For TCP and UDP listeners the value can be true or false with false by default.

    -> If the load balancer is a Dedicated Load Balancer, transparent_client_ip_enable is always true

    adminStateUp Boolean
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    clientCaTlsContainerRef String
    Specifies the ID of a certificate container of type client used by the listener. The value contains a maximum of 128 characters. The default value is null. The loadbalancer only establishes a TLS connection if the client presents a certificate delivered by the client CA whose certificate is registered in the referenced certificate container. The option is effective only in conjunction with TERMINATED_HTTPS.
    defaultPoolId String
    The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
    defaultTlsContainerRef String
    Specifies the ID of a certificate container of type server used by the listener. The value contains a maximum of 128 characters. The default value is null. This parameter is required when protocol is set to TERMINATED_HTTPS. See here for more information.
    description String
    Human-readable description for the Listener.
    http2Enable Boolean
    true to enable HTTP/2 mode of ELB. HTTP/2 is disabled by default if not set.
    ipGroup Property Map
    Specifies the IP address group associated with the listener.
    lbListenerV2Id String
    The unique ID for the Listener.
    loadbalancerId String
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    name String
    Human-readable name for the Listener. Does not have to be unique.
    protocol String
    The protocol - can either be TCP, HTTP, HTTPS or TERMINATED_HTTPS. Changing this creates a new Listener.
    protocolPort Number
    The port on which to listen for client traffic. Changing this creates a new Listener.
    region String
    sniContainerRefs List<String>
    Lists the IDs of SNI certificates (server certificates with a domain name) used by the listener. If the parameter value is an empty list, the SNI feature is disabled. The default value is []. It only works in conjunction with TERMINATED_HTTPS.
    tags Map<String>
    Tags key/value pairs to associate with the loadbalancer listener.
    tenantId String
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    timeouts Property Map
    tlsCiphersPolicy String
    Controls the TLS version used. Supported values are tls-1-0, tls-1-1, tls-1-2 and tls-1-2-strict. If not set, the loadbalancer uses tls-1-0. See here for details about the supported cipher suites. The option is effective only in conjunction with TERMINATED_HTTPS.
    transparentClientIpEnable Boolean

    Specifies whether to pass source IP addresses of the clients to backend servers. The value is always true for HTTP and HTTPS listeners. For TCP and UDP listeners the value can be true or false with false by default.

    -> If the load balancer is a Dedicated Load Balancer, transparent_client_ip_enable is always true

    Supporting Types

    LbListenerV2IpGroup, LbListenerV2IpGroupArgs

    Id string
    Specifies the ID of the IP address group associated with the listener. Specifies the ID of the IP address group associated with the listener. If ip_list in opentelekomcloud.LbIpgroupV3 is set to an empty array [] and type to whitelist, no IP addresses are allowed to access the listener. If ip_list in opentelekomcloud.LbIpgroupV3 is set to an empty array [] and type to blacklist, any IP address is allowed to access the listener.
    Enable bool
    Specifies whether to enable access control. true: Access control will be enabled. false (default): Access control will be disabled.
    Type string
    Specifies how access to the listener is controlled. white (default): A whitelist will be configured. Only IP addresses in the whitelist can access the listener. black: A blacklist will be configured. IP addresses in the blacklist are not allowed to access the listener. *
    Id string
    Specifies the ID of the IP address group associated with the listener. Specifies the ID of the IP address group associated with the listener. If ip_list in opentelekomcloud.LbIpgroupV3 is set to an empty array [] and type to whitelist, no IP addresses are allowed to access the listener. If ip_list in opentelekomcloud.LbIpgroupV3 is set to an empty array [] and type to blacklist, any IP address is allowed to access the listener.
    Enable bool
    Specifies whether to enable access control. true: Access control will be enabled. false (default): Access control will be disabled.
    Type string
    Specifies how access to the listener is controlled. white (default): A whitelist will be configured. Only IP addresses in the whitelist can access the listener. black: A blacklist will be configured. IP addresses in the blacklist are not allowed to access the listener. *
    id String
    Specifies the ID of the IP address group associated with the listener. Specifies the ID of the IP address group associated with the listener. If ip_list in opentelekomcloud.LbIpgroupV3 is set to an empty array [] and type to whitelist, no IP addresses are allowed to access the listener. If ip_list in opentelekomcloud.LbIpgroupV3 is set to an empty array [] and type to blacklist, any IP address is allowed to access the listener.
    enable Boolean
    Specifies whether to enable access control. true: Access control will be enabled. false (default): Access control will be disabled.
    type String
    Specifies how access to the listener is controlled. white (default): A whitelist will be configured. Only IP addresses in the whitelist can access the listener. black: A blacklist will be configured. IP addresses in the blacklist are not allowed to access the listener. *
    id string
    Specifies the ID of the IP address group associated with the listener. Specifies the ID of the IP address group associated with the listener. If ip_list in opentelekomcloud.LbIpgroupV3 is set to an empty array [] and type to whitelist, no IP addresses are allowed to access the listener. If ip_list in opentelekomcloud.LbIpgroupV3 is set to an empty array [] and type to blacklist, any IP address is allowed to access the listener.
    enable boolean
    Specifies whether to enable access control. true: Access control will be enabled. false (default): Access control will be disabled.
    type string
    Specifies how access to the listener is controlled. white (default): A whitelist will be configured. Only IP addresses in the whitelist can access the listener. black: A blacklist will be configured. IP addresses in the blacklist are not allowed to access the listener. *
    id str
    Specifies the ID of the IP address group associated with the listener. Specifies the ID of the IP address group associated with the listener. If ip_list in opentelekomcloud.LbIpgroupV3 is set to an empty array [] and type to whitelist, no IP addresses are allowed to access the listener. If ip_list in opentelekomcloud.LbIpgroupV3 is set to an empty array [] and type to blacklist, any IP address is allowed to access the listener.
    enable bool
    Specifies whether to enable access control. true: Access control will be enabled. false (default): Access control will be disabled.
    type str
    Specifies how access to the listener is controlled. white (default): A whitelist will be configured. Only IP addresses in the whitelist can access the listener. black: A blacklist will be configured. IP addresses in the blacklist are not allowed to access the listener. *
    id String
    Specifies the ID of the IP address group associated with the listener. Specifies the ID of the IP address group associated with the listener. If ip_list in opentelekomcloud.LbIpgroupV3 is set to an empty array [] and type to whitelist, no IP addresses are allowed to access the listener. If ip_list in opentelekomcloud.LbIpgroupV3 is set to an empty array [] and type to blacklist, any IP address is allowed to access the listener.
    enable Boolean
    Specifies whether to enable access control. true: Access control will be enabled. false (default): Access control will be disabled.
    type String
    Specifies how access to the listener is controlled. white (default): A whitelist will be configured. Only IP addresses in the whitelist can access the listener. black: A blacklist will be configured. IP addresses in the blacklist are not allowed to access the listener. *

    LbListenerV2Timeouts, LbListenerV2TimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    Listeners can be imported using the id, e.g.

    $ pulumi import opentelekomcloud:index/lbListenerV2:LbListenerV2 listener_1 7117d38e-4c8f-4624-a505-bd96b97d024c
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud