published on Friday, Sep 25, 2026 by OVHcloud
published on Friday, Sep 25, 2026 by OVHcloud
Creates a listener on a load balancer in a public cloud project.
Example Usage
Basic HTTP Listener
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const http = new ovh.CloudLoadbalancerListener("http", {
serviceName: "xxxxxxxxxx",
loadbalancerId: lb.id,
name: "http-listener",
protocol: "HTTP",
protocolPort: 80,
});
import pulumi
import pulumi_ovh as ovh
http = ovh.CloudLoadbalancerListener("http",
service_name="xxxxxxxxxx",
loadbalancer_id=lb["id"],
name="http-listener",
protocol="HTTP",
protocol_port=80)
package main
import (
"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ovh.NewCloudLoadbalancerListener(ctx, "http", &ovh.CloudLoadbalancerListenerArgs{
ServiceName: pulumi.String("xxxxxxxxxx"),
LoadbalancerId: pulumi.Any(lb.Id),
Name: pulumi.String("http-listener"),
Protocol: pulumi.String("HTTP"),
ProtocolPort: pulumi.Int(80),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var http = new Ovh.CloudLoadbalancerListener("http", new()
{
ServiceName = "xxxxxxxxxx",
LoadbalancerId = lb.Id,
Name = "http-listener",
Protocol = "HTTP",
ProtocolPort = 80,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.ovhcloud.pulumi.ovh.CloudLoadbalancerListener;
import com.ovhcloud.pulumi.ovh.CloudLoadbalancerListenerArgs;
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 http = new CloudLoadbalancerListener("http", CloudLoadbalancerListenerArgs.builder()
.serviceName("xxxxxxxxxx")
.loadbalancerId(lb.id())
.name("http-listener")
.protocol("HTTP")
.protocolPort(80)
.build());
}
}
resources:
http:
type: ovh:CloudLoadbalancerListener
properties:
serviceName: xxxxxxxxxx
loadbalancerId: ${lb.id}
name: http-listener
protocol: HTTP
protocolPort: 80
Example coming soon!
HTTPS Listener with TLS and Insert Headers
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
https:
type: ovh:CloudLoadbalancerListener
properties:
serviceName: xxxxxxxxxx
loadbalancerId: ${lb.id}
name: https-listener
protocol: TERMINATED_HTTPS
protocolPort: 443
description: HTTPS listener with TLS termination
defaultTlsContainerRef: https://key-manager.cloud.ovh.net/v1/containers/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
tlsVersions:
- TLSv1.2
- TLSv1.3
insertHeaders:
x_forwarded_for: true
x_forwarded_port: true
x_forwarded_proto: true
timeoutClientData: 50000
timeoutMemberData: 50000
timeoutMemberConnect: 5000
Example coming soon!
Create CloudLoadbalancerListener Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudLoadbalancerListener(name: string, args: CloudLoadbalancerListenerArgs, opts?: CustomResourceOptions);@overload
def CloudLoadbalancerListener(resource_name: str,
args: CloudLoadbalancerListenerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CloudLoadbalancerListener(resource_name: str,
opts: Optional[ResourceOptions] = None,
loadbalancer_id: Optional[str] = None,
service_name: Optional[str] = None,
protocol_port: Optional[int] = None,
protocol: Optional[str] = None,
description: Optional[str] = None,
insert_headers: Optional[CloudLoadbalancerListenerInsertHeadersArgs] = None,
allowed_cidrs: Optional[Sequence[str]] = None,
name: Optional[str] = None,
default_tls_container_ref: Optional[str] = None,
default_pool_id: Optional[str] = None,
connection_limit: Optional[int] = None,
sni_container_refs: Optional[Sequence[str]] = None,
timeout_client_data: Optional[int] = None,
timeout_member_connect: Optional[int] = None,
timeout_member_data: Optional[int] = None,
timeout_tcp_inspect: Optional[int] = None,
tls_versions: Optional[Sequence[str]] = None)func NewCloudLoadbalancerListener(ctx *Context, name string, args CloudLoadbalancerListenerArgs, opts ...ResourceOption) (*CloudLoadbalancerListener, error)public CloudLoadbalancerListener(string name, CloudLoadbalancerListenerArgs args, CustomResourceOptions? opts = null)
public CloudLoadbalancerListener(String name, CloudLoadbalancerListenerArgs args)
public CloudLoadbalancerListener(String name, CloudLoadbalancerListenerArgs args, CustomResourceOptions options)
type: ovh:CloudLoadbalancerListener
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "ovh_cloud_loadbalancer_listener" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CloudLoadbalancerListenerArgs
- 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 CloudLoadbalancerListenerArgs
- 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 CloudLoadbalancerListenerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudLoadbalancerListenerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudLoadbalancerListenerArgs
- 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 cloudLoadbalancerListenerResource = new Ovh.CloudLoadbalancerListener("cloudLoadbalancerListenerResource", new()
{
LoadbalancerId = "string",
ServiceName = "string",
ProtocolPort = 0,
Protocol = "string",
Description = "string",
InsertHeaders = new Ovh.Inputs.CloudLoadbalancerListenerInsertHeadersArgs
{
XForwardedFor = false,
XForwardedPort = false,
XForwardedProto = false,
XSslClientDn = false,
XSslClientHasCert = false,
XSslClientVerify = false,
},
AllowedCidrs = new[]
{
"string",
},
Name = "string",
DefaultTlsContainerRef = "string",
DefaultPoolId = "string",
ConnectionLimit = 0,
SniContainerRefs = new[]
{
"string",
},
TimeoutClientData = 0,
TimeoutMemberConnect = 0,
TimeoutMemberData = 0,
TimeoutTcpInspect = 0,
TlsVersions = new[]
{
"string",
},
});
example, err := ovh.NewCloudLoadbalancerListener(ctx, "cloudLoadbalancerListenerResource", &ovh.CloudLoadbalancerListenerArgs{
LoadbalancerId: pulumi.String("string"),
ServiceName: pulumi.String("string"),
ProtocolPort: pulumi.Int(0),
Protocol: pulumi.String("string"),
Description: pulumi.String("string"),
InsertHeaders: &ovh.CloudLoadbalancerListenerInsertHeadersArgs{
XForwardedFor: pulumi.Bool(false),
XForwardedPort: pulumi.Bool(false),
XForwardedProto: pulumi.Bool(false),
XSslClientDn: pulumi.Bool(false),
XSslClientHasCert: pulumi.Bool(false),
XSslClientVerify: pulumi.Bool(false),
},
AllowedCidrs: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
DefaultTlsContainerRef: pulumi.String("string"),
DefaultPoolId: pulumi.String("string"),
ConnectionLimit: pulumi.Int(0),
SniContainerRefs: pulumi.StringArray{
pulumi.String("string"),
},
TimeoutClientData: pulumi.Int(0),
TimeoutMemberConnect: pulumi.Int(0),
TimeoutMemberData: pulumi.Int(0),
TimeoutTcpInspect: pulumi.Int(0),
TlsVersions: pulumi.StringArray{
pulumi.String("string"),
},
})
resource "ovh_cloud_loadbalancer_listener" "cloudLoadbalancerListenerResource" {
lifecycle {
create_before_destroy = true
}
loadbalancer_id = "string"
service_name = "string"
protocol_port = 0
protocol = "string"
description = "string"
insert_headers = {
x_forwarded_for = false
x_forwarded_port = false
x_forwarded_proto = false
x_ssl_client_dn = false
x_ssl_client_has_cert = false
x_ssl_client_verify = false
}
allowed_cidrs = ["string"]
name = "string"
default_tls_container_ref = "string"
default_pool_id = "string"
connection_limit = 0
sni_container_refs = ["string"]
timeout_client_data = 0
timeout_member_connect = 0
timeout_member_data = 0
timeout_tcp_inspect = 0
tls_versions = ["string"]
}
var cloudLoadbalancerListenerResource = new CloudLoadbalancerListener("cloudLoadbalancerListenerResource", CloudLoadbalancerListenerArgs.builder()
.loadbalancerId("string")
.serviceName("string")
.protocolPort(0)
.protocol("string")
.description("string")
.insertHeaders(CloudLoadbalancerListenerInsertHeadersArgs.builder()
.xForwardedFor(false)
.xForwardedPort(false)
.xForwardedProto(false)
.xSslClientDn(false)
.xSslClientHasCert(false)
.xSslClientVerify(false)
.build())
.allowedCidrs("string")
.name("string")
.defaultTlsContainerRef("string")
.defaultPoolId("string")
.connectionLimit(0)
.sniContainerRefs("string")
.timeoutClientData(0)
.timeoutMemberConnect(0)
.timeoutMemberData(0)
.timeoutTcpInspect(0)
.tlsVersions("string")
.build());
cloud_loadbalancer_listener_resource = ovh.CloudLoadbalancerListener("cloudLoadbalancerListenerResource",
loadbalancer_id="string",
service_name="string",
protocol_port=0,
protocol="string",
description="string",
insert_headers={
"x_forwarded_for": False,
"x_forwarded_port": False,
"x_forwarded_proto": False,
"x_ssl_client_dn": False,
"x_ssl_client_has_cert": False,
"x_ssl_client_verify": False,
},
allowed_cidrs=["string"],
name="string",
default_tls_container_ref="string",
default_pool_id="string",
connection_limit=0,
sni_container_refs=["string"],
timeout_client_data=0,
timeout_member_connect=0,
timeout_member_data=0,
timeout_tcp_inspect=0,
tls_versions=["string"])
const cloudLoadbalancerListenerResource = new ovh.CloudLoadbalancerListener("cloudLoadbalancerListenerResource", {
loadbalancerId: "string",
serviceName: "string",
protocolPort: 0,
protocol: "string",
description: "string",
insertHeaders: {
xForwardedFor: false,
xForwardedPort: false,
xForwardedProto: false,
xSslClientDn: false,
xSslClientHasCert: false,
xSslClientVerify: false,
},
allowedCidrs: ["string"],
name: "string",
defaultTlsContainerRef: "string",
defaultPoolId: "string",
connectionLimit: 0,
sniContainerRefs: ["string"],
timeoutClientData: 0,
timeoutMemberConnect: 0,
timeoutMemberData: 0,
timeoutTcpInspect: 0,
tlsVersions: ["string"],
});
type: ovh:CloudLoadbalancerListener
properties:
allowedCidrs:
- string
connectionLimit: 0
defaultPoolId: string
defaultTlsContainerRef: string
description: string
insertHeaders:
xForwardedFor: false
xForwardedPort: false
xForwardedProto: false
xSslClientDn: false
xSslClientHasCert: false
xSslClientVerify: false
loadbalancerId: string
name: string
protocol: string
protocolPort: 0
serviceName: string
sniContainerRefs:
- string
timeoutClientData: 0
timeoutMemberConnect: 0
timeoutMemberData: 0
timeoutTcpInspect: 0
tlsVersions:
- string
CloudLoadbalancerListener 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 CloudLoadbalancerListener resource accepts the following input properties:
- Loadbalancer
Id string - ID of the load balancer. Changing this value recreates the resource.
- Protocol string
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - Protocol
Port int - Port number the listener listens on. Changing this value recreates the resource.
- Service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- Allowed
Cidrs List<string> - List of CIDRs allowed to access the listener.
- Connection
Limit int - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- Default
Pool stringId - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - Default
Tls stringContainer Ref - Reference to the default TLS container.
- Description string
- Description of the listener.
- Insert
Headers CloudLoadbalancer Listener Insert Headers - Headers to insert into requests:
- Name string
- Name of the listener.
- Sni
Container List<string>Refs - List of SNI container references.
- Timeout
Client intData - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Timeout
Member intConnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Timeout
Member intData - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Timeout
Tcp intInspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Tls
Versions List<string> - List of TLS versions allowed.
- Loadbalancer
Id string - ID of the load balancer. Changing this value recreates the resource.
- Protocol string
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - Protocol
Port int - Port number the listener listens on. Changing this value recreates the resource.
- Service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- Allowed
Cidrs []string - List of CIDRs allowed to access the listener.
- Connection
Limit int - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- Default
Pool stringId - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - Default
Tls stringContainer Ref - Reference to the default TLS container.
- Description string
- Description of the listener.
- Insert
Headers CloudLoadbalancer Listener Insert Headers Args - Headers to insert into requests:
- Name string
- Name of the listener.
- Sni
Container []stringRefs - List of SNI container references.
- Timeout
Client intData - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Timeout
Member intConnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Timeout
Member intData - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Timeout
Tcp intInspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Tls
Versions []string - List of TLS versions allowed.
- loadbalancer_
id string - ID of the load balancer. Changing this value recreates the resource.
- protocol string
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - protocol_
port number - Port number the listener listens on. Changing this value recreates the resource.
- service_
name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- allowed_
cidrs list(string) - List of CIDRs allowed to access the listener.
- connection_
limit number - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- default_
pool_ stringid - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - default_
tls_ stringcontainer_ ref - Reference to the default TLS container.
- description string
- Description of the listener.
- insert_
headers object - Headers to insert into requests:
- name string
- Name of the listener.
- sni_
container_ list(string)refs - List of SNI container references.
- timeout_
client_ numberdata - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout_
member_ numberconnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout_
member_ numberdata - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout_
tcp_ numberinspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- tls_
versions list(string) - List of TLS versions allowed.
- loadbalancer
Id String - ID of the load balancer. Changing this value recreates the resource.
- protocol String
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - protocol
Port Integer - Port number the listener listens on. Changing this value recreates the resource.
- service
Name String - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- allowed
Cidrs List<String> - List of CIDRs allowed to access the listener.
- connection
Limit Integer - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- default
Pool StringId - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - default
Tls StringContainer Ref - Reference to the default TLS container.
- description String
- Description of the listener.
- insert
Headers CloudLoadbalancer Listener Insert Headers - Headers to insert into requests:
- name String
- Name of the listener.
- sni
Container List<String>Refs - List of SNI container references.
- timeout
Client IntegerData - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Member IntegerConnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Member IntegerData - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Tcp IntegerInspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- tls
Versions List<String> - List of TLS versions allowed.
- loadbalancer
Id string - ID of the load balancer. Changing this value recreates the resource.
- protocol string
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - protocol
Port number - Port number the listener listens on. Changing this value recreates the resource.
- service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- allowed
Cidrs string[] - List of CIDRs allowed to access the listener.
- connection
Limit number - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- default
Pool stringId - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - default
Tls stringContainer Ref - Reference to the default TLS container.
- description string
- Description of the listener.
- insert
Headers CloudLoadbalancer Listener Insert Headers - Headers to insert into requests:
- name string
- Name of the listener.
- sni
Container string[]Refs - List of SNI container references.
- timeout
Client numberData - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Member numberConnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Member numberData - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Tcp numberInspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- tls
Versions string[] - List of TLS versions allowed.
- loadbalancer_
id str - ID of the load balancer. Changing this value recreates the resource.
- protocol str
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - protocol_
port int - Port number the listener listens on. Changing this value recreates the resource.
- service_
name str - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- allowed_
cidrs Sequence[str] - List of CIDRs allowed to access the listener.
- connection_
limit int - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- default_
pool_ strid - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - default_
tls_ strcontainer_ ref - Reference to the default TLS container.
- description str
- Description of the listener.
- insert_
headers CloudLoadbalancer Listener Insert Headers Args - Headers to insert into requests:
- name str
- Name of the listener.
- sni_
container_ Sequence[str]refs - List of SNI container references.
- timeout_
client_ intdata - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout_
member_ intconnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout_
member_ intdata - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout_
tcp_ intinspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- tls_
versions Sequence[str] - List of TLS versions allowed.
- loadbalancer
Id String - ID of the load balancer. Changing this value recreates the resource.
- protocol String
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - protocol
Port Number - Port number the listener listens on. Changing this value recreates the resource.
- service
Name String - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- allowed
Cidrs List<String> - List of CIDRs allowed to access the listener.
- connection
Limit Number - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- default
Pool StringId - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - default
Tls StringContainer Ref - Reference to the default TLS container.
- description String
- Description of the listener.
- insert
Headers Property Map - Headers to insert into requests:
- name String
- Name of the listener.
- sni
Container List<String>Refs - List of SNI container references.
- timeout
Client NumberData - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Member NumberConnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Member NumberData - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Tcp NumberInspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- tls
Versions List<String> - List of TLS versions allowed.
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudLoadbalancerListener resource produces the following output properties:
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Creation date of the listener.
- Current
State CloudLoadbalancer Listener Current State - Current state of the listener:
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Status string - Listener readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Updated
At string - Last update date of the listener.
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Creation date of the listener.
- Current
State CloudLoadbalancer Listener Current State - Current state of the listener:
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Status string - Listener readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Updated
At string - Last update date of the listener.
- checksum string
- Computed hash representing the current target specification value.
- created_
at string - Creation date of the listener.
- current_
state object - Current state of the listener:
- id string
- The provider-assigned unique ID for this managed resource.
- resource_
status string - Listener readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated_
at string - Last update date of the listener.
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Creation date of the listener.
- current
State CloudLoadbalancer Listener Current State - Current state of the listener:
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Status String - Listener readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated
At String - Last update date of the listener.
- checksum string
- Computed hash representing the current target specification value.
- created
At string - Creation date of the listener.
- current
State CloudLoadbalancer Listener Current State - Current state of the listener:
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Status string - Listener readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated
At string - Last update date of the listener.
- checksum str
- Computed hash representing the current target specification value.
- created_
at str - Creation date of the listener.
- current_
state CloudLoadbalancer Listener Current State - Current state of the listener:
- id str
- The provider-assigned unique ID for this managed resource.
- resource_
status str - Listener readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated_
at str - Last update date of the listener.
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Creation date of the listener.
- current
State Property Map - Current state of the listener:
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Status String - Listener readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated
At String - Last update date of the listener.
Look up Existing CloudLoadbalancerListener Resource
Get an existing CloudLoadbalancerListener 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?: CloudLoadbalancerListenerState, opts?: CustomResourceOptions): CloudLoadbalancerListener@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allowed_cidrs: Optional[Sequence[str]] = None,
checksum: Optional[str] = None,
connection_limit: Optional[int] = None,
created_at: Optional[str] = None,
current_state: Optional[CloudLoadbalancerListenerCurrentStateArgs] = None,
default_pool_id: Optional[str] = None,
default_tls_container_ref: Optional[str] = None,
description: Optional[str] = None,
insert_headers: Optional[CloudLoadbalancerListenerInsertHeadersArgs] = None,
loadbalancer_id: Optional[str] = None,
name: Optional[str] = None,
protocol: Optional[str] = None,
protocol_port: Optional[int] = None,
resource_status: Optional[str] = None,
service_name: Optional[str] = None,
sni_container_refs: Optional[Sequence[str]] = None,
timeout_client_data: Optional[int] = None,
timeout_member_connect: Optional[int] = None,
timeout_member_data: Optional[int] = None,
timeout_tcp_inspect: Optional[int] = None,
tls_versions: Optional[Sequence[str]] = None,
updated_at: Optional[str] = None) -> CloudLoadbalancerListenerfunc GetCloudLoadbalancerListener(ctx *Context, name string, id IDInput, state *CloudLoadbalancerListenerState, opts ...ResourceOption) (*CloudLoadbalancerListener, error)public static CloudLoadbalancerListener Get(string name, Input<string> id, CloudLoadbalancerListenerState? state, CustomResourceOptions? opts = null)public static CloudLoadbalancerListener get(String name, Output<String> id, CloudLoadbalancerListenerState state, CustomResourceOptions options)resources: _: type: ovh:CloudLoadbalancerListener get: id: ${id}import {
to = ovh_cloud_loadbalancer_listener.example
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.
- Allowed
Cidrs List<string> - List of CIDRs allowed to access the listener.
- Checksum string
- Computed hash representing the current target specification value.
- Connection
Limit int - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- Created
At string - Creation date of the listener.
- Current
State CloudLoadbalancer Listener Current State - Current state of the listener:
- Default
Pool stringId - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - Default
Tls stringContainer Ref - Reference to the default TLS container.
- Description string
- Description of the listener.
- Insert
Headers CloudLoadbalancer Listener Insert Headers - Headers to insert into requests:
- Loadbalancer
Id string - ID of the load balancer. Changing this value recreates the resource.
- Name string
- Name of the listener.
- Protocol string
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - Protocol
Port int - Port number the listener listens on. Changing this value recreates the resource.
- Resource
Status string - Listener readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- Sni
Container List<string>Refs - List of SNI container references.
- Timeout
Client intData - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Timeout
Member intConnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Timeout
Member intData - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Timeout
Tcp intInspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Tls
Versions List<string> - List of TLS versions allowed.
- Updated
At string - Last update date of the listener.
- Allowed
Cidrs []string - List of CIDRs allowed to access the listener.
- Checksum string
- Computed hash representing the current target specification value.
- Connection
Limit int - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- Created
At string - Creation date of the listener.
- Current
State CloudLoadbalancer Listener Current State Args - Current state of the listener:
- Default
Pool stringId - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - Default
Tls stringContainer Ref - Reference to the default TLS container.
- Description string
- Description of the listener.
- Insert
Headers CloudLoadbalancer Listener Insert Headers Args - Headers to insert into requests:
- Loadbalancer
Id string - ID of the load balancer. Changing this value recreates the resource.
- Name string
- Name of the listener.
- Protocol string
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - Protocol
Port int - Port number the listener listens on. Changing this value recreates the resource.
- Resource
Status string - Listener readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- Sni
Container []stringRefs - List of SNI container references.
- Timeout
Client intData - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Timeout
Member intConnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Timeout
Member intData - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Timeout
Tcp intInspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Tls
Versions []string - List of TLS versions allowed.
- Updated
At string - Last update date of the listener.
- allowed_
cidrs list(string) - List of CIDRs allowed to access the listener.
- checksum string
- Computed hash representing the current target specification value.
- connection_
limit number - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- created_
at string - Creation date of the listener.
- current_
state object - Current state of the listener:
- default_
pool_ stringid - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - default_
tls_ stringcontainer_ ref - Reference to the default TLS container.
- description string
- Description of the listener.
- insert_
headers object - Headers to insert into requests:
- loadbalancer_
id string - ID of the load balancer. Changing this value recreates the resource.
- name string
- Name of the listener.
- protocol string
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - protocol_
port number - Port number the listener listens on. Changing this value recreates the resource.
- resource_
status string - Listener readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service_
name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- sni_
container_ list(string)refs - List of SNI container references.
- timeout_
client_ numberdata - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout_
member_ numberconnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout_
member_ numberdata - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout_
tcp_ numberinspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- tls_
versions list(string) - List of TLS versions allowed.
- updated_
at string - Last update date of the listener.
- allowed
Cidrs List<String> - List of CIDRs allowed to access the listener.
- checksum String
- Computed hash representing the current target specification value.
- connection
Limit Integer - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- created
At String - Creation date of the listener.
- current
State CloudLoadbalancer Listener Current State - Current state of the listener:
- default
Pool StringId - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - default
Tls StringContainer Ref - Reference to the default TLS container.
- description String
- Description of the listener.
- insert
Headers CloudLoadbalancer Listener Insert Headers - Headers to insert into requests:
- loadbalancer
Id String - ID of the load balancer. Changing this value recreates the resource.
- name String
- Name of the listener.
- protocol String
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - protocol
Port Integer - Port number the listener listens on. Changing this value recreates the resource.
- resource
Status String - Listener readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service
Name String - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- sni
Container List<String>Refs - List of SNI container references.
- timeout
Client IntegerData - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Member IntegerConnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Member IntegerData - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Tcp IntegerInspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- tls
Versions List<String> - List of TLS versions allowed.
- updated
At String - Last update date of the listener.
- allowed
Cidrs string[] - List of CIDRs allowed to access the listener.
- checksum string
- Computed hash representing the current target specification value.
- connection
Limit number - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- created
At string - Creation date of the listener.
- current
State CloudLoadbalancer Listener Current State - Current state of the listener:
- default
Pool stringId - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - default
Tls stringContainer Ref - Reference to the default TLS container.
- description string
- Description of the listener.
- insert
Headers CloudLoadbalancer Listener Insert Headers - Headers to insert into requests:
- loadbalancer
Id string - ID of the load balancer. Changing this value recreates the resource.
- name string
- Name of the listener.
- protocol string
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - protocol
Port number - Port number the listener listens on. Changing this value recreates the resource.
- resource
Status string - Listener readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- sni
Container string[]Refs - List of SNI container references.
- timeout
Client numberData - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Member numberConnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Member numberData - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Tcp numberInspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- tls
Versions string[] - List of TLS versions allowed.
- updated
At string - Last update date of the listener.
- allowed_
cidrs Sequence[str] - List of CIDRs allowed to access the listener.
- checksum str
- Computed hash representing the current target specification value.
- connection_
limit int - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- created_
at str - Creation date of the listener.
- current_
state CloudLoadbalancer Listener Current State Args - Current state of the listener:
- default_
pool_ strid - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - default_
tls_ strcontainer_ ref - Reference to the default TLS container.
- description str
- Description of the listener.
- insert_
headers CloudLoadbalancer Listener Insert Headers Args - Headers to insert into requests:
- loadbalancer_
id str - ID of the load balancer. Changing this value recreates the resource.
- name str
- Name of the listener.
- protocol str
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - protocol_
port int - Port number the listener listens on. Changing this value recreates the resource.
- resource_
status str - Listener readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service_
name str - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- sni_
container_ Sequence[str]refs - List of SNI container references.
- timeout_
client_ intdata - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout_
member_ intconnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout_
member_ intdata - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout_
tcp_ intinspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- tls_
versions Sequence[str] - List of TLS versions allowed.
- updated_
at str - Last update date of the listener.
- allowed
Cidrs List<String> - List of CIDRs allowed to access the listener.
- checksum String
- Computed hash representing the current target specification value.
- connection
Limit Number - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- created
At String - Creation date of the listener.
- current
State Property Map - Current state of the listener:
- default
Pool StringId - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - default
Tls StringContainer Ref - Reference to the default TLS container.
- description String
- Description of the listener.
- insert
Headers Property Map - Headers to insert into requests:
- loadbalancer
Id String - ID of the load balancer. Changing this value recreates the resource.
- name String
- Name of the listener.
- protocol String
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - protocol
Port Number - Port number the listener listens on. Changing this value recreates the resource.
- resource
Status String - Listener readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service
Name String - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- sni
Container List<String>Refs - List of SNI container references.
- timeout
Client NumberData - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Member NumberConnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Member NumberData - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Tcp NumberInspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- tls
Versions List<String> - List of TLS versions allowed.
- updated
At String - Last update date of the listener.
Supporting Types
CloudLoadbalancerListenerCurrentState, CloudLoadbalancerListenerCurrentStateArgs
- Allowed
Cidrs List<string> - List of CIDRs allowed to access the listener.
- Availability
Zone string - Availability zone.
- Connection
Limit int - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- Default
Pool stringId - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - Default
Tls stringContainer Ref - Reference to the default TLS container.
- Description string
- Description of the listener.
- Insert
Headers CloudLoadbalancer Listener Current State Insert Headers - Headers to insert into requests:
- Name string
- Name of the listener.
- Operating
Status string - Operating status of the listener.
- Protocol string
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - Protocol
Port int - Port number the listener listens on. Changing this value recreates the resource.
- Provisioning
Status string - Provisioning status of the listener.
- Region string
- Region.
- Sni
Container List<string>Refs - List of SNI container references.
- Timeout
Client intData - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Timeout
Member intConnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Timeout
Member intData - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Timeout
Tcp intInspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Tls
Versions List<string> - List of TLS versions allowed.
- Allowed
Cidrs []string - List of CIDRs allowed to access the listener.
- Availability
Zone string - Availability zone.
- Connection
Limit int - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- Default
Pool stringId - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - Default
Tls stringContainer Ref - Reference to the default TLS container.
- Description string
- Description of the listener.
- Insert
Headers CloudLoadbalancer Listener Current State Insert Headers - Headers to insert into requests:
- Name string
- Name of the listener.
- Operating
Status string - Operating status of the listener.
- Protocol string
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - Protocol
Port int - Port number the listener listens on. Changing this value recreates the resource.
- Provisioning
Status string - Provisioning status of the listener.
- Region string
- Region.
- Sni
Container []stringRefs - List of SNI container references.
- Timeout
Client intData - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Timeout
Member intConnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Timeout
Member intData - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Timeout
Tcp intInspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- Tls
Versions []string - List of TLS versions allowed.
- allowed_
cidrs list(string) - List of CIDRs allowed to access the listener.
- availability_
zone string - Availability zone.
- connection_
limit number - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- default_
pool_ stringid - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - default_
tls_ stringcontainer_ ref - Reference to the default TLS container.
- description string
- Description of the listener.
- insert_
headers object - Headers to insert into requests:
- name string
- Name of the listener.
- operating_
status string - Operating status of the listener.
- protocol string
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - protocol_
port number - Port number the listener listens on. Changing this value recreates the resource.
- provisioning_
status string - Provisioning status of the listener.
- region string
- Region.
- sni_
container_ list(string)refs - List of SNI container references.
- timeout_
client_ numberdata - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout_
member_ numberconnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout_
member_ numberdata - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout_
tcp_ numberinspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- tls_
versions list(string) - List of TLS versions allowed.
- allowed
Cidrs List<String> - List of CIDRs allowed to access the listener.
- availability
Zone String - Availability zone.
- connection
Limit Integer - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- default
Pool StringId - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - default
Tls StringContainer Ref - Reference to the default TLS container.
- description String
- Description of the listener.
- insert
Headers CloudLoadbalancer Listener Current State Insert Headers - Headers to insert into requests:
- name String
- Name of the listener.
- operating
Status String - Operating status of the listener.
- protocol String
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - protocol
Port Integer - Port number the listener listens on. Changing this value recreates the resource.
- provisioning
Status String - Provisioning status of the listener.
- region String
- Region.
- sni
Container List<String>Refs - List of SNI container references.
- timeout
Client IntegerData - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Member IntegerConnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Member IntegerData - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Tcp IntegerInspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- tls
Versions List<String> - List of TLS versions allowed.
- allowed
Cidrs string[] - List of CIDRs allowed to access the listener.
- availability
Zone string - Availability zone.
- connection
Limit number - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- default
Pool stringId - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - default
Tls stringContainer Ref - Reference to the default TLS container.
- description string
- Description of the listener.
- insert
Headers CloudLoadbalancer Listener Current State Insert Headers - Headers to insert into requests:
- name string
- Name of the listener.
- operating
Status string - Operating status of the listener.
- protocol string
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - protocol
Port number - Port number the listener listens on. Changing this value recreates the resource.
- provisioning
Status string - Provisioning status of the listener.
- region string
- Region.
- sni
Container string[]Refs - List of SNI container references.
- timeout
Client numberData - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Member numberConnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Member numberData - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Tcp numberInspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- tls
Versions string[] - List of TLS versions allowed.
- allowed_
cidrs Sequence[str] - List of CIDRs allowed to access the listener.
- availability_
zone str - Availability zone.
- connection_
limit int - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- default_
pool_ strid - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - default_
tls_ strcontainer_ ref - Reference to the default TLS container.
- description str
- Description of the listener.
- insert_
headers CloudLoadbalancer Listener Current State Insert Headers - Headers to insert into requests:
- name str
- Name of the listener.
- operating_
status str - Operating status of the listener.
- protocol str
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - protocol_
port int - Port number the listener listens on. Changing this value recreates the resource.
- provisioning_
status str - Provisioning status of the listener.
- region str
- Region.
- sni_
container_ Sequence[str]refs - List of SNI container references.
- timeout_
client_ intdata - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout_
member_ intconnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout_
member_ intdata - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout_
tcp_ intinspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- tls_
versions Sequence[str] - List of TLS versions allowed.
- allowed
Cidrs List<String> - List of CIDRs allowed to access the listener.
- availability
Zone String - Availability zone.
- connection
Limit Number - Maximum number of connections allowed. If omitted, the value assigned by the API is stored in the state.
- default
Pool StringId - ID of the default pool for this listener (see
ovh.CloudLoadbalancerPool). If omitted, the value assigned by the API is stored in the state. - default
Tls StringContainer Ref - Reference to the default TLS container.
- description String
- Description of the listener.
- insert
Headers Property Map - Headers to insert into requests:
- name String
- Name of the listener.
- operating
Status String - Operating status of the listener.
- protocol String
- Protocol of the listener (
HTTP,HTTPS,SCTP,TCP,TERMINATED_HTTPS,UDP). Changing this value recreates the resource. - protocol
Port Number - Port number the listener listens on. Changing this value recreates the resource.
- provisioning
Status String - Provisioning status of the listener.
- region String
- Region.
- sni
Container List<String>Refs - List of SNI container references.
- timeout
Client NumberData - Timeout for client data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Member NumberConnect - Timeout for member connection in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Member NumberData - Timeout for member data in milliseconds. If omitted, the default assigned by the API is stored in the state.
- timeout
Tcp NumberInspect - Timeout for TCP inspect in milliseconds. If omitted, the default assigned by the API is stored in the state.
- tls
Versions List<String> - List of TLS versions allowed.
CloudLoadbalancerListenerCurrentStateInsertHeaders, CloudLoadbalancerListenerCurrentStateInsertHeadersArgs
- XForwarded
For bool - Insert X-Forwarded-For header.
- XForwarded
Port bool - Insert X-Forwarded-Port header.
- XForwarded
Proto bool - Insert X-Forwarded-Proto header.
- XSsl
Client boolDn - Insert X-SSL-Client-DN header.
- XSsl
Client boolHas Cert - Insert X-SSL-Client-Has-Cert header.
- XSsl
Client boolVerify - Insert X-SSL-Client-Verify header.
- XForwarded
For bool - Insert X-Forwarded-For header.
- XForwarded
Port bool - Insert X-Forwarded-Port header.
- XForwarded
Proto bool - Insert X-Forwarded-Proto header.
- XSsl
Client boolDn - Insert X-SSL-Client-DN header.
- XSsl
Client boolHas Cert - Insert X-SSL-Client-Has-Cert header.
- XSsl
Client boolVerify - Insert X-SSL-Client-Verify header.
- x_
forwarded_ boolfor - Insert X-Forwarded-For header.
- x_
forwarded_ boolport - Insert X-Forwarded-Port header.
- x_
forwarded_ boolproto - Insert X-Forwarded-Proto header.
- x_
ssl_ boolclient_ dn - Insert X-SSL-Client-DN header.
- x_
ssl_ boolclient_ has_ cert - Insert X-SSL-Client-Has-Cert header.
- x_
ssl_ boolclient_ verify - Insert X-SSL-Client-Verify header.
- x
Forwarded BooleanFor - Insert X-Forwarded-For header.
- x
Forwarded BooleanPort - Insert X-Forwarded-Port header.
- x
Forwarded BooleanProto - Insert X-Forwarded-Proto header.
- x
Ssl BooleanClient Dn - Insert X-SSL-Client-DN header.
- x
Ssl BooleanClient Has Cert - Insert X-SSL-Client-Has-Cert header.
- x
Ssl BooleanClient Verify - Insert X-SSL-Client-Verify header.
- x
Forwarded booleanFor - Insert X-Forwarded-For header.
- x
Forwarded booleanPort - Insert X-Forwarded-Port header.
- x
Forwarded booleanProto - Insert X-Forwarded-Proto header.
- x
Ssl booleanClient Dn - Insert X-SSL-Client-DN header.
- x
Ssl booleanClient Has Cert - Insert X-SSL-Client-Has-Cert header.
- x
Ssl booleanClient Verify - Insert X-SSL-Client-Verify header.
- x_
forwarded_ boolfor - Insert X-Forwarded-For header.
- x_
forwarded_ boolport - Insert X-Forwarded-Port header.
- x_
forwarded_ boolproto - Insert X-Forwarded-Proto header.
- x_
ssl_ boolclient_ dn - Insert X-SSL-Client-DN header.
- x_
ssl_ boolclient_ has_ cert - Insert X-SSL-Client-Has-Cert header.
- x_
ssl_ boolclient_ verify - Insert X-SSL-Client-Verify header.
- x
Forwarded BooleanFor - Insert X-Forwarded-For header.
- x
Forwarded BooleanPort - Insert X-Forwarded-Port header.
- x
Forwarded BooleanProto - Insert X-Forwarded-Proto header.
- x
Ssl BooleanClient Dn - Insert X-SSL-Client-DN header.
- x
Ssl BooleanClient Has Cert - Insert X-SSL-Client-Has-Cert header.
- x
Ssl BooleanClient Verify - Insert X-SSL-Client-Verify header.
CloudLoadbalancerListenerInsertHeaders, CloudLoadbalancerListenerInsertHeadersArgs
- XForwarded
For bool - Insert X-Forwarded-For header.
- XForwarded
Port bool - Insert X-Forwarded-Port header.
- XForwarded
Proto bool - Insert X-Forwarded-Proto header.
- XSsl
Client boolDn - Insert X-SSL-Client-DN header.
- XSsl
Client boolHas Cert - Insert X-SSL-Client-Has-Cert header.
- XSsl
Client boolVerify - Insert X-SSL-Client-Verify header.
- XForwarded
For bool - Insert X-Forwarded-For header.
- XForwarded
Port bool - Insert X-Forwarded-Port header.
- XForwarded
Proto bool - Insert X-Forwarded-Proto header.
- XSsl
Client boolDn - Insert X-SSL-Client-DN header.
- XSsl
Client boolHas Cert - Insert X-SSL-Client-Has-Cert header.
- XSsl
Client boolVerify - Insert X-SSL-Client-Verify header.
- x_
forwarded_ boolfor - Insert X-Forwarded-For header.
- x_
forwarded_ boolport - Insert X-Forwarded-Port header.
- x_
forwarded_ boolproto - Insert X-Forwarded-Proto header.
- x_
ssl_ boolclient_ dn - Insert X-SSL-Client-DN header.
- x_
ssl_ boolclient_ has_ cert - Insert X-SSL-Client-Has-Cert header.
- x_
ssl_ boolclient_ verify - Insert X-SSL-Client-Verify header.
- x
Forwarded BooleanFor - Insert X-Forwarded-For header.
- x
Forwarded BooleanPort - Insert X-Forwarded-Port header.
- x
Forwarded BooleanProto - Insert X-Forwarded-Proto header.
- x
Ssl BooleanClient Dn - Insert X-SSL-Client-DN header.
- x
Ssl BooleanClient Has Cert - Insert X-SSL-Client-Has-Cert header.
- x
Ssl BooleanClient Verify - Insert X-SSL-Client-Verify header.
- x
Forwarded booleanFor - Insert X-Forwarded-For header.
- x
Forwarded booleanPort - Insert X-Forwarded-Port header.
- x
Forwarded booleanProto - Insert X-Forwarded-Proto header.
- x
Ssl booleanClient Dn - Insert X-SSL-Client-DN header.
- x
Ssl booleanClient Has Cert - Insert X-SSL-Client-Has-Cert header.
- x
Ssl booleanClient Verify - Insert X-SSL-Client-Verify header.
- x_
forwarded_ boolfor - Insert X-Forwarded-For header.
- x_
forwarded_ boolport - Insert X-Forwarded-Port header.
- x_
forwarded_ boolproto - Insert X-Forwarded-Proto header.
- x_
ssl_ boolclient_ dn - Insert X-SSL-Client-DN header.
- x_
ssl_ boolclient_ has_ cert - Insert X-SSL-Client-Has-Cert header.
- x_
ssl_ boolclient_ verify - Insert X-SSL-Client-Verify header.
- x
Forwarded BooleanFor - Insert X-Forwarded-For header.
- x
Forwarded BooleanPort - Insert X-Forwarded-Port header.
- x
Forwarded BooleanProto - Insert X-Forwarded-Proto header.
- x
Ssl BooleanClient Dn - Insert X-SSL-Client-DN header.
- x
Ssl BooleanClient Has Cert - Insert X-SSL-Client-Has-Cert header.
- x
Ssl BooleanClient Verify - Insert X-SSL-Client-Verify header.
Import
A cloud load balancer listener can be imported using the service_name, loadbalancer_id, and listener_id, separated by /:
terraform
import {
to = ovh_cloud_loadbalancer_listener.http
id = “<service_name>/<loadbalancer_id>/<listener_id>”
}
bash
$ pulumi import ovh:index/cloudLoadbalancerListener:CloudLoadbalancerListener http service_name/loadbalancer_id/listener_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
published on Friday, Sep 25, 2026 by OVHcloud