opentelekomcloud.LbListenerV2
Explore with Pulumi AI
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:
- Loadbalancer
Id 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
orTERMINATED_HTTPS
. Changing this creates a new Listener. - Protocol
Port double - The port on which to listen for client traffic. Changing this creates a new Listener.
- Admin
State boolUp - The administrative state of the Listener.
A valid value is
true
(UP) orfalse
(DOWN). - Client
Ca stringTls Container Ref - 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 isnull
. 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 withTERMINATED_HTTPS
. - Default
Pool stringId - The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
- Default
Tls stringContainer Ref - 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 isnull
. This parameter is required when protocol is set toTERMINATED_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.- Ip
Group LbListener V2Ip Group - Specifies the IP address group associated with the listener.
- Lb
Listener stringV2Id - The unique ID for the Listener.
- Name string
- Human-readable name for the Listener. Does not have to be unique.
- Region string
- Sni
Container List<string>Refs - 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 withTERMINATED_HTTPS
. - Dictionary<string, string>
- Tags key/value pairs to associate with the loadbalancer listener.
- Tenant
Id 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
Lb
Listener V2Timeouts - Tls
Ciphers stringPolicy - Controls the TLS version used. Supported values are
tls-1-0
,tls-1-1
,tls-1-2
andtls-1-2-strict
. If not set, the loadbalancer usestls-1-0
. See here for details about the supported cipher suites. The option is effective only in conjunction withTERMINATED_HTTPS
. - Transparent
Client boolIp Enable Specifies whether to pass source IP addresses of the clients to backend servers. The value is always
true
forHTTP
andHTTPS
listeners. ForTCP
andUDP
listeners the value can betrue
orfalse
withfalse
by default.-> If the load balancer is a Dedicated Load Balancer,
transparent_client_ip_enable
is alwaystrue
- Loadbalancer
Id 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
orTERMINATED_HTTPS
. Changing this creates a new Listener. - Protocol
Port float64 - The port on which to listen for client traffic. Changing this creates a new Listener.
- Admin
State boolUp - The administrative state of the Listener.
A valid value is
true
(UP) orfalse
(DOWN). - Client
Ca stringTls Container Ref - 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 isnull
. 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 withTERMINATED_HTTPS
. - Default
Pool stringId - The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
- Default
Tls stringContainer Ref - 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 isnull
. This parameter is required when protocol is set toTERMINATED_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.- Ip
Group LbListener V2Ip Group Args - Specifies the IP address group associated with the listener.
- Lb
Listener stringV2Id - The unique ID for the Listener.
- Name string
- Human-readable name for the Listener. Does not have to be unique.
- Region string
- Sni
Container []stringRefs - 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 withTERMINATED_HTTPS
. - map[string]string
- Tags key/value pairs to associate with the loadbalancer listener.
- Tenant
Id 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
Lb
Listener V2Timeouts Args - Tls
Ciphers stringPolicy - Controls the TLS version used. Supported values are
tls-1-0
,tls-1-1
,tls-1-2
andtls-1-2-strict
. If not set, the loadbalancer usestls-1-0
. See here for details about the supported cipher suites. The option is effective only in conjunction withTERMINATED_HTTPS
. - Transparent
Client boolIp Enable Specifies whether to pass source IP addresses of the clients to backend servers. The value is always
true
forHTTP
andHTTPS
listeners. ForTCP
andUDP
listeners the value can betrue
orfalse
withfalse
by default.-> If the load balancer is a Dedicated Load Balancer,
transparent_client_ip_enable
is alwaystrue
- loadbalancer
Id 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
orTERMINATED_HTTPS
. Changing this creates a new Listener. - protocol
Port Double - The port on which to listen for client traffic. Changing this creates a new Listener.
- admin
State BooleanUp - The administrative state of the Listener.
A valid value is
true
(UP) orfalse
(DOWN). - client
Ca StringTls Container Ref - 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 isnull
. 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 withTERMINATED_HTTPS
. - default
Pool StringId - The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
- default
Tls StringContainer Ref - 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 isnull
. This parameter is required when protocol is set toTERMINATED_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.- ip
Group LbListener V2Ip Group - Specifies the IP address group associated with the listener.
- lb
Listener StringV2Id - The unique ID for the Listener.
- name String
- Human-readable name for the Listener. Does not have to be unique.
- region String
- sni
Container List<String>Refs - 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 withTERMINATED_HTTPS
. - Map<String,String>
- Tags key/value pairs to associate with the loadbalancer listener.
- tenant
Id 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
Lb
Listener V2Timeouts - tls
Ciphers StringPolicy - Controls the TLS version used. Supported values are
tls-1-0
,tls-1-1
,tls-1-2
andtls-1-2-strict
. If not set, the loadbalancer usestls-1-0
. See here for details about the supported cipher suites. The option is effective only in conjunction withTERMINATED_HTTPS
. - transparent
Client BooleanIp Enable Specifies whether to pass source IP addresses of the clients to backend servers. The value is always
true
forHTTP
andHTTPS
listeners. ForTCP
andUDP
listeners the value can betrue
orfalse
withfalse
by default.-> If the load balancer is a Dedicated Load Balancer,
transparent_client_ip_enable
is alwaystrue
- loadbalancer
Id 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
orTERMINATED_HTTPS
. Changing this creates a new Listener. - protocol
Port number - The port on which to listen for client traffic. Changing this creates a new Listener.
- admin
State booleanUp - The administrative state of the Listener.
A valid value is
true
(UP) orfalse
(DOWN). - client
Ca stringTls Container Ref - 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 isnull
. 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 withTERMINATED_HTTPS
. - default
Pool stringId - The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
- default
Tls stringContainer Ref - 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 isnull
. This parameter is required when protocol is set toTERMINATED_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.- ip
Group LbListener V2Ip Group - Specifies the IP address group associated with the listener.
- lb
Listener stringV2Id - The unique ID for the Listener.
- name string
- Human-readable name for the Listener. Does not have to be unique.
- region string
- sni
Container string[]Refs - 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 withTERMINATED_HTTPS
. - {[key: string]: string}
- Tags key/value pairs to associate with the loadbalancer listener.
- tenant
Id 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
Lb
Listener V2Timeouts - tls
Ciphers stringPolicy - Controls the TLS version used. Supported values are
tls-1-0
,tls-1-1
,tls-1-2
andtls-1-2-strict
. If not set, the loadbalancer usestls-1-0
. See here for details about the supported cipher suites. The option is effective only in conjunction withTERMINATED_HTTPS
. - transparent
Client booleanIp Enable Specifies whether to pass source IP addresses of the clients to backend servers. The value is always
true
forHTTP
andHTTPS
listeners. ForTCP
andUDP
listeners the value can betrue
orfalse
withfalse
by default.-> If the load balancer is a Dedicated Load Balancer,
transparent_client_ip_enable
is alwaystrue
- 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
orTERMINATED_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_ boolup - The administrative state of the Listener.
A valid value is
true
(UP) orfalse
(DOWN). - client_
ca_ strtls_ container_ ref - 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 isnull
. 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 withTERMINATED_HTTPS
. - default_
pool_ strid - The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
- default_
tls_ strcontainer_ ref - 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 isnull
. This parameter is required when protocol is set toTERMINATED_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 LbListener V2Ip Group Args - Specifies the IP address group associated with the listener.
- lb_
listener_ strv2_ id - The unique ID for the Listener.
- name str
- Human-readable name for the Listener. Does not have to be unique.
- region str
- sni_
container_ Sequence[str]refs - 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 withTERMINATED_HTTPS
. - 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
Lb
Listener V2Timeouts Args - tls_
ciphers_ strpolicy - Controls the TLS version used. Supported values are
tls-1-0
,tls-1-1
,tls-1-2
andtls-1-2-strict
. If not set, the loadbalancer usestls-1-0
. See here for details about the supported cipher suites. The option is effective only in conjunction withTERMINATED_HTTPS
. - transparent_
client_ boolip_ enable Specifies whether to pass source IP addresses of the clients to backend servers. The value is always
true
forHTTP
andHTTPS
listeners. ForTCP
andUDP
listeners the value can betrue
orfalse
withfalse
by default.-> If the load balancer is a Dedicated Load Balancer,
transparent_client_ip_enable
is alwaystrue
- loadbalancer
Id 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
orTERMINATED_HTTPS
. Changing this creates a new Listener. - protocol
Port Number - The port on which to listen for client traffic. Changing this creates a new Listener.
- admin
State BooleanUp - The administrative state of the Listener.
A valid value is
true
(UP) orfalse
(DOWN). - client
Ca StringTls Container Ref - 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 isnull
. 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 withTERMINATED_HTTPS
. - default
Pool StringId - The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
- default
Tls StringContainer Ref - 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 isnull
. This parameter is required when protocol is set toTERMINATED_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.- ip
Group Property Map - Specifies the IP address group associated with the listener.
- lb
Listener StringV2Id - The unique ID for the Listener.
- name String
- Human-readable name for the Listener. Does not have to be unique.
- region String
- sni
Container List<String>Refs - 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 withTERMINATED_HTTPS
. - Map<String>
- Tags key/value pairs to associate with the loadbalancer listener.
- tenant
Id 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
- tls
Ciphers StringPolicy - Controls the TLS version used. Supported values are
tls-1-0
,tls-1-1
,tls-1-2
andtls-1-2-strict
. If not set, the loadbalancer usestls-1-0
. See here for details about the supported cipher suites. The option is effective only in conjunction withTERMINATED_HTTPS
. - transparent
Client BooleanIp Enable Specifies whether to pass source IP addresses of the clients to backend servers. The value is always
true
forHTTP
andHTTPS
listeners. ForTCP
andUDP
listeners the value can betrue
orfalse
withfalse
by default.-> If the load balancer is a Dedicated Load Balancer,
transparent_client_ip_enable
is alwaystrue
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.
- Admin
State boolUp - The administrative state of the Listener.
A valid value is
true
(UP) orfalse
(DOWN). - Client
Ca stringTls Container Ref - 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 isnull
. 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 withTERMINATED_HTTPS
. - Default
Pool stringId - The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
- Default
Tls stringContainer Ref - 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 isnull
. This parameter is required when protocol is set toTERMINATED_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.- Ip
Group LbListener V2Ip Group - Specifies the IP address group associated with the listener.
- Lb
Listener stringV2Id - The unique ID for the Listener.
- Loadbalancer
Id 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
orTERMINATED_HTTPS
. Changing this creates a new Listener. - Protocol
Port double - The port on which to listen for client traffic. Changing this creates a new Listener.
- Region string
- Sni
Container List<string>Refs - 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 withTERMINATED_HTTPS
. - Dictionary<string, string>
- Tags key/value pairs to associate with the loadbalancer listener.
- Tenant
Id 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
Lb
Listener V2Timeouts - Tls
Ciphers stringPolicy - Controls the TLS version used. Supported values are
tls-1-0
,tls-1-1
,tls-1-2
andtls-1-2-strict
. If not set, the loadbalancer usestls-1-0
. See here for details about the supported cipher suites. The option is effective only in conjunction withTERMINATED_HTTPS
. - Transparent
Client boolIp Enable Specifies whether to pass source IP addresses of the clients to backend servers. The value is always
true
forHTTP
andHTTPS
listeners. ForTCP
andUDP
listeners the value can betrue
orfalse
withfalse
by default.-> If the load balancer is a Dedicated Load Balancer,
transparent_client_ip_enable
is alwaystrue
- Admin
State boolUp - The administrative state of the Listener.
A valid value is
true
(UP) orfalse
(DOWN). - Client
Ca stringTls Container Ref - 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 isnull
. 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 withTERMINATED_HTTPS
. - Default
Pool stringId - The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
- Default
Tls stringContainer Ref - 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 isnull
. This parameter is required when protocol is set toTERMINATED_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.- Ip
Group LbListener V2Ip Group Args - Specifies the IP address group associated with the listener.
- Lb
Listener stringV2Id - The unique ID for the Listener.
- Loadbalancer
Id 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
orTERMINATED_HTTPS
. Changing this creates a new Listener. - Protocol
Port float64 - The port on which to listen for client traffic. Changing this creates a new Listener.
- Region string
- Sni
Container []stringRefs - 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 withTERMINATED_HTTPS
. - map[string]string
- Tags key/value pairs to associate with the loadbalancer listener.
- Tenant
Id 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
Lb
Listener V2Timeouts Args - Tls
Ciphers stringPolicy - Controls the TLS version used. Supported values are
tls-1-0
,tls-1-1
,tls-1-2
andtls-1-2-strict
. If not set, the loadbalancer usestls-1-0
. See here for details about the supported cipher suites. The option is effective only in conjunction withTERMINATED_HTTPS
. - Transparent
Client boolIp Enable Specifies whether to pass source IP addresses of the clients to backend servers. The value is always
true
forHTTP
andHTTPS
listeners. ForTCP
andUDP
listeners the value can betrue
orfalse
withfalse
by default.-> If the load balancer is a Dedicated Load Balancer,
transparent_client_ip_enable
is alwaystrue
- admin
State BooleanUp - The administrative state of the Listener.
A valid value is
true
(UP) orfalse
(DOWN). - client
Ca StringTls Container Ref - 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 isnull
. 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 withTERMINATED_HTTPS
. - default
Pool StringId - The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
- default
Tls StringContainer Ref - 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 isnull
. This parameter is required when protocol is set toTERMINATED_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.- ip
Group LbListener V2Ip Group - Specifies the IP address group associated with the listener.
- lb
Listener StringV2Id - The unique ID for the Listener.
- loadbalancer
Id 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
orTERMINATED_HTTPS
. Changing this creates a new Listener. - protocol
Port Double - The port on which to listen for client traffic. Changing this creates a new Listener.
- region String
- sni
Container List<String>Refs - 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 withTERMINATED_HTTPS
. - Map<String,String>
- Tags key/value pairs to associate with the loadbalancer listener.
- tenant
Id 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
Lb
Listener V2Timeouts - tls
Ciphers StringPolicy - Controls the TLS version used. Supported values are
tls-1-0
,tls-1-1
,tls-1-2
andtls-1-2-strict
. If not set, the loadbalancer usestls-1-0
. See here for details about the supported cipher suites. The option is effective only in conjunction withTERMINATED_HTTPS
. - transparent
Client BooleanIp Enable Specifies whether to pass source IP addresses of the clients to backend servers. The value is always
true
forHTTP
andHTTPS
listeners. ForTCP
andUDP
listeners the value can betrue
orfalse
withfalse
by default.-> If the load balancer is a Dedicated Load Balancer,
transparent_client_ip_enable
is alwaystrue
- admin
State booleanUp - The administrative state of the Listener.
A valid value is
true
(UP) orfalse
(DOWN). - client
Ca stringTls Container Ref - 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 isnull
. 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 withTERMINATED_HTTPS
. - default
Pool stringId - The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
- default
Tls stringContainer Ref - 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 isnull
. This parameter is required when protocol is set toTERMINATED_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.- ip
Group LbListener V2Ip Group - Specifies the IP address group associated with the listener.
- lb
Listener stringV2Id - The unique ID for the Listener.
- loadbalancer
Id 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
orTERMINATED_HTTPS
. Changing this creates a new Listener. - protocol
Port number - The port on which to listen for client traffic. Changing this creates a new Listener.
- region string
- sni
Container string[]Refs - 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 withTERMINATED_HTTPS
. - {[key: string]: string}
- Tags key/value pairs to associate with the loadbalancer listener.
- tenant
Id 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
Lb
Listener V2Timeouts - tls
Ciphers stringPolicy - Controls the TLS version used. Supported values are
tls-1-0
,tls-1-1
,tls-1-2
andtls-1-2-strict
. If not set, the loadbalancer usestls-1-0
. See here for details about the supported cipher suites. The option is effective only in conjunction withTERMINATED_HTTPS
. - transparent
Client booleanIp Enable Specifies whether to pass source IP addresses of the clients to backend servers. The value is always
true
forHTTP
andHTTPS
listeners. ForTCP
andUDP
listeners the value can betrue
orfalse
withfalse
by default.-> If the load balancer is a Dedicated Load Balancer,
transparent_client_ip_enable
is alwaystrue
- admin_
state_ boolup - The administrative state of the Listener.
A valid value is
true
(UP) orfalse
(DOWN). - client_
ca_ strtls_ container_ ref - 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 isnull
. 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 withTERMINATED_HTTPS
. - default_
pool_ strid - The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
- default_
tls_ strcontainer_ ref - 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 isnull
. This parameter is required when protocol is set toTERMINATED_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 LbListener V2Ip Group Args - Specifies the IP address group associated with the listener.
- lb_
listener_ strv2_ id - 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
orTERMINATED_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_ Sequence[str]refs - 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 withTERMINATED_HTTPS
. - 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
Lb
Listener V2Timeouts Args - tls_
ciphers_ strpolicy - Controls the TLS version used. Supported values are
tls-1-0
,tls-1-1
,tls-1-2
andtls-1-2-strict
. If not set, the loadbalancer usestls-1-0
. See here for details about the supported cipher suites. The option is effective only in conjunction withTERMINATED_HTTPS
. - transparent_
client_ boolip_ enable Specifies whether to pass source IP addresses of the clients to backend servers. The value is always
true
forHTTP
andHTTPS
listeners. ForTCP
andUDP
listeners the value can betrue
orfalse
withfalse
by default.-> If the load balancer is a Dedicated Load Balancer,
transparent_client_ip_enable
is alwaystrue
- admin
State BooleanUp - The administrative state of the Listener.
A valid value is
true
(UP) orfalse
(DOWN). - client
Ca StringTls Container Ref - 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 isnull
. 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 withTERMINATED_HTTPS
. - default
Pool StringId - The ID of the default pool with which the Listener is associated. Changing this creates a new Listener.
- default
Tls StringContainer Ref - 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 isnull
. This parameter is required when protocol is set toTERMINATED_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.- ip
Group Property Map - Specifies the IP address group associated with the listener.
- lb
Listener StringV2Id - The unique ID for the Listener.
- loadbalancer
Id 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
orTERMINATED_HTTPS
. Changing this creates a new Listener. - protocol
Port Number - The port on which to listen for client traffic. Changing this creates a new Listener.
- region String
- sni
Container List<String>Refs - 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 withTERMINATED_HTTPS
. - Map<String>
- Tags key/value pairs to associate with the loadbalancer listener.
- tenant
Id 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
- tls
Ciphers StringPolicy - Controls the TLS version used. Supported values are
tls-1-0
,tls-1-1
,tls-1-2
andtls-1-2-strict
. If not set, the loadbalancer usestls-1-0
. See here for details about the supported cipher suites. The option is effective only in conjunction withTERMINATED_HTTPS
. - transparent
Client BooleanIp Enable Specifies whether to pass source IP addresses of the clients to backend servers. The value is always
true
forHTTP
andHTTPS
listeners. ForTCP
andUDP
listeners the value can betrue
orfalse
withfalse
by default.-> If the load balancer is a Dedicated Load Balancer,
transparent_client_ip_enable
is alwaystrue
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
inopentelekomcloud.LbIpgroupV3
is set to an empty array[]
and type towhitelist
, no IP addresses are allowed to access the listener. Ifip_list
inopentelekomcloud.LbIpgroupV3
is set to an empty array[]
and type toblacklist
, 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
inopentelekomcloud.LbIpgroupV3
is set to an empty array[]
and type towhitelist
, no IP addresses are allowed to access the listener. Ifip_list
inopentelekomcloud.LbIpgroupV3
is set to an empty array[]
and type toblacklist
, 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
inopentelekomcloud.LbIpgroupV3
is set to an empty array[]
and type towhitelist
, no IP addresses are allowed to access the listener. Ifip_list
inopentelekomcloud.LbIpgroupV3
is set to an empty array[]
and type toblacklist
, 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
inopentelekomcloud.LbIpgroupV3
is set to an empty array[]
and type towhitelist
, no IP addresses are allowed to access the listener. Ifip_list
inopentelekomcloud.LbIpgroupV3
is set to an empty array[]
and type toblacklist
, 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
inopentelekomcloud.LbIpgroupV3
is set to an empty array[]
and type towhitelist
, no IP addresses are allowed to access the listener. Ifip_list
inopentelekomcloud.LbIpgroupV3
is set to an empty array[]
and type toblacklist
, 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
inopentelekomcloud.LbIpgroupV3
is set to an empty array[]
and type towhitelist
, no IP addresses are allowed to access the listener. Ifip_list
inopentelekomcloud.LbIpgroupV3
is set to an empty array[]
and type toblacklist
, 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
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.