1. Packages
  2. Edgecenter Provider
  3. API Docs
  4. Lblistener
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center

edgecenter.Lblistener

Explore with Pulumi AI

edgecenter logo
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center

    Represent a load balancer listener. Can not be created without a load balancer. A listener is a process that checks for connection requests using the protocol and port that you configure.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as edgecenter from "@pulumi/edgecenter";
    
    const lb = new edgecenter.Loadbalancerv2("lb", {
        projectId: 1,
        regionId: 1,
        flavor: "lb1-1-2",
    });
    const listener = new edgecenter.Lblistener("listener", {
        projectId: 1,
        regionId: 1,
        protocol: "TCP",
        protocolPort: 36621,
        allowedCidrs: [
            "127.0.0.0/24",
            "192.168.0.0/24",
        ],
        loadbalancerId: lb.loadbalancerv2Id,
    });
    
    import pulumi
    import pulumi_edgecenter as edgecenter
    
    lb = edgecenter.Loadbalancerv2("lb",
        project_id=1,
        region_id=1,
        flavor="lb1-1-2")
    listener = edgecenter.Lblistener("listener",
        project_id=1,
        region_id=1,
        protocol="TCP",
        protocol_port=36621,
        allowed_cidrs=[
            "127.0.0.0/24",
            "192.168.0.0/24",
        ],
        loadbalancer_id=lb.loadbalancerv2_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/edgecenter/edgecenter"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		lb, err := edgecenter.NewLoadbalancerv2(ctx, "lb", &edgecenter.Loadbalancerv2Args{
    			ProjectId: pulumi.Float64(1),
    			RegionId:  pulumi.Float64(1),
    			Flavor:    pulumi.String("lb1-1-2"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = edgecenter.NewLblistener(ctx, "listener", &edgecenter.LblistenerArgs{
    			ProjectId:    pulumi.Float64(1),
    			RegionId:     pulumi.Float64(1),
    			Protocol:     pulumi.String("TCP"),
    			ProtocolPort: pulumi.Float64(36621),
    			AllowedCidrs: pulumi.StringArray{
    				pulumi.String("127.0.0.0/24"),
    				pulumi.String("192.168.0.0/24"),
    			},
    			LoadbalancerId: lb.Loadbalancerv2Id,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Edgecenter = Pulumi.Edgecenter;
    
    return await Deployment.RunAsync(() => 
    {
        var lb = new Edgecenter.Loadbalancerv2("lb", new()
        {
            ProjectId = 1,
            RegionId = 1,
            Flavor = "lb1-1-2",
        });
    
        var listener = new Edgecenter.Lblistener("listener", new()
        {
            ProjectId = 1,
            RegionId = 1,
            Protocol = "TCP",
            ProtocolPort = 36621,
            AllowedCidrs = new[]
            {
                "127.0.0.0/24",
                "192.168.0.0/24",
            },
            LoadbalancerId = lb.Loadbalancerv2Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.edgecenter.Loadbalancerv2;
    import com.pulumi.edgecenter.Loadbalancerv2Args;
    import com.pulumi.edgecenter.Lblistener;
    import com.pulumi.edgecenter.LblistenerArgs;
    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 lb = new Loadbalancerv2("lb", Loadbalancerv2Args.builder()
                .projectId(1)
                .regionId(1)
                .flavor("lb1-1-2")
                .build());
    
            var listener = new Lblistener("listener", LblistenerArgs.builder()
                .projectId(1)
                .regionId(1)
                .protocol("TCP")
                .protocolPort(36621)
                .allowedCidrs(            
                    "127.0.0.0/24",
                    "192.168.0.0/24")
                .loadbalancerId(lb.loadbalancerv2Id())
                .build());
    
        }
    }
    
    resources:
      lb:
        type: edgecenter:Loadbalancerv2
        properties:
          projectId: 1
          regionId: 1
          flavor: lb1-1-2
      listener:
        type: edgecenter:Lblistener
        properties:
          projectId: 1
          regionId: 1
          protocol: TCP
          protocolPort: 36621
          allowedCidrs:
            - 127.0.0.0/24
            - 192.168.0.0/24
          loadbalancerId: ${lb.loadbalancerv2Id}
    

    Create Lblistener Resource

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

    Constructor syntax

    new Lblistener(name: string, args: LblistenerArgs, opts?: CustomResourceOptions);
    @overload
    def Lblistener(resource_name: str,
                   args: LblistenerArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Lblistener(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   protocol: Optional[str] = None,
                   loadbalancer_id: Optional[str] = None,
                   protocol_port: Optional[float] = None,
                   region_id: Optional[float] = None,
                   last_updated: Optional[str] = None,
                   name: Optional[str] = None,
                   project_id: Optional[float] = None,
                   project_name: Optional[str] = None,
                   insert_x_forwarded: Optional[bool] = None,
                   allowed_cidrs: Optional[Sequence[str]] = None,
                   lblistener_id: Optional[str] = None,
                   region_name: Optional[str] = None,
                   secret_id: Optional[str] = None,
                   sni_secret_ids: Optional[Sequence[str]] = None,
                   timeout_client_data: Optional[float] = None,
                   timeout_member_connect: Optional[float] = None,
                   timeout_member_data: Optional[float] = None,
                   timeouts: Optional[LblistenerTimeoutsArgs] = None)
    func NewLblistener(ctx *Context, name string, args LblistenerArgs, opts ...ResourceOption) (*Lblistener, error)
    public Lblistener(string name, LblistenerArgs args, CustomResourceOptions? opts = null)
    public Lblistener(String name, LblistenerArgs args)
    public Lblistener(String name, LblistenerArgs args, CustomResourceOptions options)
    
    type: edgecenter:Lblistener
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LblistenerArgs
    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 LblistenerArgs
    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 LblistenerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LblistenerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LblistenerArgs
    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 lblistenerResource = new Edgecenter.Lblistener("lblistenerResource", new()
    {
        Protocol = "string",
        LoadbalancerId = "string",
        ProtocolPort = 0,
        RegionId = 0,
        LastUpdated = "string",
        Name = "string",
        ProjectId = 0,
        ProjectName = "string",
        InsertXForwarded = false,
        AllowedCidrs = new[]
        {
            "string",
        },
        LblistenerId = "string",
        RegionName = "string",
        SecretId = "string",
        SniSecretIds = new[]
        {
            "string",
        },
        TimeoutClientData = 0,
        TimeoutMemberConnect = 0,
        TimeoutMemberData = 0,
        Timeouts = new Edgecenter.Inputs.LblistenerTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := edgecenter.NewLblistener(ctx, "lblistenerResource", &edgecenter.LblistenerArgs{
    	Protocol:         pulumi.String("string"),
    	LoadbalancerId:   pulumi.String("string"),
    	ProtocolPort:     pulumi.Float64(0),
    	RegionId:         pulumi.Float64(0),
    	LastUpdated:      pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	ProjectId:        pulumi.Float64(0),
    	ProjectName:      pulumi.String("string"),
    	InsertXForwarded: pulumi.Bool(false),
    	AllowedCidrs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	LblistenerId: pulumi.String("string"),
    	RegionName:   pulumi.String("string"),
    	SecretId:     pulumi.String("string"),
    	SniSecretIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TimeoutClientData:    pulumi.Float64(0),
    	TimeoutMemberConnect: pulumi.Float64(0),
    	TimeoutMemberData:    pulumi.Float64(0),
    	Timeouts: &edgecenter.LblistenerTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var lblistenerResource = new Lblistener("lblistenerResource", LblistenerArgs.builder()
        .protocol("string")
        .loadbalancerId("string")
        .protocolPort(0)
        .regionId(0)
        .lastUpdated("string")
        .name("string")
        .projectId(0)
        .projectName("string")
        .insertXForwarded(false)
        .allowedCidrs("string")
        .lblistenerId("string")
        .regionName("string")
        .secretId("string")
        .sniSecretIds("string")
        .timeoutClientData(0)
        .timeoutMemberConnect(0)
        .timeoutMemberData(0)
        .timeouts(LblistenerTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    lblistener_resource = edgecenter.Lblistener("lblistenerResource",
        protocol="string",
        loadbalancer_id="string",
        protocol_port=0,
        region_id=0,
        last_updated="string",
        name="string",
        project_id=0,
        project_name="string",
        insert_x_forwarded=False,
        allowed_cidrs=["string"],
        lblistener_id="string",
        region_name="string",
        secret_id="string",
        sni_secret_ids=["string"],
        timeout_client_data=0,
        timeout_member_connect=0,
        timeout_member_data=0,
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const lblistenerResource = new edgecenter.Lblistener("lblistenerResource", {
        protocol: "string",
        loadbalancerId: "string",
        protocolPort: 0,
        regionId: 0,
        lastUpdated: "string",
        name: "string",
        projectId: 0,
        projectName: "string",
        insertXForwarded: false,
        allowedCidrs: ["string"],
        lblistenerId: "string",
        regionName: "string",
        secretId: "string",
        sniSecretIds: ["string"],
        timeoutClientData: 0,
        timeoutMemberConnect: 0,
        timeoutMemberData: 0,
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: edgecenter:Lblistener
    properties:
        allowedCidrs:
            - string
        insertXForwarded: false
        lastUpdated: string
        lblistenerId: string
        loadbalancerId: string
        name: string
        projectId: 0
        projectName: string
        protocol: string
        protocolPort: 0
        regionId: 0
        regionName: string
        secretId: string
        sniSecretIds:
            - string
        timeoutClientData: 0
        timeoutMemberConnect: 0
        timeoutMemberData: 0
        timeouts:
            create: string
            delete: string
    

    Lblistener 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 Lblistener resource accepts the following input properties:

    LoadbalancerId string
    The uuid for the load balancer.
    Protocol string
    Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
    ProtocolPort double
    The port on which the protocol is bound.
    AllowedCidrs List<string>
    The allowed CIDRs for listener.
    InsertXForwarded bool
    Insert *-forwarded headers
    LastUpdated string
    The timestamp of the last update (use with update context).
    LblistenerId string
    The ID of this resource.
    Name string
    The name of the load balancer listener.
    ProjectId double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    RegionId double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    SecretId string
    The identifier for the associated secret, typically used for SSL configurations.
    SniSecretIds List<string>
    List of secret identifiers used for Server Name Indication (SNI).
    TimeoutClientData double
    The timeout for the frontend client inactivity (in milliseconds).
    TimeoutMemberConnect double
    The timeout for the backend member connection (in milliseconds).
    TimeoutMemberData double
    The timeout for the backend member inactivity (in milliseconds).
    Timeouts LblistenerTimeouts
    LoadbalancerId string
    The uuid for the load balancer.
    Protocol string
    Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
    ProtocolPort float64
    The port on which the protocol is bound.
    AllowedCidrs []string
    The allowed CIDRs for listener.
    InsertXForwarded bool
    Insert *-forwarded headers
    LastUpdated string
    The timestamp of the last update (use with update context).
    LblistenerId string
    The ID of this resource.
    Name string
    The name of the load balancer listener.
    ProjectId float64
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    RegionId float64
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    SecretId string
    The identifier for the associated secret, typically used for SSL configurations.
    SniSecretIds []string
    List of secret identifiers used for Server Name Indication (SNI).
    TimeoutClientData float64
    The timeout for the frontend client inactivity (in milliseconds).
    TimeoutMemberConnect float64
    The timeout for the backend member connection (in milliseconds).
    TimeoutMemberData float64
    The timeout for the backend member inactivity (in milliseconds).
    Timeouts LblistenerTimeoutsArgs
    loadbalancerId String
    The uuid for the load balancer.
    protocol String
    Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
    protocolPort Double
    The port on which the protocol is bound.
    allowedCidrs List<String>
    The allowed CIDRs for listener.
    insertXForwarded Boolean
    Insert *-forwarded headers
    lastUpdated String
    The timestamp of the last update (use with update context).
    lblistenerId String
    The ID of this resource.
    name String
    The name of the load balancer listener.
    projectId Double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId Double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    secretId String
    The identifier for the associated secret, typically used for SSL configurations.
    sniSecretIds List<String>
    List of secret identifiers used for Server Name Indication (SNI).
    timeoutClientData Double
    The timeout for the frontend client inactivity (in milliseconds).
    timeoutMemberConnect Double
    The timeout for the backend member connection (in milliseconds).
    timeoutMemberData Double
    The timeout for the backend member inactivity (in milliseconds).
    timeouts LblistenerTimeouts
    loadbalancerId string
    The uuid for the load balancer.
    protocol string
    Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
    protocolPort number
    The port on which the protocol is bound.
    allowedCidrs string[]
    The allowed CIDRs for listener.
    insertXForwarded boolean
    Insert *-forwarded headers
    lastUpdated string
    The timestamp of the last update (use with update context).
    lblistenerId string
    The ID of this resource.
    name string
    The name of the load balancer listener.
    projectId number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    secretId string
    The identifier for the associated secret, typically used for SSL configurations.
    sniSecretIds string[]
    List of secret identifiers used for Server Name Indication (SNI).
    timeoutClientData number
    The timeout for the frontend client inactivity (in milliseconds).
    timeoutMemberConnect number
    The timeout for the backend member connection (in milliseconds).
    timeoutMemberData number
    The timeout for the backend member inactivity (in milliseconds).
    timeouts LblistenerTimeouts
    loadbalancer_id str
    The uuid for the load balancer.
    protocol str
    Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
    protocol_port float
    The port on which the protocol is bound.
    allowed_cidrs Sequence[str]
    The allowed CIDRs for listener.
    insert_x_forwarded bool
    Insert *-forwarded headers
    last_updated str
    The timestamp of the last update (use with update context).
    lblistener_id str
    The ID of this resource.
    name str
    The name of the load balancer listener.
    project_id float
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    project_name str
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    region_id float
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    region_name str
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    secret_id str
    The identifier for the associated secret, typically used for SSL configurations.
    sni_secret_ids Sequence[str]
    List of secret identifiers used for Server Name Indication (SNI).
    timeout_client_data float
    The timeout for the frontend client inactivity (in milliseconds).
    timeout_member_connect float
    The timeout for the backend member connection (in milliseconds).
    timeout_member_data float
    The timeout for the backend member inactivity (in milliseconds).
    timeouts LblistenerTimeoutsArgs
    loadbalancerId String
    The uuid for the load balancer.
    protocol String
    Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
    protocolPort Number
    The port on which the protocol is bound.
    allowedCidrs List<String>
    The allowed CIDRs for listener.
    insertXForwarded Boolean
    Insert *-forwarded headers
    lastUpdated String
    The timestamp of the last update (use with update context).
    lblistenerId String
    The ID of this resource.
    name String
    The name of the load balancer listener.
    projectId Number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId Number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    secretId String
    The identifier for the associated secret, typically used for SSL configurations.
    sniSecretIds List<String>
    List of secret identifiers used for Server Name Indication (SNI).
    timeoutClientData Number
    The timeout for the frontend client inactivity (in milliseconds).
    timeoutMemberConnect Number
    The timeout for the backend member connection (in milliseconds).
    timeoutMemberData Number
    The timeout for the backend member inactivity (in milliseconds).
    timeouts Property Map

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    L7policies List<string>
    Set of l7policy uuids attached to this listener.
    OperatingStatus string
    The current operational status of the load balancer.
    PoolCount double
    Number of pools associated with the load balancer.
    ProvisioningStatus string
    The current provisioning status of the load balancer.
    Id string
    The provider-assigned unique ID for this managed resource.
    L7policies []string
    Set of l7policy uuids attached to this listener.
    OperatingStatus string
    The current operational status of the load balancer.
    PoolCount float64
    Number of pools associated with the load balancer.
    ProvisioningStatus string
    The current provisioning status of the load balancer.
    id String
    The provider-assigned unique ID for this managed resource.
    l7policies List<String>
    Set of l7policy uuids attached to this listener.
    operatingStatus String
    The current operational status of the load balancer.
    poolCount Double
    Number of pools associated with the load balancer.
    provisioningStatus String
    The current provisioning status of the load balancer.
    id string
    The provider-assigned unique ID for this managed resource.
    l7policies string[]
    Set of l7policy uuids attached to this listener.
    operatingStatus string
    The current operational status of the load balancer.
    poolCount number
    Number of pools associated with the load balancer.
    provisioningStatus string
    The current provisioning status of the load balancer.
    id str
    The provider-assigned unique ID for this managed resource.
    l7policies Sequence[str]
    Set of l7policy uuids attached to this listener.
    operating_status str
    The current operational status of the load balancer.
    pool_count float
    Number of pools associated with the load balancer.
    provisioning_status str
    The current provisioning status of the load balancer.
    id String
    The provider-assigned unique ID for this managed resource.
    l7policies List<String>
    Set of l7policy uuids attached to this listener.
    operatingStatus String
    The current operational status of the load balancer.
    poolCount Number
    Number of pools associated with the load balancer.
    provisioningStatus String
    The current provisioning status of the load balancer.

    Look up Existing Lblistener Resource

    Get an existing Lblistener 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?: LblistenerState, opts?: CustomResourceOptions): Lblistener
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allowed_cidrs: Optional[Sequence[str]] = None,
            insert_x_forwarded: Optional[bool] = None,
            l7policies: Optional[Sequence[str]] = None,
            last_updated: Optional[str] = None,
            lblistener_id: Optional[str] = None,
            loadbalancer_id: Optional[str] = None,
            name: Optional[str] = None,
            operating_status: Optional[str] = None,
            pool_count: Optional[float] = None,
            project_id: Optional[float] = None,
            project_name: Optional[str] = None,
            protocol: Optional[str] = None,
            protocol_port: Optional[float] = None,
            provisioning_status: Optional[str] = None,
            region_id: Optional[float] = None,
            region_name: Optional[str] = None,
            secret_id: Optional[str] = None,
            sni_secret_ids: Optional[Sequence[str]] = None,
            timeout_client_data: Optional[float] = None,
            timeout_member_connect: Optional[float] = None,
            timeout_member_data: Optional[float] = None,
            timeouts: Optional[LblistenerTimeoutsArgs] = None) -> Lblistener
    func GetLblistener(ctx *Context, name string, id IDInput, state *LblistenerState, opts ...ResourceOption) (*Lblistener, error)
    public static Lblistener Get(string name, Input<string> id, LblistenerState? state, CustomResourceOptions? opts = null)
    public static Lblistener get(String name, Output<String> id, LblistenerState state, CustomResourceOptions options)
    resources:  _:    type: edgecenter:Lblistener    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AllowedCidrs List<string>
    The allowed CIDRs for listener.
    InsertXForwarded bool
    Insert *-forwarded headers
    L7policies List<string>
    Set of l7policy uuids attached to this listener.
    LastUpdated string
    The timestamp of the last update (use with update context).
    LblistenerId string
    The ID of this resource.
    LoadbalancerId string
    The uuid for the load balancer.
    Name string
    The name of the load balancer listener.
    OperatingStatus string
    The current operational status of the load balancer.
    PoolCount double
    Number of pools associated with the load balancer.
    ProjectId double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    Protocol string
    Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
    ProtocolPort double
    The port on which the protocol is bound.
    ProvisioningStatus string
    The current provisioning status of the load balancer.
    RegionId double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    SecretId string
    The identifier for the associated secret, typically used for SSL configurations.
    SniSecretIds List<string>
    List of secret identifiers used for Server Name Indication (SNI).
    TimeoutClientData double
    The timeout for the frontend client inactivity (in milliseconds).
    TimeoutMemberConnect double
    The timeout for the backend member connection (in milliseconds).
    TimeoutMemberData double
    The timeout for the backend member inactivity (in milliseconds).
    Timeouts LblistenerTimeouts
    AllowedCidrs []string
    The allowed CIDRs for listener.
    InsertXForwarded bool
    Insert *-forwarded headers
    L7policies []string
    Set of l7policy uuids attached to this listener.
    LastUpdated string
    The timestamp of the last update (use with update context).
    LblistenerId string
    The ID of this resource.
    LoadbalancerId string
    The uuid for the load balancer.
    Name string
    The name of the load balancer listener.
    OperatingStatus string
    The current operational status of the load balancer.
    PoolCount float64
    Number of pools associated with the load balancer.
    ProjectId float64
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    Protocol string
    Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
    ProtocolPort float64
    The port on which the protocol is bound.
    ProvisioningStatus string
    The current provisioning status of the load balancer.
    RegionId float64
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    SecretId string
    The identifier for the associated secret, typically used for SSL configurations.
    SniSecretIds []string
    List of secret identifiers used for Server Name Indication (SNI).
    TimeoutClientData float64
    The timeout for the frontend client inactivity (in milliseconds).
    TimeoutMemberConnect float64
    The timeout for the backend member connection (in milliseconds).
    TimeoutMemberData float64
    The timeout for the backend member inactivity (in milliseconds).
    Timeouts LblistenerTimeoutsArgs
    allowedCidrs List<String>
    The allowed CIDRs for listener.
    insertXForwarded Boolean
    Insert *-forwarded headers
    l7policies List<String>
    Set of l7policy uuids attached to this listener.
    lastUpdated String
    The timestamp of the last update (use with update context).
    lblistenerId String
    The ID of this resource.
    loadbalancerId String
    The uuid for the load balancer.
    name String
    The name of the load balancer listener.
    operatingStatus String
    The current operational status of the load balancer.
    poolCount Double
    Number of pools associated with the load balancer.
    projectId Double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    protocol String
    Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
    protocolPort Double
    The port on which the protocol is bound.
    provisioningStatus String
    The current provisioning status of the load balancer.
    regionId Double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    secretId String
    The identifier for the associated secret, typically used for SSL configurations.
    sniSecretIds List<String>
    List of secret identifiers used for Server Name Indication (SNI).
    timeoutClientData Double
    The timeout for the frontend client inactivity (in milliseconds).
    timeoutMemberConnect Double
    The timeout for the backend member connection (in milliseconds).
    timeoutMemberData Double
    The timeout for the backend member inactivity (in milliseconds).
    timeouts LblistenerTimeouts
    allowedCidrs string[]
    The allowed CIDRs for listener.
    insertXForwarded boolean
    Insert *-forwarded headers
    l7policies string[]
    Set of l7policy uuids attached to this listener.
    lastUpdated string
    The timestamp of the last update (use with update context).
    lblistenerId string
    The ID of this resource.
    loadbalancerId string
    The uuid for the load balancer.
    name string
    The name of the load balancer listener.
    operatingStatus string
    The current operational status of the load balancer.
    poolCount number
    Number of pools associated with the load balancer.
    projectId number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    protocol string
    Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
    protocolPort number
    The port on which the protocol is bound.
    provisioningStatus string
    The current provisioning status of the load balancer.
    regionId number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    secretId string
    The identifier for the associated secret, typically used for SSL configurations.
    sniSecretIds string[]
    List of secret identifiers used for Server Name Indication (SNI).
    timeoutClientData number
    The timeout for the frontend client inactivity (in milliseconds).
    timeoutMemberConnect number
    The timeout for the backend member connection (in milliseconds).
    timeoutMemberData number
    The timeout for the backend member inactivity (in milliseconds).
    timeouts LblistenerTimeouts
    allowed_cidrs Sequence[str]
    The allowed CIDRs for listener.
    insert_x_forwarded bool
    Insert *-forwarded headers
    l7policies Sequence[str]
    Set of l7policy uuids attached to this listener.
    last_updated str
    The timestamp of the last update (use with update context).
    lblistener_id str
    The ID of this resource.
    loadbalancer_id str
    The uuid for the load balancer.
    name str
    The name of the load balancer listener.
    operating_status str
    The current operational status of the load balancer.
    pool_count float
    Number of pools associated with the load balancer.
    project_id float
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    project_name str
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    protocol str
    Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
    protocol_port float
    The port on which the protocol is bound.
    provisioning_status str
    The current provisioning status of the load balancer.
    region_id float
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    region_name str
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    secret_id str
    The identifier for the associated secret, typically used for SSL configurations.
    sni_secret_ids Sequence[str]
    List of secret identifiers used for Server Name Indication (SNI).
    timeout_client_data float
    The timeout for the frontend client inactivity (in milliseconds).
    timeout_member_connect float
    The timeout for the backend member connection (in milliseconds).
    timeout_member_data float
    The timeout for the backend member inactivity (in milliseconds).
    timeouts LblistenerTimeoutsArgs
    allowedCidrs List<String>
    The allowed CIDRs for listener.
    insertXForwarded Boolean
    Insert *-forwarded headers
    l7policies List<String>
    Set of l7policy uuids attached to this listener.
    lastUpdated String
    The timestamp of the last update (use with update context).
    lblistenerId String
    The ID of this resource.
    loadbalancerId String
    The uuid for the load balancer.
    name String
    The name of the load balancer listener.
    operatingStatus String
    The current operational status of the load balancer.
    poolCount Number
    Number of pools associated with the load balancer.
    projectId Number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    protocol String
    Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
    protocolPort Number
    The port on which the protocol is bound.
    provisioningStatus String
    The current provisioning status of the load balancer.
    regionId Number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    secretId String
    The identifier for the associated secret, typically used for SSL configurations.
    sniSecretIds List<String>
    List of secret identifiers used for Server Name Indication (SNI).
    timeoutClientData Number
    The timeout for the frontend client inactivity (in milliseconds).
    timeoutMemberConnect Number
    The timeout for the backend member connection (in milliseconds).
    timeoutMemberData Number
    The timeout for the backend member inactivity (in milliseconds).
    timeouts Property Map

    Supporting Types

    LblistenerTimeouts, LblistenerTimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Import

    import using <project_id>:<region_id>:<lblistener_id>:<loadbalancer_id> format

    $ pulumi import edgecenter:index/lblistener:Lblistener lblistener1 1:6:a775dd94-4e9c-4da7-9f0e-ffc9ae34446b:447d2959-8ae0-4ca0-8d47-9f050a3637d7
    

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

    Package Details

    Repository
    edgecenter edge-center/terraform-provider-edgecenter
    License
    Notes
    This Pulumi package is based on the edgecenter Terraform Provider.
    edgecenter logo
    edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center