published on Monday, Jul 6, 2026 by g-core
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:
- Load
Balancer stringId - ID of already existent Load Balancer.
- Protocol string
- Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
- Protocol
Port double - Protocol port
- Admin
State boolUp - 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 double - Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
- Default
Pool stringId - ID of already existent Load Balancer Pool to attach listener to.
- Insert
XForwarded bool - Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or
TERMINATED_HTTPSprotocols. - Name string
- Load balancer listener name
- Project
Id double - Project ID
- Region
Id double - Region ID
- Secret
Id string - ID of the secret where PKCS12 file is stored for
TERMINATED_HTTPSor PROMETHEUS listener Available values: "". - Sni
Secret List<string>Ids - List of secrets IDs containing PKCS12 format certificate/key bundles for
TERMINATED_HTTPSor PROMETHEUS listeners - Timeout
Client doubleData - Frontend client inactivity timeout in milliseconds
- User
Lists List<CloudLoad Balancer Listener User List> - Load balancer listener list of username and encrypted password items
- Load
Balancer stringId - ID of already existent Load Balancer.
- Protocol string
- Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
- Protocol
Port float64 - Protocol port
- Admin
State boolUp - 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 []string - Network CIDRs from which service will be accessible. Order-insensitive.
- Connection
Limit float64 - Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
- Default
Pool stringId - ID of already existent Load Balancer Pool to attach listener to.
- Insert
XForwarded bool - Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or
TERMINATED_HTTPSprotocols. - Name string
- Load balancer listener name
- Project
Id float64 - Project ID
- Region
Id float64 - Region ID
- Secret
Id string - ID of the secret where PKCS12 file is stored for
TERMINATED_HTTPSor PROMETHEUS listener Available values: "". - Sni
Secret []stringIds - List of secrets IDs containing PKCS12 format certificate/key bundles for
TERMINATED_HTTPSor PROMETHEUS listeners - Timeout
Client float64Data - Frontend client inactivity timeout in milliseconds
- User
Lists []CloudLoad Balancer Listener User List Args - Load balancer listener list of username and encrypted password items
- load_
balancer_ stringid - 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_ boolup - 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_ stringid - ID of already existent Load Balancer Pool to attach listener to.
- insert_
x_ boolforwarded - Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or
TERMINATED_HTTPSprotocols. - 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_HTTPSor PROMETHEUS listener Available values: "". - sni_
secret_ list(string)ids - List of secrets IDs containing PKCS12 format certificate/key bundles for
TERMINATED_HTTPSor PROMETHEUS listeners - timeout_
client_ numberdata - Frontend client inactivity timeout in milliseconds
- user_
lists list(object) - Load balancer listener list of username and encrypted password items
- load
Balancer StringId - ID of already existent Load Balancer.
- protocol String
- Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
- protocol
Port Double - Protocol port
- admin
State BooleanUp - 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 Double - Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
- default
Pool StringId - ID of already existent Load Balancer Pool to attach listener to.
- insert
XForwarded Boolean - Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or
TERMINATED_HTTPSprotocols. - name String
- Load balancer listener name
- project
Id Double - Project ID
- region
Id Double - Region ID
- secret
Id String - ID of the secret where PKCS12 file is stored for
TERMINATED_HTTPSor PROMETHEUS listener Available values: "". - sni
Secret List<String>Ids - List of secrets IDs containing PKCS12 format certificate/key bundles for
TERMINATED_HTTPSor PROMETHEUS listeners - timeout
Client DoubleData - Frontend client inactivity timeout in milliseconds
- user
Lists List<CloudLoad Balancer Listener User List> - Load balancer listener list of username and encrypted password items
- load
Balancer stringId - 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 booleanUp - 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 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 stringId - ID of already existent Load Balancer Pool to attach listener to.
- insert
XForwarded boolean - Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or
TERMINATED_HTTPSprotocols. - 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_HTTPSor PROMETHEUS listener Available values: "". - sni
Secret string[]Ids - List of secrets IDs containing PKCS12 format certificate/key bundles for
TERMINATED_HTTPSor PROMETHEUS listeners - timeout
Client numberData - Frontend client inactivity timeout in milliseconds
- user
Lists CloudLoad Balancer Listener User List[] - Load balancer listener list of username and encrypted password items
- load_
balancer_ strid - 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_ boolup - 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_ strid - ID of already existent Load Balancer Pool to attach listener to.
- insert_
x_ boolforwarded - Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or
TERMINATED_HTTPSprotocols. - 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_HTTPSor PROMETHEUS listener Available values: "". - sni_
secret_ Sequence[str]ids - List of secrets IDs containing PKCS12 format certificate/key bundles for
TERMINATED_HTTPSor PROMETHEUS listeners - timeout_
client_ floatdata - Frontend client inactivity timeout in milliseconds
- user_
lists Sequence[CloudLoad Balancer Listener User List Args] - Load balancer listener list of username and encrypted password items
- load
Balancer StringId - 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 BooleanUp - 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 StringId - ID of already existent Load Balancer Pool to attach listener to.
- insert
XForwarded Boolean - Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or
TERMINATED_HTTPSprotocols. - 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_HTTPSor PROMETHEUS listener Available values: "". - sni
Secret List<String>Ids - List of secrets IDs containing PKCS12 format certificate/key bundles for
TERMINATED_HTTPSor PROMETHEUS listeners - timeout
Client NumberData - Frontend client inactivity timeout in milliseconds
- user
Lists 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:
- Creator
Task stringId - 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_HTTPSprotocols. - Operating
Status string - Listener operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
- Pool
Count double - Number of pools (for UI)
- Provisioning
Status string - Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
- Stats
Cloud
Load Balancer Listener Stats - Statistics of the load balancer. It is available only in get functions by a flag.
- Creator
Task stringId - 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_HTTPSprotocols. - Operating
Status string - Listener operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
- Pool
Count float64 - Number of pools (for UI)
- Provisioning
Status string - Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
- Stats
Cloud
Load Balancer Listener Stats - Statistics of the load balancer. It is available only in get functions by a flag.
- creator_
task_ stringid - 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_HTTPSprotocols. - 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.
- creator
Task StringId - 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_HTTPSprotocols. - operating
Status String - Listener operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
- pool
Count Double - Number of pools (for UI)
- provisioning
Status String - Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
- stats
Cloud
Load Balancer Listener Stats - Statistics of the load balancer. It is available only in get functions by a flag.
- creator
Task stringId - 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_HTTPSprotocols. - 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
Cloud
Load Balancer Listener Stats - Statistics of the load balancer. It is available only in get functions by a flag.
- creator_
task_ strid - 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_HTTPSprotocols. - 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
Cloud
Load Balancer Listener Stats - Statistics of the load balancer. It is available only in get functions by a flag.
- creator
Task StringId - 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_HTTPSprotocols. - 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 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) -> CloudLoadBalancerListenerfunc GetCloudLoadBalancerListener(ctx *Context, name string, id IDInput, state *CloudLoadBalancerListenerState, opts ...ResourceOption) (*CloudLoadBalancerListener, error)public static CloudLoadBalancerListener Get(string name, Input<string> id, CloudLoadBalancerListenerState? state, CustomResourceOptions? opts = null)public static CloudLoadBalancerListener get(String name, Output<String> id, CloudLoadBalancerListenerState state, CustomResourceOptions options)resources: _: type: 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.
- Admin
State boolUp - 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 double - Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
- Creator
Task stringId - Task that created this entity
- Default
Pool stringId - 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_HTTPSprotocols. - Insert
XForwarded bool - Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or
TERMINATED_HTTPSprotocols. - Load
Balancer stringId - 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 double - Number of pools (for UI)
- Project
Id double - Project ID
- Protocol string
- Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
- Protocol
Port double - Protocol port
- Provisioning
Status string - Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
- Region
Id double - Region ID
- Secret
Id string - ID of the secret where PKCS12 file is stored for
TERMINATED_HTTPSor PROMETHEUS listener Available values: "". - Sni
Secret List<string>Ids - List of secrets IDs containing PKCS12 format certificate/key bundles for
TERMINATED_HTTPSor PROMETHEUS listeners - Stats
Cloud
Load Balancer Listener Stats - Statistics of the load balancer. It is available only in get functions by a flag.
- Timeout
Client doubleData - Frontend client inactivity timeout in milliseconds
- User
Lists List<CloudLoad Balancer Listener User List> - Load balancer listener list of username and encrypted password items
- Admin
State boolUp - 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 []string - Network CIDRs from which service will be accessible. Order-insensitive.
- Connection
Limit float64 - Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
- Creator
Task stringId - Task that created this entity
- Default
Pool stringId - 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_HTTPSprotocols. - Insert
XForwarded bool - Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or
TERMINATED_HTTPSprotocols. - Load
Balancer stringId - 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 float64 - Number of pools (for UI)
- Project
Id float64 - Project ID
- Protocol string
- Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
- Protocol
Port float64 - Protocol port
- Provisioning
Status string - Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
- Region
Id float64 - Region ID
- Secret
Id string - ID of the secret where PKCS12 file is stored for
TERMINATED_HTTPSor PROMETHEUS listener Available values: "". - Sni
Secret []stringIds - List of secrets IDs containing PKCS12 format certificate/key bundles for
TERMINATED_HTTPSor PROMETHEUS listeners - Stats
Cloud
Load Balancer Listener Stats Args - Statistics of the load balancer. It is available only in get functions by a flag.
- Timeout
Client float64Data - Frontend client inactivity timeout in milliseconds
- User
Lists []CloudLoad Balancer Listener User List Args - Load balancer listener list of username and encrypted password items
- admin_
state_ boolup - 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_ stringid - Task that created this entity
- default_
pool_ stringid - 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_HTTPSprotocols. - insert_
x_ boolforwarded - Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or
TERMINATED_HTTPSprotocols. - load_
balancer_ stringid - 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_HTTPSor PROMETHEUS listener Available values: "". - sni_
secret_ list(string)ids - List of secrets IDs containing PKCS12 format certificate/key bundles for
TERMINATED_HTTPSor PROMETHEUS listeners - stats object
- Statistics of the load balancer. It is available only in get functions by a flag.
- timeout_
client_ numberdata - Frontend client inactivity timeout in milliseconds
- user_
lists list(object) - Load balancer listener list of username and encrypted password items
- admin
State BooleanUp - 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 Double - Limit of the simultaneous connections. If -1 is provided, it is translated to the default value 100000.
- creator
Task StringId - Task that created this entity
- default
Pool StringId - 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_HTTPSprotocols. - insert
XForwarded Boolean - Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or
TERMINATED_HTTPSprotocols. - load
Balancer StringId - 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 Double - Number of pools (for UI)
- project
Id Double - Project ID
- protocol String
- Load balancer listener protocol Available values: "HTTP", "HTTPS", "PROMETHEUS", "TCP", "TERMINATED_HTTPS", "UDP".
- protocol
Port Double - Protocol port
- provisioning
Status String - Listener lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
- region
Id Double - Region ID
- secret
Id String - ID of the secret where PKCS12 file is stored for
TERMINATED_HTTPSor PROMETHEUS listener Available values: "". - sni
Secret List<String>Ids - List of secrets IDs containing PKCS12 format certificate/key bundles for
TERMINATED_HTTPSor PROMETHEUS listeners - stats
Cloud
Load Balancer Listener Stats - Statistics of the load balancer. It is available only in get functions by a flag.
- timeout
Client DoubleData - Frontend client inactivity timeout in milliseconds
- user
Lists List<CloudLoad Balancer Listener User List> - Load balancer listener list of username and encrypted password items
- admin
State booleanUp - 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 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 stringId - Task that created this entity
- default
Pool stringId - 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_HTTPSprotocols. - insert
XForwarded boolean - Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or
TERMINATED_HTTPSprotocols. - load
Balancer stringId - 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_HTTPSor PROMETHEUS listener Available values: "". - sni
Secret string[]Ids - List of secrets IDs containing PKCS12 format certificate/key bundles for
TERMINATED_HTTPSor PROMETHEUS listeners - stats
Cloud
Load Balancer Listener Stats - Statistics of the load balancer. It is available only in get functions by a flag.
- timeout
Client numberData - Frontend client inactivity timeout in milliseconds
- user
Lists CloudLoad Balancer Listener User List[] - Load balancer listener list of username and encrypted password items
- admin_
state_ boolup - 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_ strid - Task that created this entity
- default_
pool_ strid - 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_HTTPSprotocols. - insert_
x_ boolforwarded - Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or
TERMINATED_HTTPSprotocols. - load_
balancer_ strid - 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_HTTPSor PROMETHEUS listener Available values: "". - sni_
secret_ Sequence[str]ids - List of secrets IDs containing PKCS12 format certificate/key bundles for
TERMINATED_HTTPSor PROMETHEUS listeners - stats
Cloud
Load Balancer Listener Stats Args - Statistics of the load balancer. It is available only in get functions by a flag.
- timeout_
client_ floatdata - Frontend client inactivity timeout in milliseconds
- user_
lists Sequence[CloudLoad Balancer Listener User List Args] - Load balancer listener list of username and encrypted password items
- admin
State BooleanUp - 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 StringId - Task that created this entity
- default
Pool StringId - 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_HTTPSprotocols. - insert
XForwarded Boolean - Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests. Only used with HTTP or
TERMINATED_HTTPSprotocols. - load
Balancer StringId - 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_HTTPSor PROMETHEUS listener Available values: "". - sni
Secret List<String>Ids - List of secrets IDs containing PKCS12 format certificate/key bundles for
TERMINATED_HTTPSor PROMETHEUS listeners - stats Property Map
- Statistics of the load balancer. It is available only in get functions by a flag.
- timeout
Client NumberData - Frontend client inactivity timeout in milliseconds
- user
Lists List<Property Map> - Load balancer listener list of username and encrypted password items
Supporting Types
CloudLoadBalancerListenerStats, CloudLoadBalancerListenerStatsArgs
- Active
Connections double - Currently active connections
- Bytes
In double - Total bytes received
- Bytes
Out double - Total bytes sent
- Request
Errors double - Total requests that were unable to be fulfilled
- Total
Connections double - Total connections handled
- Active
Connections float64 - Currently active connections
- Bytes
In float64 - Total bytes received
- Bytes
Out float64 - Total bytes sent
- Request
Errors float64 - Total requests that were unable to be fulfilled
- Total
Connections 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
- active
Connections Double - Currently active connections
- bytes
In Double - Total bytes received
- bytes
Out Double - Total bytes sent
- request
Errors Double - Total requests that were unable to be fulfilled
- total
Connections Double - 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
- 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
- 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
CloudLoadBalancerListenerUserList, CloudLoadBalancerListenerUserListArgs
- Encrypted
Password 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
- encrypted_
password 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
- encrypted
Password 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
- encrypted
Password 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
gcoreTerraform Provider.
published on Monday, Jul 6, 2026 by g-core