1. Packages
  2. Gcore Provider
  3. API Docs
  4. Lblistener
gcore 0.22.0 published on Wednesday, Apr 30, 2025 by g-core

gcore.Lblistener

Explore with Pulumi AI

gcore logo
gcore 0.22.0 published on Wednesday, Apr 30, 2025 by g-core

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

    Example Usage

    Prerequisite

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    const project = gcore.getProject({
        name: "Default",
    });
    const region = gcore.getRegion({
        name: "Luxembourg-2",
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    project = gcore.get_project(name="Default")
    region = gcore.get_region(name="Luxembourg-2")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gcore.GetProject(ctx, &gcore.GetProjectArgs{
    			Name: "Default",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = gcore.GetRegion(ctx, &gcore.GetRegionArgs{
    			Name: "Luxembourg-2",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        var project = Gcore.GetProject.Invoke(new()
        {
            Name = "Default",
        });
    
        var region = Gcore.GetRegion.Invoke(new()
        {
            Name = "Luxembourg-2",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.GcoreFunctions;
    import com.pulumi.gcore.inputs.GetProjectArgs;
    import com.pulumi.gcore.inputs.GetRegionArgs;
    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) {
            final var project = GcoreFunctions.getProject(GetProjectArgs.builder()
                .name("Default")
                .build());
    
            final var region = GcoreFunctions.getRegion(GetRegionArgs.builder()
                .name("Luxembourg-2")
                .build());
    
        }
    }
    
    variables:
      project:
        fn::invoke:
          function: gcore:getProject
          arguments:
            name: Default
      region:
        fn::invoke:
          function: gcore:getRegion
          arguments:
            name: Luxembourg-2
    
    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    const lb = new gcore.Loadbalancerv2("lb", {
        projectId: data.gcore_project.project.id,
        regionId: data.gcore_region.region.id,
        flavor: "lb1-1-2",
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    lb = gcore.Loadbalancerv2("lb",
        project_id=data["gcore_project"]["project"]["id"],
        region_id=data["gcore_region"]["region"]["id"],
        flavor="lb1-1-2")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gcore.NewLoadbalancerv2(ctx, "lb", &gcore.Loadbalancerv2Args{
    			ProjectId: pulumi.Any(data.Gcore_project.Project.Id),
    			RegionId:  pulumi.Any(data.Gcore_region.Region.Id),
    			Flavor:    pulumi.String("lb1-1-2"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        var lb = new Gcore.Loadbalancerv2("lb", new()
        {
            ProjectId = data.Gcore_project.Project.Id,
            RegionId = data.Gcore_region.Region.Id,
            Flavor = "lb1-1-2",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.Loadbalancerv2;
    import com.pulumi.gcore.Loadbalancerv2Args;
    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(data.gcore_project().project().id())
                .regionId(data.gcore_region().region().id())
                .flavor("lb1-1-2")
                .build());
    
        }
    }
    
    resources:
      lb:
        type: gcore:Loadbalancerv2
        properties:
          projectId: ${data.gcore_project.project.id}
          regionId: ${data.gcore_region.region.id}
          flavor: lb1-1-2
    

    TCP

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    const tcp80 = new gcore.Lblistener("tcp80", {
        projectId: data.gcore_project.project.id,
        regionId: data.gcore_region.region.id,
        loadbalancerId: gcore_loadbalancerv2.lb.id,
        protocol: "TCP",
        protocolPort: 80,
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    tcp80 = gcore.Lblistener("tcp80",
        project_id=data["gcore_project"]["project"]["id"],
        region_id=data["gcore_region"]["region"]["id"],
        loadbalancer_id=gcore_loadbalancerv2["lb"]["id"],
        protocol="TCP",
        protocol_port=80)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gcore.NewLblistener(ctx, "tcp80", &gcore.LblistenerArgs{
    			ProjectId:      pulumi.Any(data.Gcore_project.Project.Id),
    			RegionId:       pulumi.Any(data.Gcore_region.Region.Id),
    			LoadbalancerId: pulumi.Any(gcore_loadbalancerv2.Lb.Id),
    			Protocol:       pulumi.String("TCP"),
    			ProtocolPort:   pulumi.Float64(80),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        var tcp80 = new Gcore.Lblistener("tcp80", new()
        {
            ProjectId = data.Gcore_project.Project.Id,
            RegionId = data.Gcore_region.Region.Id,
            LoadbalancerId = gcore_loadbalancerv2.Lb.Id,
            Protocol = "TCP",
            ProtocolPort = 80,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.Lblistener;
    import com.pulumi.gcore.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 tcp80 = new Lblistener("tcp80", LblistenerArgs.builder()
                .projectId(data.gcore_project().project().id())
                .regionId(data.gcore_region().region().id())
                .loadbalancerId(gcore_loadbalancerv2.lb().id())
                .protocol("TCP")
                .protocolPort(80)
                .build());
    
        }
    }
    
    resources:
      tcp80:
        type: gcore:Lblistener
        properties:
          projectId: ${data.gcore_project.project.id}
          regionId: ${data.gcore_region.region.id}
          loadbalancerId: ${gcore_loadbalancerv2.lb.id}
          protocol: TCP
          protocolPort: 80
    

    Prometheus metrics (from private network)

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    import * as random from "@pulumi/random";
    
    const prometheusPasswordrandom_password = new random.index.Random_password("prometheusPasswordrandom_password", {
        length: 16,
        special: true,
        overrideSpecial: "!#$%&*()-_=+[]{}<>:?",
    });
    const prometheus9101 = new gcore.Lblistener("prometheus9101", {
        projectId: data.gcore_project.project.id,
        regionId: data.gcore_region.region.id,
        loadbalancerId: gcore_loadbalancerv2.lb.id,
        protocol: "PROMETHEUS",
        protocolPort: 9101,
        allowedCidrs: ["10.0.0.0/8"],
        userLists: [{
            username: "admin1",
            encryptedPassword: prometheusPasswordrandom_password.bcryptHash,
        }],
    });
    export const prometheusPassword = prometheusPasswordrandom_password.result;
    
    import pulumi
    import pulumi_gcore as gcore
    import pulumi_random as random
    
    prometheus_passwordrandom_password = random.index.Random_password("prometheusPasswordrandom_password",
        length=16,
        special=True,
        override_special=!#$%&*()-_=+[]{}<>:?)
    prometheus9101 = gcore.Lblistener("prometheus9101",
        project_id=data["gcore_project"]["project"]["id"],
        region_id=data["gcore_region"]["region"]["id"],
        loadbalancer_id=gcore_loadbalancerv2["lb"]["id"],
        protocol="PROMETHEUS",
        protocol_port=9101,
        allowed_cidrs=["10.0.0.0/8"],
        user_lists=[{
            "username": "admin1",
            "encrypted_password": prometheus_passwordrandom_password["bcryptHash"],
        }])
    pulumi.export("prometheusPassword", prometheus_passwordrandom_password["result"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-random/sdk/go/random"
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		prometheusPasswordrandom_password, err := random.NewRandom_password(ctx, "prometheusPasswordrandom_password", &random.Random_passwordArgs{
    			Length:          16,
    			Special:         true,
    			OverrideSpecial: "!#$%&*()-_=+[]{}<>:?",
    		})
    		if err != nil {
    			return err
    		}
    		_, err = gcore.NewLblistener(ctx, "prometheus9101", &gcore.LblistenerArgs{
    			ProjectId:      pulumi.Any(data.Gcore_project.Project.Id),
    			RegionId:       pulumi.Any(data.Gcore_region.Region.Id),
    			LoadbalancerId: pulumi.Any(gcore_loadbalancerv2.Lb.Id),
    			Protocol:       pulumi.String("PROMETHEUS"),
    			ProtocolPort:   pulumi.Float64(9101),
    			AllowedCidrs: pulumi.StringArray{
    				pulumi.String("10.0.0.0/8"),
    			},
    			UserLists: gcore.LblistenerUserListArray{
    				&gcore.LblistenerUserListArgs{
    					Username:          pulumi.String("admin1"),
    					EncryptedPassword: prometheusPasswordrandom_password.BcryptHash,
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("prometheusPassword", prometheusPasswordrandom_password.Result)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    using Random = Pulumi.Random;
    
    return await Deployment.RunAsync(() => 
    {
        var prometheusPasswordrandom_password = new Random.Index.Random_password("prometheusPasswordrandom_password", new()
        {
            Length = 16,
            Special = true,
            OverrideSpecial = "!#$%&*()-_=+[]{}<>:?",
        });
    
        var prometheus9101 = new Gcore.Lblistener("prometheus9101", new()
        {
            ProjectId = data.Gcore_project.Project.Id,
            RegionId = data.Gcore_region.Region.Id,
            LoadbalancerId = gcore_loadbalancerv2.Lb.Id,
            Protocol = "PROMETHEUS",
            ProtocolPort = 9101,
            AllowedCidrs = new[]
            {
                "10.0.0.0/8",
            },
            UserLists = new[]
            {
                new Gcore.Inputs.LblistenerUserListArgs
                {
                    Username = "admin1",
                    EncryptedPassword = prometheusPasswordrandom_password.BcryptHash,
                },
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["prometheusPassword"] = prometheusPasswordrandom_password.Result,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.random.random_password;
    import com.pulumi.random.Random_passwordArgs;
    import com.pulumi.gcore.Lblistener;
    import com.pulumi.gcore.LblistenerArgs;
    import com.pulumi.gcore.inputs.LblistenerUserListArgs;
    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 prometheusPasswordrandom_password = new Random_password("prometheusPasswordrandom_password", Random_passwordArgs.builder()
                .length(16)
                .special(true)
                .overrideSpecial("!#$%&*()-_=+[]{}<>:?")
                .build());
    
            var prometheus9101 = new Lblistener("prometheus9101", LblistenerArgs.builder()
                .projectId(data.gcore_project().project().id())
                .regionId(data.gcore_region().region().id())
                .loadbalancerId(gcore_loadbalancerv2.lb().id())
                .protocol("PROMETHEUS")
                .protocolPort(9101)
                .allowedCidrs("10.0.0.0/8")
                .userLists(LblistenerUserListArgs.builder()
                    .username("admin1")
                    .encryptedPassword(prometheusPasswordrandom_password.bcryptHash())
                    .build())
                .build());
    
            ctx.export("prometheusPassword", prometheusPasswordrandom_password.result());
        }
    }
    
    resources:
      prometheusPasswordrandom_password:
        type: random:random_password
        properties:
          length: 16
          special: true
          overrideSpecial: '!#$%&*()-_=+[]{}<>:?'
      prometheus9101:
        type: gcore:Lblistener
        properties:
          projectId: ${data.gcore_project.project.id}
          regionId: ${data.gcore_region.region.id}
          loadbalancerId: ${gcore_loadbalancerv2.lb.id}
          protocol: PROMETHEUS
          protocolPort: 9101
          allowedCidrs: # example of how to allow access only from private network
            - 10.0.0.0/8
          userLists:
            - username: admin1
              encryptedPassword: ${prometheusPasswordrandom_password.bcryptHash}
    outputs:
      prometheusPassword: ${prometheusPasswordrandom_password.result}
    

    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,
                   protocol_port: Optional[float] = None,
                   loadbalancer_id: Optional[str] = None,
                   region_id: Optional[float] = None,
                   lblistener_id: Optional[str] = None,
                   name: Optional[str] = None,
                   project_id: Optional[float] = None,
                   project_name: Optional[str] = None,
                   connection_limit: Optional[float] = None,
                   allowed_cidrs: Optional[Sequence[str]] = None,
                   insert_x_forwarded: Optional[bool] = 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,
                   user_lists: Optional[Sequence[LblistenerUserListArgs]] = 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: gcore: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 Gcore.Lblistener("lblistenerResource", new()
    {
        Protocol = "string",
        ProtocolPort = 0,
        LoadbalancerId = "string",
        RegionId = 0,
        LblistenerId = "string",
        Name = "string",
        ProjectId = 0,
        ProjectName = "string",
        ConnectionLimit = 0,
        AllowedCidrs = new[]
        {
            "string",
        },
        InsertXForwarded = false,
        RegionName = "string",
        SecretId = "string",
        SniSecretIds = new[]
        {
            "string",
        },
        TimeoutClientData = 0,
        TimeoutMemberConnect = 0,
        TimeoutMemberData = 0,
        Timeouts = new Gcore.Inputs.LblistenerTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        UserLists = new[]
        {
            new Gcore.Inputs.LblistenerUserListArgs
            {
                EncryptedPassword = "string",
                Username = "string",
            },
        },
    });
    
    example, err := gcore.NewLblistener(ctx, "lblistenerResource", &gcore.LblistenerArgs{
    	Protocol:        pulumi.String("string"),
    	ProtocolPort:    pulumi.Float64(0),
    	LoadbalancerId:  pulumi.String("string"),
    	RegionId:        pulumi.Float64(0),
    	LblistenerId:    pulumi.String("string"),
    	Name:            pulumi.String("string"),
    	ProjectId:       pulumi.Float64(0),
    	ProjectName:     pulumi.String("string"),
    	ConnectionLimit: pulumi.Float64(0),
    	AllowedCidrs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	InsertXForwarded: pulumi.Bool(false),
    	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: &gcore.LblistenerTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	UserLists: gcore.LblistenerUserListArray{
    		&gcore.LblistenerUserListArgs{
    			EncryptedPassword: pulumi.String("string"),
    			Username:          pulumi.String("string"),
    		},
    	},
    })
    
    var lblistenerResource = new Lblistener("lblistenerResource", LblistenerArgs.builder()
        .protocol("string")
        .protocolPort(0)
        .loadbalancerId("string")
        .regionId(0)
        .lblistenerId("string")
        .name("string")
        .projectId(0)
        .projectName("string")
        .connectionLimit(0)
        .allowedCidrs("string")
        .insertXForwarded(false)
        .regionName("string")
        .secretId("string")
        .sniSecretIds("string")
        .timeoutClientData(0)
        .timeoutMemberConnect(0)
        .timeoutMemberData(0)
        .timeouts(LblistenerTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .userLists(LblistenerUserListArgs.builder()
            .encryptedPassword("string")
            .username("string")
            .build())
        .build());
    
    lblistener_resource = gcore.Lblistener("lblistenerResource",
        protocol="string",
        protocol_port=0,
        loadbalancer_id="string",
        region_id=0,
        lblistener_id="string",
        name="string",
        project_id=0,
        project_name="string",
        connection_limit=0,
        allowed_cidrs=["string"],
        insert_x_forwarded=False,
        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",
            "update": "string",
        },
        user_lists=[{
            "encrypted_password": "string",
            "username": "string",
        }])
    
    const lblistenerResource = new gcore.Lblistener("lblistenerResource", {
        protocol: "string",
        protocolPort: 0,
        loadbalancerId: "string",
        regionId: 0,
        lblistenerId: "string",
        name: "string",
        projectId: 0,
        projectName: "string",
        connectionLimit: 0,
        allowedCidrs: ["string"],
        insertXForwarded: false,
        regionName: "string",
        secretId: "string",
        sniSecretIds: ["string"],
        timeoutClientData: 0,
        timeoutMemberConnect: 0,
        timeoutMemberData: 0,
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        userLists: [{
            encryptedPassword: "string",
            username: "string",
        }],
    });
    
    type: gcore:Lblistener
    properties:
        allowedCidrs:
            - string
        connectionLimit: 0
        insertXForwarded: false
        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
            update: string
        userLists:
            - encryptedPassword: string
              username: 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
    ID of the target load balancer to attach newly created listener.
    Protocol string
    Available values are 'HTTP', 'HTTPS', 'TCP', 'UDP', 'TERMINATED_HTTPS', 'PROMETHEUS'
    ProtocolPort double
    Port number to listen, between 1 and 65535.
    AllowedCidrs List<string>
    List of networks from which listener is accessible
    ConnectionLimit double
    Number of simultaneous connections for this listener, between 1 and 1,000,000.
    InsertXForwarded bool
    Insert X-Forwarded headers for 'HTTP', 'HTTPS', 'TERMINATED_HTTPS' protocols.
    LblistenerId string
    The ID of this resource.
    Name string
    Listener name.
    ProjectId double
    ID of the desired project to create load balancer listener in. Alternative for project_name. One of them should be specified.
    ProjectName string
    Name of the desired project to create load balancer listener in. Alternative for project_id. One of them should be specified.
    RegionId double
    ID of the desired region to create load balancer listener in. Alternative for region_name. One of them should be specified.
    RegionName string
    Name of the desired region to create load balancer listener in. Alternative for region_id. One of them should be specified.
    SecretId string
    Secret ID to use with 'TERMINATED_HTTPS' protocol.
    SniSecretIds List<string>
    List of additional Secret IDs to use with 'TERMINATED_HTTPS' protocol.
    TimeoutClientData double
    Frontend client inactivity timeout in milliseconds.
    TimeoutMemberConnect double
    Backend member connection timeout in milliseconds.
    TimeoutMemberData double
    Backend member inactivity timeout in milliseconds.
    Timeouts LblistenerTimeouts
    UserLists List<LblistenerUserList>
    Load balancer listener list of username and encrypted password items.
    LoadbalancerId string
    ID of the target load balancer to attach newly created listener.
    Protocol string
    Available values are 'HTTP', 'HTTPS', 'TCP', 'UDP', 'TERMINATED_HTTPS', 'PROMETHEUS'
    ProtocolPort float64
    Port number to listen, between 1 and 65535.
    AllowedCidrs []string
    List of networks from which listener is accessible
    ConnectionLimit float64
    Number of simultaneous connections for this listener, between 1 and 1,000,000.
    InsertXForwarded bool
    Insert X-Forwarded headers for 'HTTP', 'HTTPS', 'TERMINATED_HTTPS' protocols.
    LblistenerId string
    The ID of this resource.
    Name string
    Listener name.
    ProjectId float64
    ID of the desired project to create load balancer listener in. Alternative for project_name. One of them should be specified.
    ProjectName string
    Name of the desired project to create load balancer listener in. Alternative for project_id. One of them should be specified.
    RegionId float64
    ID of the desired region to create load balancer listener in. Alternative for region_name. One of them should be specified.
    RegionName string
    Name of the desired region to create load balancer listener in. Alternative for region_id. One of them should be specified.
    SecretId string
    Secret ID to use with 'TERMINATED_HTTPS' protocol.
    SniSecretIds []string
    List of additional Secret IDs to use with 'TERMINATED_HTTPS' protocol.
    TimeoutClientData float64
    Frontend client inactivity timeout in milliseconds.
    TimeoutMemberConnect float64
    Backend member connection timeout in milliseconds.
    TimeoutMemberData float64
    Backend member inactivity timeout in milliseconds.
    Timeouts LblistenerTimeoutsArgs
    UserLists []LblistenerUserListArgs
    Load balancer listener list of username and encrypted password items.
    loadbalancerId String
    ID of the target load balancer to attach newly created listener.
    protocol String
    Available values are 'HTTP', 'HTTPS', 'TCP', 'UDP', 'TERMINATED_HTTPS', 'PROMETHEUS'
    protocolPort Double
    Port number to listen, between 1 and 65535.
    allowedCidrs List<String>
    List of networks from which listener is accessible
    connectionLimit Double
    Number of simultaneous connections for this listener, between 1 and 1,000,000.
    insertXForwarded Boolean
    Insert X-Forwarded headers for 'HTTP', 'HTTPS', 'TERMINATED_HTTPS' protocols.
    lblistenerId String
    The ID of this resource.
    name String
    Listener name.
    projectId Double
    ID of the desired project to create load balancer listener in. Alternative for project_name. One of them should be specified.
    projectName String
    Name of the desired project to create load balancer listener in. Alternative for project_id. One of them should be specified.
    regionId Double
    ID of the desired region to create load balancer listener in. Alternative for region_name. One of them should be specified.
    regionName String
    Name of the desired region to create load balancer listener in. Alternative for region_id. One of them should be specified.
    secretId String
    Secret ID to use with 'TERMINATED_HTTPS' protocol.
    sniSecretIds List<String>
    List of additional Secret IDs to use with 'TERMINATED_HTTPS' protocol.
    timeoutClientData Double
    Frontend client inactivity timeout in milliseconds.
    timeoutMemberConnect Double
    Backend member connection timeout in milliseconds.
    timeoutMemberData Double
    Backend member inactivity timeout in milliseconds.
    timeouts LblistenerTimeouts
    userLists List<LblistenerUserList>
    Load balancer listener list of username and encrypted password items.
    loadbalancerId string
    ID of the target load balancer to attach newly created listener.
    protocol string
    Available values are 'HTTP', 'HTTPS', 'TCP', 'UDP', 'TERMINATED_HTTPS', 'PROMETHEUS'
    protocolPort number
    Port number to listen, between 1 and 65535.
    allowedCidrs string[]
    List of networks from which listener is accessible
    connectionLimit number
    Number of simultaneous connections for this listener, between 1 and 1,000,000.
    insertXForwarded boolean
    Insert X-Forwarded headers for 'HTTP', 'HTTPS', 'TERMINATED_HTTPS' protocols.
    lblistenerId string
    The ID of this resource.
    name string
    Listener name.
    projectId number
    ID of the desired project to create load balancer listener in. Alternative for project_name. One of them should be specified.
    projectName string
    Name of the desired project to create load balancer listener in. Alternative for project_id. One of them should be specified.
    regionId number
    ID of the desired region to create load balancer listener in. Alternative for region_name. One of them should be specified.
    regionName string
    Name of the desired region to create load balancer listener in. Alternative for region_id. One of them should be specified.
    secretId string
    Secret ID to use with 'TERMINATED_HTTPS' protocol.
    sniSecretIds string[]
    List of additional Secret IDs to use with 'TERMINATED_HTTPS' protocol.
    timeoutClientData number
    Frontend client inactivity timeout in milliseconds.
    timeoutMemberConnect number
    Backend member connection timeout in milliseconds.
    timeoutMemberData number
    Backend member inactivity timeout in milliseconds.
    timeouts LblistenerTimeouts
    userLists LblistenerUserList[]
    Load balancer listener list of username and encrypted password items.
    loadbalancer_id str
    ID of the target load balancer to attach newly created listener.
    protocol str
    Available values are 'HTTP', 'HTTPS', 'TCP', 'UDP', 'TERMINATED_HTTPS', 'PROMETHEUS'
    protocol_port float
    Port number to listen, between 1 and 65535.
    allowed_cidrs Sequence[str]
    List of networks from which listener is accessible
    connection_limit float
    Number of simultaneous connections for this listener, between 1 and 1,000,000.
    insert_x_forwarded bool
    Insert X-Forwarded headers for 'HTTP', 'HTTPS', 'TERMINATED_HTTPS' protocols.
    lblistener_id str
    The ID of this resource.
    name str
    Listener name.
    project_id float
    ID of the desired project to create load balancer listener in. Alternative for project_name. One of them should be specified.
    project_name str
    Name of the desired project to create load balancer listener in. Alternative for project_id. One of them should be specified.
    region_id float
    ID of the desired region to create load balancer listener in. Alternative for region_name. One of them should be specified.
    region_name str
    Name of the desired region to create load balancer listener in. Alternative for region_id. One of them should be specified.
    secret_id str
    Secret ID to use with 'TERMINATED_HTTPS' protocol.
    sni_secret_ids Sequence[str]
    List of additional Secret IDs to use with 'TERMINATED_HTTPS' protocol.
    timeout_client_data float
    Frontend client inactivity timeout in milliseconds.
    timeout_member_connect float
    Backend member connection timeout in milliseconds.
    timeout_member_data float
    Backend member inactivity timeout in milliseconds.
    timeouts LblistenerTimeoutsArgs
    user_lists Sequence[LblistenerUserListArgs]
    Load balancer listener list of username and encrypted password items.
    loadbalancerId String
    ID of the target load balancer to attach newly created listener.
    protocol String
    Available values are 'HTTP', 'HTTPS', 'TCP', 'UDP', 'TERMINATED_HTTPS', 'PROMETHEUS'
    protocolPort Number
    Port number to listen, between 1 and 65535.
    allowedCidrs List<String>
    List of networks from which listener is accessible
    connectionLimit Number
    Number of simultaneous connections for this listener, between 1 and 1,000,000.
    insertXForwarded Boolean
    Insert X-Forwarded headers for 'HTTP', 'HTTPS', 'TERMINATED_HTTPS' protocols.
    lblistenerId String
    The ID of this resource.
    name String
    Listener name.
    projectId Number
    ID of the desired project to create load balancer listener in. Alternative for project_name. One of them should be specified.
    projectName String
    Name of the desired project to create load balancer listener in. Alternative for project_id. One of them should be specified.
    regionId Number
    ID of the desired region to create load balancer listener in. Alternative for region_name. One of them should be specified.
    regionName String
    Name of the desired region to create load balancer listener in. Alternative for region_id. One of them should be specified.
    secretId String
    Secret ID to use with 'TERMINATED_HTTPS' protocol.
    sniSecretIds List<String>
    List of additional Secret IDs to use with 'TERMINATED_HTTPS' protocol.
    timeoutClientData Number
    Frontend client inactivity timeout in milliseconds.
    timeoutMemberConnect Number
    Backend member connection timeout in milliseconds.
    timeoutMemberData Number
    Backend member inactivity timeout in milliseconds.
    timeouts Property Map
    userLists List<Property Map>
    Load balancer listener list of username and encrypted password items.

    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.
    LastUpdated string
    Datetime when load balancer was updated at the last time.
    OperatingStatus string
    Operating status of this listener.
    PoolCount double
    Number of pools in this listener.
    ProvisioningStatus string
    Provisioning status of this listener.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdated string
    Datetime when load balancer was updated at the last time.
    OperatingStatus string
    Operating status of this listener.
    PoolCount float64
    Number of pools in this listener.
    ProvisioningStatus string
    Provisioning status of this listener.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdated String
    Datetime when load balancer was updated at the last time.
    operatingStatus String
    Operating status of this listener.
    poolCount Double
    Number of pools in this listener.
    provisioningStatus String
    Provisioning status of this listener.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdated string
    Datetime when load balancer was updated at the last time.
    operatingStatus string
    Operating status of this listener.
    poolCount number
    Number of pools in this listener.
    provisioningStatus string
    Provisioning status of this listener.
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated str
    Datetime when load balancer was updated at the last time.
    operating_status str
    Operating status of this listener.
    pool_count float
    Number of pools in this listener.
    provisioning_status str
    Provisioning status of this listener.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdated String
    Datetime when load balancer was updated at the last time.
    operatingStatus String
    Operating status of this listener.
    poolCount Number
    Number of pools in this listener.
    provisioningStatus String
    Provisioning status of this listener.

    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,
            connection_limit: Optional[float] = None,
            insert_x_forwarded: Optional[bool] = 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,
            user_lists: Optional[Sequence[LblistenerUserListArgs]] = 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: gcore: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>
    List of networks from which listener is accessible
    ConnectionLimit double
    Number of simultaneous connections for this listener, between 1 and 1,000,000.
    InsertXForwarded bool
    Insert X-Forwarded headers for 'HTTP', 'HTTPS', 'TERMINATED_HTTPS' protocols.
    LastUpdated string
    Datetime when load balancer was updated at the last time.
    LblistenerId string
    The ID of this resource.
    LoadbalancerId string
    ID of the target load balancer to attach newly created listener.
    Name string
    Listener name.
    OperatingStatus string
    Operating status of this listener.
    PoolCount double
    Number of pools in this listener.
    ProjectId double
    ID of the desired project to create load balancer listener in. Alternative for project_name. One of them should be specified.
    ProjectName string
    Name of the desired project to create load balancer listener in. Alternative for project_id. One of them should be specified.
    Protocol string
    Available values are 'HTTP', 'HTTPS', 'TCP', 'UDP', 'TERMINATED_HTTPS', 'PROMETHEUS'
    ProtocolPort double
    Port number to listen, between 1 and 65535.
    ProvisioningStatus string
    Provisioning status of this listener.
    RegionId double
    ID of the desired region to create load balancer listener in. Alternative for region_name. One of them should be specified.
    RegionName string
    Name of the desired region to create load balancer listener in. Alternative for region_id. One of them should be specified.
    SecretId string
    Secret ID to use with 'TERMINATED_HTTPS' protocol.
    SniSecretIds List<string>
    List of additional Secret IDs to use with 'TERMINATED_HTTPS' protocol.
    TimeoutClientData double
    Frontend client inactivity timeout in milliseconds.
    TimeoutMemberConnect double
    Backend member connection timeout in milliseconds.
    TimeoutMemberData double
    Backend member inactivity timeout in milliseconds.
    Timeouts LblistenerTimeouts
    UserLists List<LblistenerUserList>
    Load balancer listener list of username and encrypted password items.
    AllowedCidrs []string
    List of networks from which listener is accessible
    ConnectionLimit float64
    Number of simultaneous connections for this listener, between 1 and 1,000,000.
    InsertXForwarded bool
    Insert X-Forwarded headers for 'HTTP', 'HTTPS', 'TERMINATED_HTTPS' protocols.
    LastUpdated string
    Datetime when load balancer was updated at the last time.
    LblistenerId string
    The ID of this resource.
    LoadbalancerId string
    ID of the target load balancer to attach newly created listener.
    Name string
    Listener name.
    OperatingStatus string
    Operating status of this listener.
    PoolCount float64
    Number of pools in this listener.
    ProjectId float64
    ID of the desired project to create load balancer listener in. Alternative for project_name. One of them should be specified.
    ProjectName string
    Name of the desired project to create load balancer listener in. Alternative for project_id. One of them should be specified.
    Protocol string
    Available values are 'HTTP', 'HTTPS', 'TCP', 'UDP', 'TERMINATED_HTTPS', 'PROMETHEUS'
    ProtocolPort float64
    Port number to listen, between 1 and 65535.
    ProvisioningStatus string
    Provisioning status of this listener.
    RegionId float64
    ID of the desired region to create load balancer listener in. Alternative for region_name. One of them should be specified.
    RegionName string
    Name of the desired region to create load balancer listener in. Alternative for region_id. One of them should be specified.
    SecretId string
    Secret ID to use with 'TERMINATED_HTTPS' protocol.
    SniSecretIds []string
    List of additional Secret IDs to use with 'TERMINATED_HTTPS' protocol.
    TimeoutClientData float64
    Frontend client inactivity timeout in milliseconds.
    TimeoutMemberConnect float64
    Backend member connection timeout in milliseconds.
    TimeoutMemberData float64
    Backend member inactivity timeout in milliseconds.
    Timeouts LblistenerTimeoutsArgs
    UserLists []LblistenerUserListArgs
    Load balancer listener list of username and encrypted password items.
    allowedCidrs List<String>
    List of networks from which listener is accessible
    connectionLimit Double
    Number of simultaneous connections for this listener, between 1 and 1,000,000.
    insertXForwarded Boolean
    Insert X-Forwarded headers for 'HTTP', 'HTTPS', 'TERMINATED_HTTPS' protocols.
    lastUpdated String
    Datetime when load balancer was updated at the last time.
    lblistenerId String
    The ID of this resource.
    loadbalancerId String
    ID of the target load balancer to attach newly created listener.
    name String
    Listener name.
    operatingStatus String
    Operating status of this listener.
    poolCount Double
    Number of pools in this listener.
    projectId Double
    ID of the desired project to create load balancer listener in. Alternative for project_name. One of them should be specified.
    projectName String
    Name of the desired project to create load balancer listener in. Alternative for project_id. One of them should be specified.
    protocol String
    Available values are 'HTTP', 'HTTPS', 'TCP', 'UDP', 'TERMINATED_HTTPS', 'PROMETHEUS'
    protocolPort Double
    Port number to listen, between 1 and 65535.
    provisioningStatus String
    Provisioning status of this listener.
    regionId Double
    ID of the desired region to create load balancer listener in. Alternative for region_name. One of them should be specified.
    regionName String
    Name of the desired region to create load balancer listener in. Alternative for region_id. One of them should be specified.
    secretId String
    Secret ID to use with 'TERMINATED_HTTPS' protocol.
    sniSecretIds List<String>
    List of additional Secret IDs to use with 'TERMINATED_HTTPS' protocol.
    timeoutClientData Double
    Frontend client inactivity timeout in milliseconds.
    timeoutMemberConnect Double
    Backend member connection timeout in milliseconds.
    timeoutMemberData Double
    Backend member inactivity timeout in milliseconds.
    timeouts LblistenerTimeouts
    userLists List<LblistenerUserList>
    Load balancer listener list of username and encrypted password items.
    allowedCidrs string[]
    List of networks from which listener is accessible
    connectionLimit number
    Number of simultaneous connections for this listener, between 1 and 1,000,000.
    insertXForwarded boolean
    Insert X-Forwarded headers for 'HTTP', 'HTTPS', 'TERMINATED_HTTPS' protocols.
    lastUpdated string
    Datetime when load balancer was updated at the last time.
    lblistenerId string
    The ID of this resource.
    loadbalancerId string
    ID of the target load balancer to attach newly created listener.
    name string
    Listener name.
    operatingStatus string
    Operating status of this listener.
    poolCount number
    Number of pools in this listener.
    projectId number
    ID of the desired project to create load balancer listener in. Alternative for project_name. One of them should be specified.
    projectName string
    Name of the desired project to create load balancer listener in. Alternative for project_id. One of them should be specified.
    protocol string
    Available values are 'HTTP', 'HTTPS', 'TCP', 'UDP', 'TERMINATED_HTTPS', 'PROMETHEUS'
    protocolPort number
    Port number to listen, between 1 and 65535.
    provisioningStatus string
    Provisioning status of this listener.
    regionId number
    ID of the desired region to create load balancer listener in. Alternative for region_name. One of them should be specified.
    regionName string
    Name of the desired region to create load balancer listener in. Alternative for region_id. One of them should be specified.
    secretId string
    Secret ID to use with 'TERMINATED_HTTPS' protocol.
    sniSecretIds string[]
    List of additional Secret IDs to use with 'TERMINATED_HTTPS' protocol.
    timeoutClientData number
    Frontend client inactivity timeout in milliseconds.
    timeoutMemberConnect number
    Backend member connection timeout in milliseconds.
    timeoutMemberData number
    Backend member inactivity timeout in milliseconds.
    timeouts LblistenerTimeouts
    userLists LblistenerUserList[]
    Load balancer listener list of username and encrypted password items.
    allowed_cidrs Sequence[str]
    List of networks from which listener is accessible
    connection_limit float
    Number of simultaneous connections for this listener, between 1 and 1,000,000.
    insert_x_forwarded bool
    Insert X-Forwarded headers for 'HTTP', 'HTTPS', 'TERMINATED_HTTPS' protocols.
    last_updated str
    Datetime when load balancer was updated at the last time.
    lblistener_id str
    The ID of this resource.
    loadbalancer_id str
    ID of the target load balancer to attach newly created listener.
    name str
    Listener name.
    operating_status str
    Operating status of this listener.
    pool_count float
    Number of pools in this listener.
    project_id float
    ID of the desired project to create load balancer listener in. Alternative for project_name. One of them should be specified.
    project_name str
    Name of the desired project to create load balancer listener in. Alternative for project_id. One of them should be specified.
    protocol str
    Available values are 'HTTP', 'HTTPS', 'TCP', 'UDP', 'TERMINATED_HTTPS', 'PROMETHEUS'
    protocol_port float
    Port number to listen, between 1 and 65535.
    provisioning_status str
    Provisioning status of this listener.
    region_id float
    ID of the desired region to create load balancer listener in. Alternative for region_name. One of them should be specified.
    region_name str
    Name of the desired region to create load balancer listener in. Alternative for region_id. One of them should be specified.
    secret_id str
    Secret ID to use with 'TERMINATED_HTTPS' protocol.
    sni_secret_ids Sequence[str]
    List of additional Secret IDs to use with 'TERMINATED_HTTPS' protocol.
    timeout_client_data float
    Frontend client inactivity timeout in milliseconds.
    timeout_member_connect float
    Backend member connection timeout in milliseconds.
    timeout_member_data float
    Backend member inactivity timeout in milliseconds.
    timeouts LblistenerTimeoutsArgs
    user_lists Sequence[LblistenerUserListArgs]
    Load balancer listener list of username and encrypted password items.
    allowedCidrs List<String>
    List of networks from which listener is accessible
    connectionLimit Number
    Number of simultaneous connections for this listener, between 1 and 1,000,000.
    insertXForwarded Boolean
    Insert X-Forwarded headers for 'HTTP', 'HTTPS', 'TERMINATED_HTTPS' protocols.
    lastUpdated String
    Datetime when load balancer was updated at the last time.
    lblistenerId String
    The ID of this resource.
    loadbalancerId String
    ID of the target load balancer to attach newly created listener.
    name String
    Listener name.
    operatingStatus String
    Operating status of this listener.
    poolCount Number
    Number of pools in this listener.
    projectId Number
    ID of the desired project to create load balancer listener in. Alternative for project_name. One of them should be specified.
    projectName String
    Name of the desired project to create load balancer listener in. Alternative for project_id. One of them should be specified.
    protocol String
    Available values are 'HTTP', 'HTTPS', 'TCP', 'UDP', 'TERMINATED_HTTPS', 'PROMETHEUS'
    protocolPort Number
    Port number to listen, between 1 and 65535.
    provisioningStatus String
    Provisioning status of this listener.
    regionId Number
    ID of the desired region to create load balancer listener in. Alternative for region_name. One of them should be specified.
    regionName String
    Name of the desired region to create load balancer listener in. Alternative for region_id. One of them should be specified.
    secretId String
    Secret ID to use with 'TERMINATED_HTTPS' protocol.
    sniSecretIds List<String>
    List of additional Secret IDs to use with 'TERMINATED_HTTPS' protocol.
    timeoutClientData Number
    Frontend client inactivity timeout in milliseconds.
    timeoutMemberConnect Number
    Backend member connection timeout in milliseconds.
    timeoutMemberData Number
    Backend member inactivity timeout in milliseconds.
    timeouts Property Map
    userLists List<Property Map>
    Load balancer listener list of username and encrypted password items.

    Supporting Types

    LblistenerTimeouts, LblistenerTimeoutsArgs

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

    LblistenerUserList, LblistenerUserListArgs

    EncryptedPassword string
    Encrypted password (hash) to auth via Basic Authentication
    Username string
    Username to auth via Basic Authentication
    EncryptedPassword string
    Encrypted password (hash) to auth via Basic Authentication
    Username string
    Username to auth via Basic Authentication
    encryptedPassword String
    Encrypted password (hash) to auth via Basic Authentication
    username String
    Username to auth via Basic Authentication
    encryptedPassword string
    Encrypted password (hash) to auth via Basic Authentication
    username string
    Username to auth via Basic Authentication
    encrypted_password str
    Encrypted password (hash) to auth via Basic Authentication
    username str
    Username to auth via Basic Authentication
    encryptedPassword String
    Encrypted password (hash) to auth via Basic Authentication
    username String
    Username to auth via Basic Authentication

    Import

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

    $ pulumi import gcore: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
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    gcore logo
    gcore 0.22.0 published on Wednesday, Apr 30, 2025 by g-core