1. Packages
  2. OpenStack
  3. API Docs
  4. loadbalancer
  5. Listener
OpenStack v3.15.1 published on Thursday, Feb 1, 2024 by Pulumi

openstack.loadbalancer.Listener

Explore with Pulumi AI

openstack logo
OpenStack v3.15.1 published on Thursday, Feb 1, 2024 by Pulumi

    Manages a V2 listener resource within OpenStack.

    Note: This resource has attributes that depend on octavia minor versions. Please ensure your Openstack cloud supports the required minor version.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using OpenStack = Pulumi.OpenStack;
    
    return await Deployment.RunAsync(() => 
    {
        var listener1 = new OpenStack.LoadBalancer.Listener("listener1", new()
        {
            InsertHeaders = 
            {
                { "X-Forwarded-For", "true" },
            },
            LoadbalancerId = "d9415786-5f1a-428b-b35f-2f1523e146d2",
            Protocol = "HTTP",
            ProtocolPort = 8080,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/loadbalancer"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := loadbalancer.NewListener(ctx, "listener1", &loadbalancer.ListenerArgs{
    			InsertHeaders: pulumi.Map{
    				"X-Forwarded-For": pulumi.Any("true"),
    			},
    			LoadbalancerId: pulumi.String("d9415786-5f1a-428b-b35f-2f1523e146d2"),
    			Protocol:       pulumi.String("HTTP"),
    			ProtocolPort:   pulumi.Int(8080),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.openstack.loadbalancer.Listener;
    import com.pulumi.openstack.loadbalancer.ListenerArgs;
    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 Listener("listener1", ListenerArgs.builder()        
                .insertHeaders(Map.of("X-Forwarded-For", "true"))
                .loadbalancerId("d9415786-5f1a-428b-b35f-2f1523e146d2")
                .protocol("HTTP")
                .protocolPort(8080)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_openstack as openstack
    
    listener1 = openstack.loadbalancer.Listener("listener1",
        insert_headers={
            "X-Forwarded-For": "true",
        },
        loadbalancer_id="d9415786-5f1a-428b-b35f-2f1523e146d2",
        protocol="HTTP",
        protocol_port=8080)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as openstack from "@pulumi/openstack";
    
    const listener1 = new openstack.loadbalancer.Listener("listener1", {
        insertHeaders: {
            "X-Forwarded-For": "true",
        },
        loadbalancerId: "d9415786-5f1a-428b-b35f-2f1523e146d2",
        protocol: "HTTP",
        protocolPort: 8080,
    });
    
    resources:
      listener1:
        type: openstack:loadbalancer:Listener
        properties:
          insertHeaders:
            X-Forwarded-For: 'true'
          loadbalancerId: d9415786-5f1a-428b-b35f-2f1523e146d2
          protocol: HTTP
          protocolPort: 8080
    

    Create Listener Resource

    new Listener(name: string, args: ListenerArgs, opts?: CustomResourceOptions);
    @overload
    def Listener(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 admin_state_up: Optional[bool] = None,
                 allowed_cidrs: Optional[Sequence[str]] = None,
                 connection_limit: Optional[int] = None,
                 default_pool_id: Optional[str] = None,
                 default_tls_container_ref: Optional[str] = None,
                 description: Optional[str] = None,
                 insert_headers: Optional[Mapping[str, Any]] = None,
                 loadbalancer_id: Optional[str] = None,
                 name: Optional[str] = None,
                 protocol: Optional[str] = None,
                 protocol_port: Optional[int] = None,
                 region: Optional[str] = None,
                 sni_container_refs: Optional[Sequence[str]] = None,
                 tags: Optional[Sequence[str]] = None,
                 tenant_id: Optional[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)
    @overload
    def Listener(resource_name: str,
                 args: ListenerArgs,
                 opts: Optional[ResourceOptions] = None)
    func NewListener(ctx *Context, name string, args ListenerArgs, opts ...ResourceOption) (*Listener, error)
    public Listener(string name, ListenerArgs args, CustomResourceOptions? opts = null)
    public Listener(String name, ListenerArgs args)
    public Listener(String name, ListenerArgs args, CustomResourceOptions options)
    
    type: openstack:loadbalancer:Listener
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ListenerArgs
    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 ListenerArgs
    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 ListenerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ListenerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ListenerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Listener Resource Properties

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

    Inputs

    The Listener resource accepts the following input properties:

    LoadbalancerId string
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    Protocol string
    The protocol - can either be TCP, HTTP, HTTPS, TERMINATED_HTTPS, UDP (supported only in Octavia), SCTP (supported only in Octavia minor version >= 2.23) or PROMETHEUS (supported only in Octavia minor version >=2.25). Changing this creates a new Listener.
    ProtocolPort int
    The port on which to listen for client traffic. Changing this creates a new Listener.
    AdminStateUp bool
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    AllowedCidrs List<string>
    A list of CIDR blocks that are permitted to connect to this listener, denying all other source addresses. If not present, defaults to allow all.
    ConnectionLimit int
    The maximum number of connections allowed for the Listener.
    DefaultPoolId string
    The ID of the default pool with which the Listener is associated.
    DefaultTlsContainerRef string
    A reference to a Barbican Secrets container which stores TLS information. This is required if the protocol is TERMINATED_HTTPS. See here for more information.
    Description string
    Human-readable description for the Listener.
    InsertHeaders Dictionary<string, object>
    The list of key value pairs representing headers to insert into the request before it is sent to the backend members. Changing this updates the headers of the existing listener.
    Name string
    Human-readable name for the Listener. Does not have to be unique.
    Region string
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an . If omitted, the region argument of the provider is used. Changing this creates a new Listener.
    SniContainerRefs List<string>
    A list of references to Barbican Secrets containers which store SNI information. See here for more information.
    Tags List<string>
    TenantId string
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    TimeoutClientData int
    The client inactivity timeout in milliseconds.
    TimeoutMemberConnect int
    The member connection timeout in milliseconds.
    TimeoutMemberData int
    The member inactivity timeout in milliseconds.
    TimeoutTcpInspect int
    The time in milliseconds, to wait for additional TCP packets for content inspection.
    LoadbalancerId string
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    Protocol string
    The protocol - can either be TCP, HTTP, HTTPS, TERMINATED_HTTPS, UDP (supported only in Octavia), SCTP (supported only in Octavia minor version >= 2.23) or PROMETHEUS (supported only in Octavia minor version >=2.25). Changing this creates a new Listener.
    ProtocolPort int
    The port on which to listen for client traffic. Changing this creates a new Listener.
    AdminStateUp bool
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    AllowedCidrs []string
    A list of CIDR blocks that are permitted to connect to this listener, denying all other source addresses. If not present, defaults to allow all.
    ConnectionLimit int
    The maximum number of connections allowed for the Listener.
    DefaultPoolId string
    The ID of the default pool with which the Listener is associated.
    DefaultTlsContainerRef string
    A reference to a Barbican Secrets container which stores TLS information. This is required if the protocol is TERMINATED_HTTPS. See here for more information.
    Description string
    Human-readable description for the Listener.
    InsertHeaders map[string]interface{}
    The list of key value pairs representing headers to insert into the request before it is sent to the backend members. Changing this updates the headers of the existing listener.
    Name string
    Human-readable name for the Listener. Does not have to be unique.
    Region string
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an . If omitted, the region argument of the provider is used. Changing this creates a new Listener.
    SniContainerRefs []string
    A list of references to Barbican Secrets containers which store SNI information. See here for more information.
    Tags []string
    TenantId string
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    TimeoutClientData int
    The client inactivity timeout in milliseconds.
    TimeoutMemberConnect int
    The member connection timeout in milliseconds.
    TimeoutMemberData int
    The member inactivity timeout in milliseconds.
    TimeoutTcpInspect int
    The time in milliseconds, to wait for additional TCP packets for content inspection.
    loadbalancerId String
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    protocol String
    The protocol - can either be TCP, HTTP, HTTPS, TERMINATED_HTTPS, UDP (supported only in Octavia), SCTP (supported only in Octavia minor version >= 2.23) or PROMETHEUS (supported only in Octavia minor version >=2.25). Changing this creates a new Listener.
    protocolPort Integer
    The port on which to listen for client traffic. Changing this creates a new Listener.
    adminStateUp Boolean
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    allowedCidrs List<String>
    A list of CIDR blocks that are permitted to connect to this listener, denying all other source addresses. If not present, defaults to allow all.
    connectionLimit Integer
    The maximum number of connections allowed for the Listener.
    defaultPoolId String
    The ID of the default pool with which the Listener is associated.
    defaultTlsContainerRef String
    A reference to a Barbican Secrets container which stores TLS information. This is required if the protocol is TERMINATED_HTTPS. See here for more information.
    description String
    Human-readable description for the Listener.
    insertHeaders Map<String,Object>
    The list of key value pairs representing headers to insert into the request before it is sent to the backend members. Changing this updates the headers of the existing listener.
    name String
    Human-readable name for the Listener. Does not have to be unique.
    region String
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an . If omitted, the region argument of the provider is used. Changing this creates a new Listener.
    sniContainerRefs List<String>
    A list of references to Barbican Secrets containers which store SNI information. See here for more information.
    tags List<String>
    tenantId String
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    timeoutClientData Integer
    The client inactivity timeout in milliseconds.
    timeoutMemberConnect Integer
    The member connection timeout in milliseconds.
    timeoutMemberData Integer
    The member inactivity timeout in milliseconds.
    timeoutTcpInspect Integer
    The time in milliseconds, to wait for additional TCP packets for content inspection.
    loadbalancerId string
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    protocol string
    The protocol - can either be TCP, HTTP, HTTPS, TERMINATED_HTTPS, UDP (supported only in Octavia), SCTP (supported only in Octavia minor version >= 2.23) or PROMETHEUS (supported only in Octavia minor version >=2.25). Changing this creates a new Listener.
    protocolPort number
    The port on which to listen for client traffic. Changing this creates a new Listener.
    adminStateUp boolean
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    allowedCidrs string[]
    A list of CIDR blocks that are permitted to connect to this listener, denying all other source addresses. If not present, defaults to allow all.
    connectionLimit number
    The maximum number of connections allowed for the Listener.
    defaultPoolId string
    The ID of the default pool with which the Listener is associated.
    defaultTlsContainerRef string
    A reference to a Barbican Secrets container which stores TLS information. This is required if the protocol is TERMINATED_HTTPS. See here for more information.
    description string
    Human-readable description for the Listener.
    insertHeaders {[key: string]: any}
    The list of key value pairs representing headers to insert into the request before it is sent to the backend members. Changing this updates the headers of the existing listener.
    name string
    Human-readable name for the Listener. Does not have to be unique.
    region string
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an . If omitted, the region argument of the provider is used. Changing this creates a new Listener.
    sniContainerRefs string[]
    A list of references to Barbican Secrets containers which store SNI information. See here for more information.
    tags string[]
    tenantId string
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    timeoutClientData number
    The client inactivity timeout in milliseconds.
    timeoutMemberConnect number
    The member connection timeout in milliseconds.
    timeoutMemberData number
    The member inactivity timeout in milliseconds.
    timeoutTcpInspect number
    The time in milliseconds, to wait for additional TCP packets for content inspection.
    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, TERMINATED_HTTPS, UDP (supported only in Octavia), SCTP (supported only in Octavia minor version >= 2.23) or PROMETHEUS (supported only in Octavia minor version >=2.25). Changing this creates a new Listener.
    protocol_port int
    The port on which to listen for client traffic. Changing this creates a new Listener.
    admin_state_up bool
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    allowed_cidrs Sequence[str]
    A list of CIDR blocks that are permitted to connect to this listener, denying all other source addresses. If not present, defaults to allow all.
    connection_limit int
    The maximum number of connections allowed for the Listener.
    default_pool_id str
    The ID of the default pool with which the Listener is associated.
    default_tls_container_ref str
    A reference to a Barbican Secrets container which stores TLS information. This is required if the protocol is TERMINATED_HTTPS. See here for more information.
    description str
    Human-readable description for the Listener.
    insert_headers Mapping[str, Any]
    The list of key value pairs representing headers to insert into the request before it is sent to the backend members. Changing this updates the headers of the existing listener.
    name str
    Human-readable name for the Listener. Does not have to be unique.
    region str
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an . If omitted, the region argument of the provider is used. Changing this creates a new Listener.
    sni_container_refs Sequence[str]
    A list of references to Barbican Secrets containers which store SNI information. See here for more information.
    tags Sequence[str]
    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.
    timeout_client_data int
    The client inactivity timeout in milliseconds.
    timeout_member_connect int
    The member connection timeout in milliseconds.
    timeout_member_data int
    The member inactivity timeout in milliseconds.
    timeout_tcp_inspect int
    The time in milliseconds, to wait for additional TCP packets for content inspection.
    loadbalancerId String
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    protocol String
    The protocol - can either be TCP, HTTP, HTTPS, TERMINATED_HTTPS, UDP (supported only in Octavia), SCTP (supported only in Octavia minor version >= 2.23) or PROMETHEUS (supported only in Octavia minor version >=2.25). Changing this creates a new Listener.
    protocolPort Number
    The port on which to listen for client traffic. Changing this creates a new Listener.
    adminStateUp Boolean
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    allowedCidrs List<String>
    A list of CIDR blocks that are permitted to connect to this listener, denying all other source addresses. If not present, defaults to allow all.
    connectionLimit Number
    The maximum number of connections allowed for the Listener.
    defaultPoolId String
    The ID of the default pool with which the Listener is associated.
    defaultTlsContainerRef String
    A reference to a Barbican Secrets container which stores TLS information. This is required if the protocol is TERMINATED_HTTPS. See here for more information.
    description String
    Human-readable description for the Listener.
    insertHeaders Map<Any>
    The list of key value pairs representing headers to insert into the request before it is sent to the backend members. Changing this updates the headers of the existing listener.
    name String
    Human-readable name for the Listener. Does not have to be unique.
    region String
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an . If omitted, the region argument of the provider is used. Changing this creates a new Listener.
    sniContainerRefs List<String>
    A list of references to Barbican Secrets containers which store SNI information. See here for more information.
    tags List<String>
    tenantId String
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    timeoutClientData Number
    The client inactivity timeout in milliseconds.
    timeoutMemberConnect Number
    The member connection timeout in milliseconds.
    timeoutMemberData Number
    The member inactivity timeout in milliseconds.
    timeoutTcpInspect Number
    The time in milliseconds, to wait for additional TCP packets for content inspection.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Listener 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 Listener Resource

    Get an existing Listener 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?: ListenerState, opts?: CustomResourceOptions): Listener
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            admin_state_up: Optional[bool] = None,
            allowed_cidrs: Optional[Sequence[str]] = None,
            connection_limit: Optional[int] = None,
            default_pool_id: Optional[str] = None,
            default_tls_container_ref: Optional[str] = None,
            description: Optional[str] = None,
            insert_headers: Optional[Mapping[str, Any]] = None,
            loadbalancer_id: Optional[str] = None,
            name: Optional[str] = None,
            protocol: Optional[str] = None,
            protocol_port: Optional[int] = None,
            region: Optional[str] = None,
            sni_container_refs: Optional[Sequence[str]] = None,
            tags: Optional[Sequence[str]] = None,
            tenant_id: Optional[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) -> Listener
    func GetListener(ctx *Context, name string, id IDInput, state *ListenerState, opts ...ResourceOption) (*Listener, error)
    public static Listener Get(string name, Input<string> id, ListenerState? state, CustomResourceOptions? opts = null)
    public static Listener get(String name, Output<String> id, ListenerState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdminStateUp bool
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    AllowedCidrs List<string>
    A list of CIDR blocks that are permitted to connect to this listener, denying all other source addresses. If not present, defaults to allow all.
    ConnectionLimit int
    The maximum number of connections allowed for the Listener.
    DefaultPoolId string
    The ID of the default pool with which the Listener is associated.
    DefaultTlsContainerRef string
    A reference to a Barbican Secrets container which stores TLS information. This is required if the protocol is TERMINATED_HTTPS. See here for more information.
    Description string
    Human-readable description for the Listener.
    InsertHeaders Dictionary<string, object>
    The list of key value pairs representing headers to insert into the request before it is sent to the backend members. Changing this updates the headers of the existing listener.
    LoadbalancerId string
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    Name string
    Human-readable name for the Listener. Does not have to be unique.
    Protocol string
    The protocol - can either be TCP, HTTP, HTTPS, TERMINATED_HTTPS, UDP (supported only in Octavia), SCTP (supported only in Octavia minor version >= 2.23) or PROMETHEUS (supported only in Octavia minor version >=2.25). Changing this creates a new Listener.
    ProtocolPort int
    The port on which to listen for client traffic. Changing this creates a new Listener.
    Region string
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an . If omitted, the region argument of the provider is used. Changing this creates a new Listener.
    SniContainerRefs List<string>
    A list of references to Barbican Secrets containers which store SNI information. See here for more information.
    Tags List<string>
    TenantId string
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    TimeoutClientData int
    The client inactivity timeout in milliseconds.
    TimeoutMemberConnect int
    The member connection timeout in milliseconds.
    TimeoutMemberData int
    The member inactivity timeout in milliseconds.
    TimeoutTcpInspect int
    The time in milliseconds, to wait for additional TCP packets for content inspection.
    AdminStateUp bool
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    AllowedCidrs []string
    A list of CIDR blocks that are permitted to connect to this listener, denying all other source addresses. If not present, defaults to allow all.
    ConnectionLimit int
    The maximum number of connections allowed for the Listener.
    DefaultPoolId string
    The ID of the default pool with which the Listener is associated.
    DefaultTlsContainerRef string
    A reference to a Barbican Secrets container which stores TLS information. This is required if the protocol is TERMINATED_HTTPS. See here for more information.
    Description string
    Human-readable description for the Listener.
    InsertHeaders map[string]interface{}
    The list of key value pairs representing headers to insert into the request before it is sent to the backend members. Changing this updates the headers of the existing listener.
    LoadbalancerId string
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    Name string
    Human-readable name for the Listener. Does not have to be unique.
    Protocol string
    The protocol - can either be TCP, HTTP, HTTPS, TERMINATED_HTTPS, UDP (supported only in Octavia), SCTP (supported only in Octavia minor version >= 2.23) or PROMETHEUS (supported only in Octavia minor version >=2.25). Changing this creates a new Listener.
    ProtocolPort int
    The port on which to listen for client traffic. Changing this creates a new Listener.
    Region string
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an . If omitted, the region argument of the provider is used. Changing this creates a new Listener.
    SniContainerRefs []string
    A list of references to Barbican Secrets containers which store SNI information. See here for more information.
    Tags []string
    TenantId string
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    TimeoutClientData int
    The client inactivity timeout in milliseconds.
    TimeoutMemberConnect int
    The member connection timeout in milliseconds.
    TimeoutMemberData int
    The member inactivity timeout in milliseconds.
    TimeoutTcpInspect int
    The time in milliseconds, to wait for additional TCP packets for content inspection.
    adminStateUp Boolean
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    allowedCidrs List<String>
    A list of CIDR blocks that are permitted to connect to this listener, denying all other source addresses. If not present, defaults to allow all.
    connectionLimit Integer
    The maximum number of connections allowed for the Listener.
    defaultPoolId String
    The ID of the default pool with which the Listener is associated.
    defaultTlsContainerRef String
    A reference to a Barbican Secrets container which stores TLS information. This is required if the protocol is TERMINATED_HTTPS. See here for more information.
    description String
    Human-readable description for the Listener.
    insertHeaders Map<String,Object>
    The list of key value pairs representing headers to insert into the request before it is sent to the backend members. Changing this updates the headers of the existing listener.
    loadbalancerId String
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    name String
    Human-readable name for the Listener. Does not have to be unique.
    protocol String
    The protocol - can either be TCP, HTTP, HTTPS, TERMINATED_HTTPS, UDP (supported only in Octavia), SCTP (supported only in Octavia minor version >= 2.23) or PROMETHEUS (supported only in Octavia minor version >=2.25). Changing this creates a new Listener.
    protocolPort Integer
    The port on which to listen for client traffic. Changing this creates a new Listener.
    region String
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an . If omitted, the region argument of the provider is used. Changing this creates a new Listener.
    sniContainerRefs List<String>
    A list of references to Barbican Secrets containers which store SNI information. See here for more information.
    tags List<String>
    tenantId String
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    timeoutClientData Integer
    The client inactivity timeout in milliseconds.
    timeoutMemberConnect Integer
    The member connection timeout in milliseconds.
    timeoutMemberData Integer
    The member inactivity timeout in milliseconds.
    timeoutTcpInspect Integer
    The time in milliseconds, to wait for additional TCP packets for content inspection.
    adminStateUp boolean
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    allowedCidrs string[]
    A list of CIDR blocks that are permitted to connect to this listener, denying all other source addresses. If not present, defaults to allow all.
    connectionLimit number
    The maximum number of connections allowed for the Listener.
    defaultPoolId string
    The ID of the default pool with which the Listener is associated.
    defaultTlsContainerRef string
    A reference to a Barbican Secrets container which stores TLS information. This is required if the protocol is TERMINATED_HTTPS. See here for more information.
    description string
    Human-readable description for the Listener.
    insertHeaders {[key: string]: any}
    The list of key value pairs representing headers to insert into the request before it is sent to the backend members. Changing this updates the headers of the existing listener.
    loadbalancerId string
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    name string
    Human-readable name for the Listener. Does not have to be unique.
    protocol string
    The protocol - can either be TCP, HTTP, HTTPS, TERMINATED_HTTPS, UDP (supported only in Octavia), SCTP (supported only in Octavia minor version >= 2.23) or PROMETHEUS (supported only in Octavia minor version >=2.25). Changing this creates a new Listener.
    protocolPort number
    The port on which to listen for client traffic. Changing this creates a new Listener.
    region string
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an . If omitted, the region argument of the provider is used. Changing this creates a new Listener.
    sniContainerRefs string[]
    A list of references to Barbican Secrets containers which store SNI information. See here for more information.
    tags string[]
    tenantId string
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    timeoutClientData number
    The client inactivity timeout in milliseconds.
    timeoutMemberConnect number
    The member connection timeout in milliseconds.
    timeoutMemberData number
    The member inactivity timeout in milliseconds.
    timeoutTcpInspect number
    The time in milliseconds, to wait for additional TCP packets for content inspection.
    admin_state_up bool
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    allowed_cidrs Sequence[str]
    A list of CIDR blocks that are permitted to connect to this listener, denying all other source addresses. If not present, defaults to allow all.
    connection_limit int
    The maximum number of connections allowed for the Listener.
    default_pool_id str
    The ID of the default pool with which the Listener is associated.
    default_tls_container_ref str
    A reference to a Barbican Secrets container which stores TLS information. This is required if the protocol is TERMINATED_HTTPS. See here for more information.
    description str
    Human-readable description for the Listener.
    insert_headers Mapping[str, Any]
    The list of key value pairs representing headers to insert into the request before it is sent to the backend members. Changing this updates the headers of the existing 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, TERMINATED_HTTPS, UDP (supported only in Octavia), SCTP (supported only in Octavia minor version >= 2.23) or PROMETHEUS (supported only in Octavia minor version >=2.25). Changing this creates a new Listener.
    protocol_port int
    The port on which to listen for client traffic. Changing this creates a new Listener.
    region str
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an . If omitted, the region argument of the provider is used. Changing this creates a new Listener.
    sni_container_refs Sequence[str]
    A list of references to Barbican Secrets containers which store SNI information. See here for more information.
    tags Sequence[str]
    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.
    timeout_client_data int
    The client inactivity timeout in milliseconds.
    timeout_member_connect int
    The member connection timeout in milliseconds.
    timeout_member_data int
    The member inactivity timeout in milliseconds.
    timeout_tcp_inspect int
    The time in milliseconds, to wait for additional TCP packets for content inspection.
    adminStateUp Boolean
    The administrative state of the Listener. A valid value is true (UP) or false (DOWN).
    allowedCidrs List<String>
    A list of CIDR blocks that are permitted to connect to this listener, denying all other source addresses. If not present, defaults to allow all.
    connectionLimit Number
    The maximum number of connections allowed for the Listener.
    defaultPoolId String
    The ID of the default pool with which the Listener is associated.
    defaultTlsContainerRef String
    A reference to a Barbican Secrets container which stores TLS information. This is required if the protocol is TERMINATED_HTTPS. See here for more information.
    description String
    Human-readable description for the Listener.
    insertHeaders Map<Any>
    The list of key value pairs representing headers to insert into the request before it is sent to the backend members. Changing this updates the headers of the existing listener.
    loadbalancerId String
    The load balancer on which to provision this Listener. Changing this creates a new Listener.
    name String
    Human-readable name for the Listener. Does not have to be unique.
    protocol String
    The protocol - can either be TCP, HTTP, HTTPS, TERMINATED_HTTPS, UDP (supported only in Octavia), SCTP (supported only in Octavia minor version >= 2.23) or PROMETHEUS (supported only in Octavia minor version >=2.25). Changing this creates a new Listener.
    protocolPort Number
    The port on which to listen for client traffic. Changing this creates a new Listener.
    region String
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an . If omitted, the region argument of the provider is used. Changing this creates a new Listener.
    sniContainerRefs List<String>
    A list of references to Barbican Secrets containers which store SNI information. See here for more information.
    tags List<String>
    tenantId String
    Required for admins. The UUID of the tenant who owns the Listener. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Listener.
    timeoutClientData Number
    The client inactivity timeout in milliseconds.
    timeoutMemberConnect Number
    The member connection timeout in milliseconds.
    timeoutMemberData Number
    The member inactivity timeout in milliseconds.
    timeoutTcpInspect Number
    The time in milliseconds, to wait for additional TCP packets for content inspection.

    Import

    Load Balancer Listener can be imported using the Listener ID, e.g.:

     $ pulumi import openstack:loadbalancer/listener:Listener listener_1 b67ce64e-8b26-405d-afeb-4a078901f15a
    

    Package Details

    Repository
    OpenStack pulumi/pulumi-openstack
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the openstack Terraform Provider.
    openstack logo
    OpenStack v3.15.1 published on Thursday, Feb 1, 2024 by Pulumi