1. Packages
  2. Packages
  3. Gcore Provider
  4. API Docs
  5. CloudLoadBalancerListener
Viewing docs for gcore 2.0.0-alpha.12
published on Monday, Jul 6, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.12
published on Monday, Jul 6, 2026 by g-core

    Load balancer listeners handle incoming traffic on specified protocols and ports, forwarding requests to backend pools.

    Example Usage

    TCP listener on port 80

    Creates a basic TCP listener on port 80.

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    const tcp80 = new gcore.CloudLoadBalancerListener("tcp_80", {
        projectId: 1,
        regionId: 1,
        loadBalancerId: lb.id,
        name: "tcp-80",
        protocol: "TCP",
        protocolPort: 80,
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    tcp80 = gcore.CloudLoadBalancerListener("tcp_80",
        project_id=1,
        region_id=1,
        load_balancer_id=lb["id"],
        name="tcp-80",
        protocol="TCP",
        protocol_port=80)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gcore.NewCloudLoadBalancerListener(ctx, "tcp_80", &gcore.CloudLoadBalancerListenerArgs{
    			ProjectId:      pulumi.Float64(1),
    			RegionId:       pulumi.Float64(1),
    			LoadBalancerId: pulumi.Any(lb.Id),
    			Name:           pulumi.String("tcp-80"),
    			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.CloudLoadBalancerListener("tcp_80", new()
        {
            ProjectId = 1,
            RegionId = 1,
            LoadBalancerId = lb.Id,
            Name = "tcp-80",
            Protocol = "TCP",
            ProtocolPort = 80,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.CloudLoadBalancerListener;
    import com.pulumi.gcore.CloudLoadBalancerListenerArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var tcp80 = new CloudLoadBalancerListener("tcp80", CloudLoadBalancerListenerArgs.builder()
                .projectId(1.0)
                .regionId(1.0)
                .loadBalancerId(lb.id())
                .name("tcp-80")
                .protocol("TCP")
                .protocolPort(80.0)
                .build());
    
        }
    }
    
    resources:
      tcp80:
        type: gcore:CloudLoadBalancerListener
        name: tcp_80
        properties:
          projectId: 1
          regionId: 1
          loadBalancerId: ${lb.id}
          name: tcp-80
          protocol: TCP
          protocolPort: 80
    
    Example coming soon!
    

    Prometheus metrics listener

    Creates a Prometheus listener on port 9101 restricted to a private network with basic auth.

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    import * as random from "@pulumi/random";
    
    export = async () => {
        const prometheusPassword = new random.index.Password("prometheus_password", {
            length: 16,
            special: true,
            overrideSpecial: "!#$%&*()-_=+[]{}<>:?",
        });
        const prometheus9101 = new gcore.CloudLoadBalancerListener("prometheus_9101", {
            projectId: 1,
            regionId: 1,
            loadBalancerId: lb.id,
            name: "prometheus-9101",
            protocol: "PROMETHEUS",
            protocolPort: 9101,
            allowedCidrs: ["10.0.0.0/8"],
            userLists: [{
                username: "admin1",
                encryptedPassword: prometheusPassword.bcryptHash,
            }],
        });
        return {
            prometheusPassword: prometheusPassword.result,
        };
    }
    
    import pulumi
    import pulumi_gcore as gcore
    import pulumi_random as random
    
    prometheus_password = random.index.Password("prometheus_password",
        length=16,
        special=True,
        override_special=!#$%&*()-_=+[]{}<>:?)
    prometheus9101 = gcore.CloudLoadBalancerListener("prometheus_9101",
        project_id=1,
        region_id=1,
        load_balancer_id=lb["id"],
        name="prometheus-9101",
        protocol="PROMETHEUS",
        protocol_port=9101,
        allowed_cidrs=["10.0.0.0/8"],
        user_lists=[{
            "username": "admin1",
            "encrypted_password": prometheus_password["bcryptHash"],
        }])
    pulumi.export("prometheusPassword", prometheus_password["result"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-random/sdk/go/random"
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		prometheusPassword, err := random.NewPassword(ctx, "prometheus_password", &random.PasswordArgs{
    			Length:          16,
    			Special:         true,
    			OverrideSpecial: "!#$%&*()-_=+[]{}<>:?",
    		})
    		if err != nil {
    			return err
    		}
    		_, err = gcore.NewCloudLoadBalancerListener(ctx, "prometheus_9101", &gcore.CloudLoadBalancerListenerArgs{
    			ProjectId:      pulumi.Float64(1),
    			RegionId:       pulumi.Float64(1),
    			LoadBalancerId: pulumi.Any(lb.Id),
    			Name:           pulumi.String("prometheus-9101"),
    			Protocol:       pulumi.String("PROMETHEUS"),
    			ProtocolPort:   pulumi.Float64(9101),
    			AllowedCidrs: pulumi.StringArray{
    				pulumi.String("10.0.0.0/8"),
    			},
    			UserLists: gcore.CloudLoadBalancerListenerUserListArray{
    				&gcore.CloudLoadBalancerListenerUserListArgs{
    					Username:          pulumi.String("admin1"),
    					EncryptedPassword: prometheusPassword.BcryptHash,
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("prometheusPassword", prometheusPassword.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 prometheusPassword = new Random.Index.Password("prometheus_password", new()
        {
            Length = 16,
            Special = true,
            OverrideSpecial = "!#$%&*()-_=+[]{}<>:?",
        });
    
        var prometheus9101 = new Gcore.CloudLoadBalancerListener("prometheus_9101", new()
        {
            ProjectId = 1,
            RegionId = 1,
            LoadBalancerId = lb.Id,
            Name = "prometheus-9101",
            Protocol = "PROMETHEUS",
            ProtocolPort = 9101,
            AllowedCidrs = new[]
            {
                "10.0.0.0/8",
            },
            UserLists = new[]
            {
                new Gcore.Inputs.CloudLoadBalancerListenerUserListArgs
                {
                    Username = "admin1",
                    EncryptedPassword = prometheusPassword.BcryptHash,
                },
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["prometheusPassword"] = prometheusPassword.Result,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.random.Password;
    import com.pulumi.random.PasswordArgs;
    import com.pulumi.gcore.CloudLoadBalancerListener;
    import com.pulumi.gcore.CloudLoadBalancerListenerArgs;
    import com.pulumi.gcore.inputs.CloudLoadBalancerListenerUserListArgs;
    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 prometheusPassword = new Password("prometheusPassword", PasswordArgs.builder()
                .length(16)
                .special(true)
                .overrideSpecial("!#$%&*()-_=+[]{}<>:?")
                .build());
    
            var prometheus9101 = new CloudLoadBalancerListener("prometheus9101", CloudLoadBalancerListenerArgs.builder()
                .projectId(1.0)
                .regionId(1.0)
                .loadBalancerId(lb.id())
                .name("prometheus-9101")
                .protocol("PROMETHEUS")
                .protocolPort(9101.0)
                .allowedCidrs("10.0.0.0/8")
                .userLists(CloudLoadBalancerListenerUserListArgs.builder()
                    .username("admin1")
                    .encryptedPassword(prometheusPassword.bcryptHash())
                    .build())
                .build());
    
            ctx.export("prometheusPassword", prometheusPassword.result());
        }
    }
    
    resources:
      prometheusPassword:
        type: random:Password
        name: prometheus_password
        properties:
          length: 16
          special: true
          overrideSpecial: '!#$%&*()-_=+[]{}<>:?'
      prometheus9101:
        type: gcore:CloudLoadBalancerListener
        name: prometheus_9101
        properties:
          projectId: 1
          regionId: 1
          loadBalancerId: ${lb.id}
          name: prometheus-9101
          protocol: PROMETHEUS
          protocolPort: 9101
          allowedCidrs: # allow access only from private network
            - 10.0.0.0/8
          userLists:
            - username: admin1
              encryptedPassword: ${prometheusPassword.bcryptHash}
    outputs:
      prometheusPassword: ${prometheusPassword.result}
    
    Example coming soon!
    

    Create CloudLoadBalancerListener Resource

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

    Constructor syntax

    new CloudLoadBalancerListener(name: string, args: CloudLoadBalancerListenerArgs, opts?: CustomResourceOptions);
    @overload
    def CloudLoadBalancerListener(resource_name: str,
                                  args: CloudLoadBalancerListenerInitArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudLoadBalancerListener(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  load_balancer_id: Optional[str] = None,
                                  protocol_port: Optional[float] = None,
                                  protocol: Optional[str] = None,
                                  default_pool_id: Optional[str] = None,
                                  insert_x_forwarded: Optional[bool] = None,
                                  admin_state_up: Optional[bool] = None,
                                  name: Optional[str] = None,
                                  project_id: Optional[float] = None,
                                  connection_limit: Optional[float] = None,
                                  allowed_cidrs: Optional[Sequence[str]] = None,
                                  region_id: Optional[float] = None,
                                  secret_id: Optional[str] = None,
                                  sni_secret_ids: Optional[Sequence[str]] = None,
                                  timeout_client_data: Optional[float] = None,
                                  user_lists: Optional[Sequence[CloudLoadBalancerListenerUserListArgs]] = None)
    func NewCloudLoadBalancerListener(ctx *Context, name string, args CloudLoadBalancerListenerArgs, opts ...ResourceOption) (*CloudLoadBalancerListener, error)
    public CloudLoadBalancerListener(string name, CloudLoadBalancerListenerArgs args, CustomResourceOptions? opts = null)
    public CloudLoadBalancerListener(String name, CloudLoadBalancerListenerArgs args)
    public CloudLoadBalancerListener(String name, CloudLoadBalancerListenerArgs args, CustomResourceOptions options)
    
    type: gcore:CloudLoadBalancerListener
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "gcore_cloudloadbalancerlistener" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CloudLoadBalancerListenerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CloudLoadBalancerListenerInitArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CloudLoadBalancerListenerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudLoadBalancerListenerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudLoadBalancerListenerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cloudLoadBalancerListenerResource = new Gcore.CloudLoadBalancerListener("cloudLoadBalancerListenerResource", new()
    {
        LoadBalancerId = "string",
        ProtocolPort = 0,
        Protocol = "string",
        DefaultPoolId = "string",
        InsertXForwarded = false,
        AdminStateUp = false,
        Name = "string",
        ProjectId = 0,
        ConnectionLimit = 0,
        AllowedCidrs = new[]
        {
            "string",
        },
        RegionId = 0,
        SecretId = "string",
        SniSecretIds = new[]
        {
            "string",
        },
        TimeoutClientData = 0,
        UserLists = new[]
        {
            new Gcore.Inputs.CloudLoadBalancerListenerUserListArgs
            {
                EncryptedPassword = "string",
                Username = "string",
            },
        },
    });
    
    example, err := gcore.NewCloudLoadBalancerListener(ctx, "cloudLoadBalancerListenerResource", &gcore.CloudLoadBalancerListenerArgs{
    	LoadBalancerId:   pulumi.String("string"),
    	ProtocolPort:     pulumi.Float64(0),
    	Protocol:         pulumi.String("string"),
    	DefaultPoolId:    pulumi.String("string"),
    	InsertXForwarded: pulumi.Bool(false),
    	AdminStateUp:     pulumi.Bool(false),
    	Name:             pulumi.String("string"),
    	ProjectId:        pulumi.Float64(0),
    	ConnectionLimit:  pulumi.Float64(0),
    	AllowedCidrs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	RegionId: pulumi.Float64(0),
    	SecretId: pulumi.String("string"),
    	SniSecretIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TimeoutClientData: pulumi.Float64(0),
    	UserLists: gcore.CloudLoadBalancerListenerUserListArray{
    		&gcore.CloudLoadBalancerListenerUserListArgs{
    			EncryptedPassword: pulumi.String("string"),
    			Username:          pulumi.String("string"),
    		},
    	},
    })
    
    resource "gcore_cloudloadbalancerlistener" "cloudLoadBalancerListenerResource" {
      load_balancer_id    = "string"
      protocol_port       = 0
      protocol            = "string"
      default_pool_id     = "string"
      insert_x_forwarded  = false
      admin_state_up      = false
      name                = "string"
      project_id          = 0
      connection_limit    = 0
      allowed_cidrs       = ["string"]
      region_id           = 0
      secret_id           = "string"
      sni_secret_ids      = ["string"]
      timeout_client_data = 0
      user_lists {
        encrypted_password = "string"
        username           = "string"
      }
    }
    
    var cloudLoadBalancerListenerResource = new CloudLoadBalancerListener("cloudLoadBalancerListenerResource", CloudLoadBalancerListenerArgs.builder()
        .loadBalancerId("string")
        .protocolPort(0.0)
        .protocol("string")
        .defaultPoolId("string")
        .insertXForwarded(false)
        .adminStateUp(false)
        .name("string")
        .projectId(0.0)
        .connectionLimit(0.0)
        .allowedCidrs("string")
        .regionId(0.0)
        .secretId("string")
        .sniSecretIds("string")
        .timeoutClientData(0.0)
        .userLists(CloudLoadBalancerListenerUserListArgs.builder()
            .encryptedPassword("string")
            .username("string")
            .build())
        .build());
    
    cloud_load_balancer_listener_resource = gcore.CloudLoadBalancerListener("cloudLoadBalancerListenerResource",
        load_balancer_id="string",
        protocol_port=float(0),
        protocol="string",
        default_pool_id="string",
        insert_x_forwarded=False,
        admin_state_up=False,
        name="string",
        project_id=float(0),
        connection_limit=float(0),
        allowed_cidrs=["string"],
        region_id=float(0),
        secret_id="string",
        sni_secret_ids=["string"],
        timeout_client_data=float(0),
        user_lists=[{
            "encrypted_password": "string",
            "username": "string",
        }])
    
    const cloudLoadBalancerListenerResource = new gcore.CloudLoadBalancerListener("cloudLoadBalancerListenerResource", {
        loadBalancerId: "string",
        protocolPort: 0,
        protocol: "string",
        defaultPoolId: "string",
        insertXForwarded: false,
        adminStateUp: false,
        name: "string",
        projectId: 0,
        connectionLimit: 0,
        allowedCidrs: ["string"],
        regionId: 0,
        secretId: "string",
        sniSecretIds: ["string"],
        timeoutClientData: 0,
        userLists: [{
            encryptedPassword: "string",
            username: "string",
        }],
    });
    
    type: gcore:CloudLoadBalancerListener
    properties:
        adminStateUp: false
        allowedCidrs:
            - string
        connectionLimit: 0
        defaultPoolId: string
        insertXForwarded: false
        loadBalancerId: string
        name: string
        projectId: 0
        protocol: string
        protocolPort: 0
        regionId: 0
        secretId: string
        sniSecretIds:
            - string
        timeoutClientData: 0
        userLists:
            - encryptedPassword: string
              username: string
    

    CloudLoadBalancerListener Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CloudLoadBalancerListener resource accepts the following input properties:

    LoadBalancerId string
    ID of already existent Load Balancer.
    Protocol string
    Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
    ProtocolPort double
    Protocol port
    AdminStateUp bool
    Administrative state of the resource. When set to true, the resource is enabled and operational. When set to false, the resource is disabled and will not process traffic. Defaults to true.
    AllowedCidrs List<string>
    Network CIDRs from which service will be accessible. Order-insensitive.
    ConnectionLimit double
    Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
    DefaultPoolId string
    ID of already existent Load Balancer Pool to attach listener to.
    InsertXForwarded bool
    Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or TERMINATED_HTTPS protocols.
    Name string
    Load balancer listener name
    ProjectId double
    Project ID
    RegionId double
    Region ID
    SecretId string
    ID of the secret where PKCS12 file is stored for TERMINATED_HTTPS or PROMETHEUS listener Available values: "".
    SniSecretIds List<string>
    List of secrets IDs containing PKCS12 format certificate/key bundles for TERMINATED_HTTPS or PROMETHEUS listeners
    TimeoutClientData double
    Frontend client inactivity timeout in milliseconds
    UserLists List<CloudLoadBalancerListenerUserList>
    Load balancer listener list of username and encrypted password items
    LoadBalancerId string
    ID of already existent Load Balancer.
    Protocol string
    Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
    ProtocolPort float64
    Protocol port
    AdminStateUp bool
    Administrative state of the resource. When set to true, the resource is enabled and operational. When set to false, the resource is disabled and will not process traffic. Defaults to true.
    AllowedCidrs []string
    Network CIDRs from which service will be accessible. Order-insensitive.
    ConnectionLimit float64
    Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
    DefaultPoolId string
    ID of already existent Load Balancer Pool to attach listener to.
    InsertXForwarded bool
    Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or TERMINATED_HTTPS protocols.
    Name string
    Load balancer listener name
    ProjectId float64
    Project ID
    RegionId float64
    Region ID
    SecretId string
    ID of the secret where PKCS12 file is stored for TERMINATED_HTTPS or PROMETHEUS listener Available values: "".
    SniSecretIds []string
    List of secrets IDs containing PKCS12 format certificate/key bundles for TERMINATED_HTTPS or PROMETHEUS listeners
    TimeoutClientData float64
    Frontend client inactivity timeout in milliseconds
    UserLists []CloudLoadBalancerListenerUserListArgs
    Load balancer listener list of username and encrypted password items
    load_balancer_id string
    ID of already existent Load Balancer.
    protocol string
    Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
    protocol_port number
    Protocol port
    admin_state_up bool
    Administrative state of the resource. When set to true, the resource is enabled and operational. When set to false, the resource is disabled and will not process traffic. Defaults to true.
    allowed_cidrs list(string)
    Network CIDRs from which service will be accessible. Order-insensitive.
    connection_limit number
    Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
    default_pool_id string
    ID of already existent Load Balancer Pool to attach listener to.
    insert_x_forwarded bool
    Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or TERMINATED_HTTPS protocols.
    name string
    Load balancer listener name
    project_id number
    Project ID
    region_id number
    Region ID
    secret_id string
    ID of the secret where PKCS12 file is stored for TERMINATED_HTTPS or PROMETHEUS listener Available values: "".
    sni_secret_ids list(string)
    List of secrets IDs containing PKCS12 format certificate/key bundles for TERMINATED_HTTPS or PROMETHEUS listeners
    timeout_client_data number
    Frontend client inactivity timeout in milliseconds
    user_lists list(object)
    Load balancer listener list of username and encrypted password items
    loadBalancerId String
    ID of already existent Load Balancer.
    protocol String
    Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
    protocolPort Double
    Protocol port
    adminStateUp Boolean
    Administrative state of the resource. When set to true, the resource is enabled and operational. When set to false, the resource is disabled and will not process traffic. Defaults to true.
    allowedCidrs List<String>
    Network CIDRs from which service will be accessible. Order-insensitive.
    connectionLimit Double
    Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
    defaultPoolId String
    ID of already existent Load Balancer Pool to attach listener to.
    insertXForwarded Boolean
    Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or TERMINATED_HTTPS protocols.
    name String
    Load balancer listener name
    projectId Double
    Project ID
    regionId Double
    Region ID
    secretId String
    ID of the secret where PKCS12 file is stored for TERMINATED_HTTPS or PROMETHEUS listener Available values: "".
    sniSecretIds List<String>
    List of secrets IDs containing PKCS12 format certificate/key bundles for TERMINATED_HTTPS or PROMETHEUS listeners
    timeoutClientData Double
    Frontend client inactivity timeout in milliseconds
    userLists List<CloudLoadBalancerListenerUserList>
    Load balancer listener list of username and encrypted password items
    loadBalancerId string
    ID of already existent Load Balancer.
    protocol string
    Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
    protocolPort number
    Protocol port
    adminStateUp boolean
    Administrative state of the resource. When set to true, the resource is enabled and operational. When set to false, the resource is disabled and will not process traffic. Defaults to true.
    allowedCidrs string[]
    Network CIDRs from which service will be accessible. Order-insensitive.
    connectionLimit number
    Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
    defaultPoolId string
    ID of already existent Load Balancer Pool to attach listener to.
    insertXForwarded boolean
    Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or TERMINATED_HTTPS protocols.
    name string
    Load balancer listener name
    projectId number
    Project ID
    regionId number
    Region ID
    secretId string
    ID of the secret where PKCS12 file is stored for TERMINATED_HTTPS or PROMETHEUS listener Available values: "".
    sniSecretIds string[]
    List of secrets IDs containing PKCS12 format certificate/key bundles for TERMINATED_HTTPS or PROMETHEUS listeners
    timeoutClientData number
    Frontend client inactivity timeout in milliseconds
    userLists CloudLoadBalancerListenerUserList[]
    Load balancer listener list of username and encrypted password items
    load_balancer_id str
    ID of already existent Load Balancer.
    protocol str
    Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
    protocol_port float
    Protocol port
    admin_state_up bool
    Administrative state of the resource. When set to true, the resource is enabled and operational. When set to false, the resource is disabled and will not process traffic. Defaults to true.
    allowed_cidrs Sequence[str]
    Network CIDRs from which service will be accessible. Order-insensitive.
    connection_limit float
    Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
    default_pool_id str
    ID of already existent Load Balancer Pool to attach listener to.
    insert_x_forwarded bool
    Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or TERMINATED_HTTPS protocols.
    name str
    Load balancer listener name
    project_id float
    Project ID
    region_id float
    Region ID
    secret_id str
    ID of the secret where PKCS12 file is stored for TERMINATED_HTTPS or PROMETHEUS listener Available values: "".
    sni_secret_ids Sequence[str]
    List of secrets IDs containing PKCS12 format certificate/key bundles for TERMINATED_HTTPS or PROMETHEUS listeners
    timeout_client_data float
    Frontend client inactivity timeout in milliseconds
    user_lists Sequence[CloudLoadBalancerListenerUserListArgs]
    Load balancer listener list of username and encrypted password items
    loadBalancerId String
    ID of already existent Load Balancer.
    protocol String
    Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
    protocolPort Number
    Protocol port
    adminStateUp Boolean
    Administrative state of the resource. When set to true, the resource is enabled and operational. When set to false, the resource is disabled and will not process traffic. Defaults to true.
    allowedCidrs List<String>
    Network CIDRs from which service will be accessible. Order-insensitive.
    connectionLimit Number
    Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
    defaultPoolId String
    ID of already existent Load Balancer Pool to attach listener to.
    insertXForwarded Boolean
    Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or TERMINATED_HTTPS protocols.
    name String
    Load balancer listener name
    projectId Number
    Project ID
    regionId Number
    Region ID
    secretId String
    ID of the secret where PKCS12 file is stored for TERMINATED_HTTPS or PROMETHEUS listener Available values: "".
    sniSecretIds List<String>
    List of secrets IDs containing PKCS12 format certificate/key bundles for TERMINATED_HTTPS or PROMETHEUS listeners
    timeoutClientData Number
    Frontend client inactivity timeout in milliseconds
    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 CloudLoadBalancerListener resource produces the following output properties:

    CreatorTaskId string
    Task that created this entity
    Id string
    The provider-assigned unique ID for this managed resource.
    InsertHeaders string
    Dictionary of additional header insertion into HTTP headers. Only used with HTTP and TERMINATED_HTTPS protocols.
    OperatingStatus string
    Listener operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
    PoolCount double
    Number of pools (for UI)
    ProvisioningStatus string
    Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
    Stats CloudLoadBalancerListenerStats
    Statistics of the load balancer. It is available only in get functions by a flag.
    CreatorTaskId string
    Task that created this entity
    Id string
    The provider-assigned unique ID for this managed resource.
    InsertHeaders string
    Dictionary of additional header insertion into HTTP headers. Only used with HTTP and TERMINATED_HTTPS protocols.
    OperatingStatus string
    Listener operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
    PoolCount float64
    Number of pools (for UI)
    ProvisioningStatus string
    Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
    Stats CloudLoadBalancerListenerStats
    Statistics of the load balancer. It is available only in get functions by a flag.
    creator_task_id string
    Task that created this entity
    id string
    The provider-assigned unique ID for this managed resource.
    insert_headers string
    Dictionary of additional header insertion into HTTP headers. Only used with HTTP and TERMINATED_HTTPS protocols.
    operating_status string
    Listener operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
    pool_count number
    Number of pools (for UI)
    provisioning_status string
    Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
    stats object
    Statistics of the load balancer. It is available only in get functions by a flag.
    creatorTaskId String
    Task that created this entity
    id String
    The provider-assigned unique ID for this managed resource.
    insertHeaders String
    Dictionary of additional header insertion into HTTP headers. Only used with HTTP and TERMINATED_HTTPS protocols.
    operatingStatus String
    Listener operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
    poolCount Double
    Number of pools (for UI)
    provisioningStatus String
    Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
    stats CloudLoadBalancerListenerStats
    Statistics of the load balancer. It is available only in get functions by a flag.
    creatorTaskId string
    Task that created this entity
    id string
    The provider-assigned unique ID for this managed resource.
    insertHeaders string
    Dictionary of additional header insertion into HTTP headers. Only used with HTTP and TERMINATED_HTTPS protocols.
    operatingStatus string
    Listener operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
    poolCount number
    Number of pools (for UI)
    provisioningStatus string
    Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
    stats CloudLoadBalancerListenerStats
    Statistics of the load balancer. It is available only in get functions by a flag.
    creator_task_id str
    Task that created this entity
    id str
    The provider-assigned unique ID for this managed resource.
    insert_headers str
    Dictionary of additional header insertion into HTTP headers. Only used with HTTP and TERMINATED_HTTPS protocols.
    operating_status str
    Listener operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
    pool_count float
    Number of pools (for UI)
    provisioning_status str
    Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
    stats CloudLoadBalancerListenerStats
    Statistics of the load balancer. It is available only in get functions by a flag.
    creatorTaskId String
    Task that created this entity
    id String
    The provider-assigned unique ID for this managed resource.
    insertHeaders String
    Dictionary of additional header insertion into HTTP headers. Only used with HTTP and TERMINATED_HTTPS protocols.
    operatingStatus String
    Listener operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
    poolCount Number
    Number of pools (for UI)
    provisioningStatus String
    Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
    stats Property Map
    Statistics of the load balancer. It is available only in get functions by a flag.

    Look up Existing CloudLoadBalancerListener Resource

    Get an existing CloudLoadBalancerListener resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CloudLoadBalancerListenerState, opts?: CustomResourceOptions): CloudLoadBalancerListener
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            admin_state_up: Optional[bool] = None,
            allowed_cidrs: Optional[Sequence[str]] = None,
            connection_limit: Optional[float] = None,
            creator_task_id: Optional[str] = None,
            default_pool_id: Optional[str] = None,
            insert_headers: Optional[str] = None,
            insert_x_forwarded: Optional[bool] = None,
            load_balancer_id: Optional[str] = None,
            name: Optional[str] = None,
            operating_status: Optional[str] = None,
            pool_count: Optional[float] = None,
            project_id: Optional[float] = None,
            protocol: Optional[str] = None,
            protocol_port: Optional[float] = None,
            provisioning_status: Optional[str] = None,
            region_id: Optional[float] = None,
            secret_id: Optional[str] = None,
            sni_secret_ids: Optional[Sequence[str]] = None,
            stats: Optional[CloudLoadBalancerListenerStatsArgs] = None,
            timeout_client_data: Optional[float] = None,
            user_lists: Optional[Sequence[CloudLoadBalancerListenerUserListArgs]] = None) -> CloudLoadBalancerListener
    func GetCloudLoadBalancerListener(ctx *Context, name string, id IDInput, state *CloudLoadBalancerListenerState, opts ...ResourceOption) (*CloudLoadBalancerListener, error)
    public static CloudLoadBalancerListener Get(string name, Input<string> id, CloudLoadBalancerListenerState? state, CustomResourceOptions? opts = null)
    public static CloudLoadBalancerListener get(String name, Output<String> id, CloudLoadBalancerListenerState state, CustomResourceOptions options)
    resources:  _:    type: gcore:CloudLoadBalancerListener    get:      id: ${id}
    import {
      to = gcore_cloudloadbalancerlistener.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdminStateUp bool
    Administrative state of the resource. When set to true, the resource is enabled and operational. When set to false, the resource is disabled and will not process traffic. Defaults to true.
    AllowedCidrs List<string>
    Network CIDRs from which service will be accessible. Order-insensitive.
    ConnectionLimit double
    Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
    CreatorTaskId string
    Task that created this entity
    DefaultPoolId string
    ID of already existent Load Balancer Pool to attach listener to.
    InsertHeaders string
    Dictionary of additional header insertion into HTTP headers. Only used with HTTP and TERMINATED_HTTPS protocols.
    InsertXForwarded bool
    Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or TERMINATED_HTTPS protocols.
    LoadBalancerId string
    ID of already existent Load Balancer.
    Name string
    Load balancer listener name
    OperatingStatus string
    Listener operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
    PoolCount double
    Number of pools (for UI)
    ProjectId double
    Project ID
    Protocol string
    Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
    ProtocolPort double
    Protocol port
    ProvisioningStatus string
    Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
    RegionId double
    Region ID
    SecretId string
    ID of the secret where PKCS12 file is stored for TERMINATED_HTTPS or PROMETHEUS listener Available values: "".
    SniSecretIds List<string>
    List of secrets IDs containing PKCS12 format certificate/key bundles for TERMINATED_HTTPS or PROMETHEUS listeners
    Stats CloudLoadBalancerListenerStats
    Statistics of the load balancer. It is available only in get functions by a flag.
    TimeoutClientData double
    Frontend client inactivity timeout in milliseconds
    UserLists List<CloudLoadBalancerListenerUserList>
    Load balancer listener list of username and encrypted password items
    AdminStateUp bool
    Administrative state of the resource. When set to true, the resource is enabled and operational. When set to false, the resource is disabled and will not process traffic. Defaults to true.
    AllowedCidrs []string
    Network CIDRs from which service will be accessible. Order-insensitive.
    ConnectionLimit float64
    Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
    CreatorTaskId string
    Task that created this entity
    DefaultPoolId string
    ID of already existent Load Balancer Pool to attach listener to.
    InsertHeaders string
    Dictionary of additional header insertion into HTTP headers. Only used with HTTP and TERMINATED_HTTPS protocols.
    InsertXForwarded bool
    Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or TERMINATED_HTTPS protocols.
    LoadBalancerId string
    ID of already existent Load Balancer.
    Name string
    Load balancer listener name
    OperatingStatus string
    Listener operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
    PoolCount float64
    Number of pools (for UI)
    ProjectId float64
    Project ID
    Protocol string
    Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
    ProtocolPort float64
    Protocol port
    ProvisioningStatus string
    Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
    RegionId float64
    Region ID
    SecretId string
    ID of the secret where PKCS12 file is stored for TERMINATED_HTTPS or PROMETHEUS listener Available values: "".
    SniSecretIds []string
    List of secrets IDs containing PKCS12 format certificate/key bundles for TERMINATED_HTTPS or PROMETHEUS listeners
    Stats CloudLoadBalancerListenerStatsArgs
    Statistics of the load balancer. It is available only in get functions by a flag.
    TimeoutClientData float64
    Frontend client inactivity timeout in milliseconds
    UserLists []CloudLoadBalancerListenerUserListArgs
    Load balancer listener list of username and encrypted password items
    admin_state_up bool
    Administrative state of the resource. When set to true, the resource is enabled and operational. When set to false, the resource is disabled and will not process traffic. Defaults to true.
    allowed_cidrs list(string)
    Network CIDRs from which service will be accessible. Order-insensitive.
    connection_limit number
    Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
    creator_task_id string
    Task that created this entity
    default_pool_id string
    ID of already existent Load Balancer Pool to attach listener to.
    insert_headers string
    Dictionary of additional header insertion into HTTP headers. Only used with HTTP and TERMINATED_HTTPS protocols.
    insert_x_forwarded bool
    Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or TERMINATED_HTTPS protocols.
    load_balancer_id string
    ID of already existent Load Balancer.
    name string
    Load balancer listener name
    operating_status string
    Listener operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
    pool_count number
    Number of pools (for UI)
    project_id number
    Project ID
    protocol string
    Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
    protocol_port number
    Protocol port
    provisioning_status string
    Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
    region_id number
    Region ID
    secret_id string
    ID of the secret where PKCS12 file is stored for TERMINATED_HTTPS or PROMETHEUS listener Available values: "".
    sni_secret_ids list(string)
    List of secrets IDs containing PKCS12 format certificate/key bundles for TERMINATED_HTTPS or PROMETHEUS listeners
    stats object
    Statistics of the load balancer. It is available only in get functions by a flag.
    timeout_client_data number
    Frontend client inactivity timeout in milliseconds
    user_lists list(object)
    Load balancer listener list of username and encrypted password items
    adminStateUp Boolean
    Administrative state of the resource. When set to true, the resource is enabled and operational. When set to false, the resource is disabled and will not process traffic. Defaults to true.
    allowedCidrs List<String>
    Network CIDRs from which service will be accessible. Order-insensitive.
    connectionLimit Double
    Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
    creatorTaskId String
    Task that created this entity
    defaultPoolId String
    ID of already existent Load Balancer Pool to attach listener to.
    insertHeaders String
    Dictionary of additional header insertion into HTTP headers. Only used with HTTP and TERMINATED_HTTPS protocols.
    insertXForwarded Boolean
    Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or TERMINATED_HTTPS protocols.
    loadBalancerId String
    ID of already existent Load Balancer.
    name String
    Load balancer listener name
    operatingStatus String
    Listener operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
    poolCount Double
    Number of pools (for UI)
    projectId Double
    Project ID
    protocol String
    Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
    protocolPort Double
    Protocol port
    provisioningStatus String
    Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
    regionId Double
    Region ID
    secretId String
    ID of the secret where PKCS12 file is stored for TERMINATED_HTTPS or PROMETHEUS listener Available values: "".
    sniSecretIds List<String>
    List of secrets IDs containing PKCS12 format certificate/key bundles for TERMINATED_HTTPS or PROMETHEUS listeners
    stats CloudLoadBalancerListenerStats
    Statistics of the load balancer. It is available only in get functions by a flag.
    timeoutClientData Double
    Frontend client inactivity timeout in milliseconds
    userLists List<CloudLoadBalancerListenerUserList>
    Load balancer listener list of username and encrypted password items
    adminStateUp boolean
    Administrative state of the resource. When set to true, the resource is enabled and operational. When set to false, the resource is disabled and will not process traffic. Defaults to true.
    allowedCidrs string[]
    Network CIDRs from which service will be accessible. Order-insensitive.
    connectionLimit number
    Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
    creatorTaskId string
    Task that created this entity
    defaultPoolId string
    ID of already existent Load Balancer Pool to attach listener to.
    insertHeaders string
    Dictionary of additional header insertion into HTTP headers. Only used with HTTP and TERMINATED_HTTPS protocols.
    insertXForwarded boolean
    Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or TERMINATED_HTTPS protocols.
    loadBalancerId string
    ID of already existent Load Balancer.
    name string
    Load balancer listener name
    operatingStatus string
    Listener operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
    poolCount number
    Number of pools (for UI)
    projectId number
    Project ID
    protocol string
    Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
    protocolPort number
    Protocol port
    provisioningStatus string
    Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
    regionId number
    Region ID
    secretId string
    ID of the secret where PKCS12 file is stored for TERMINATED_HTTPS or PROMETHEUS listener Available values: "".
    sniSecretIds string[]
    List of secrets IDs containing PKCS12 format certificate/key bundles for TERMINATED_HTTPS or PROMETHEUS listeners
    stats CloudLoadBalancerListenerStats
    Statistics of the load balancer. It is available only in get functions by a flag.
    timeoutClientData number
    Frontend client inactivity timeout in milliseconds
    userLists CloudLoadBalancerListenerUserList[]
    Load balancer listener list of username and encrypted password items
    admin_state_up bool
    Administrative state of the resource. When set to true, the resource is enabled and operational. When set to false, the resource is disabled and will not process traffic. Defaults to true.
    allowed_cidrs Sequence[str]
    Network CIDRs from which service will be accessible. Order-insensitive.
    connection_limit float
    Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
    creator_task_id str
    Task that created this entity
    default_pool_id str
    ID of already existent Load Balancer Pool to attach listener to.
    insert_headers str
    Dictionary of additional header insertion into HTTP headers. Only used with HTTP and TERMINATED_HTTPS protocols.
    insert_x_forwarded bool
    Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or TERMINATED_HTTPS protocols.
    load_balancer_id str
    ID of already existent Load Balancer.
    name str
    Load balancer listener name
    operating_status str
    Listener operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
    pool_count float
    Number of pools (for UI)
    project_id float
    Project ID
    protocol str
    Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
    protocol_port float
    Protocol port
    provisioning_status str
    Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
    region_id float
    Region ID
    secret_id str
    ID of the secret where PKCS12 file is stored for TERMINATED_HTTPS or PROMETHEUS listener Available values: "".
    sni_secret_ids Sequence[str]
    List of secrets IDs containing PKCS12 format certificate/key bundles for TERMINATED_HTTPS or PROMETHEUS listeners
    stats CloudLoadBalancerListenerStatsArgs
    Statistics of the load balancer. It is available only in get functions by a flag.
    timeout_client_data float
    Frontend client inactivity timeout in milliseconds
    user_lists Sequence[CloudLoadBalancerListenerUserListArgs]
    Load balancer listener list of username and encrypted password items
    adminStateUp Boolean
    Administrative state of the resource. When set to true, the resource is enabled and operational. When set to false, the resource is disabled and will not process traffic. Defaults to true.
    allowedCidrs List<String>
    Network CIDRs from which service will be accessible. Order-insensitive.
    connectionLimit Number
    Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
    creatorTaskId String
    Task that created this entity
    defaultPoolId String
    ID of already existent Load Balancer Pool to attach listener to.
    insertHeaders String
    Dictionary of additional header insertion into HTTP headers. Only used with HTTP and TERMINATED_HTTPS protocols.
    insertXForwarded Boolean
    Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or TERMINATED_HTTPS protocols.
    loadBalancerId String
    ID of already existent Load Balancer.
    name String
    Load balancer listener name
    operatingStatus String
    Listener operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
    poolCount Number
    Number of pools (for UI)
    projectId Number
    Project ID
    protocol String
    Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
    protocolPort Number
    Protocol port
    provisioningStatus String
    Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
    regionId Number
    Region ID
    secretId String
    ID of the secret where PKCS12 file is stored for TERMINATED_HTTPS or PROMETHEUS listener Available values: "".
    sniSecretIds List<String>
    List of secrets IDs containing PKCS12 format certificate/key bundles for TERMINATED_HTTPS or PROMETHEUS listeners
    stats Property Map
    Statistics of the load balancer. It is available only in get functions by a flag.
    timeoutClientData Number
    Frontend client inactivity timeout in milliseconds
    userLists List<Property Map>
    Load balancer listener list of username and encrypted password items

    Supporting Types

    CloudLoadBalancerListenerStats, CloudLoadBalancerListenerStatsArgs

    ActiveConnections double
    Currently active connections
    BytesIn double
    Total bytes received
    BytesOut double
    Total bytes sent
    RequestErrors double
    Total requests that were unable to be fulfilled
    TotalConnections double
    Total connections handled
    ActiveConnections float64
    Currently active connections
    BytesIn float64
    Total bytes received
    BytesOut float64
    Total bytes sent
    RequestErrors float64
    Total requests that were unable to be fulfilled
    TotalConnections float64
    Total connections handled
    active_connections number
    Currently active connections
    bytes_in number
    Total bytes received
    bytes_out number
    Total bytes sent
    request_errors number
    Total requests that were unable to be fulfilled
    total_connections number
    Total connections handled
    activeConnections Double
    Currently active connections
    bytesIn Double
    Total bytes received
    bytesOut Double
    Total bytes sent
    requestErrors Double
    Total requests that were unable to be fulfilled
    totalConnections Double
    Total connections handled
    activeConnections number
    Currently active connections
    bytesIn number
    Total bytes received
    bytesOut number
    Total bytes sent
    requestErrors number
    Total requests that were unable to be fulfilled
    totalConnections number
    Total connections handled
    active_connections float
    Currently active connections
    bytes_in float
    Total bytes received
    bytes_out float
    Total bytes sent
    request_errors float
    Total requests that were unable to be fulfilled
    total_connections float
    Total connections handled
    activeConnections Number
    Currently active connections
    bytesIn Number
    Total bytes received
    bytesOut Number
    Total bytes sent
    requestErrors Number
    Total requests that were unable to be fulfilled
    totalConnections Number
    Total connections handled

    CloudLoadBalancerListenerUserList, CloudLoadBalancerListenerUserListArgs

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

    Import

    $ pulumi import gcore:index/cloudLoadBalancerListener:CloudLoadBalancerListener example '<project_id>/<region_id>/<listener_id>'
    

    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.
    Viewing docs for gcore 2.0.0-alpha.12
    published on Monday, Jul 6, 2026 by g-core

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial