published on Tuesday, Mar 24, 2026 by g-core
published on Tuesday, Mar 24, 2026 by g-core
Load balancer pools group backend instances with a load balancing algorithm and health monitoring configuration.
Example Usage
TCP pool with health monitor and session persistence
Creates a TCP pool on port 80 with PING health checks and cookie-based session persistence.
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: "My first tcp listener with pool",
protocol: "TCP",
protocolPort: 80,
});
const tcp80CloudLoadBalancerPool = new gcore.CloudLoadBalancerPool("tcp_80", {
projectId: 1,
regionId: 1,
loadBalancerId: lb.id,
listenerId: tcp80.id,
name: "My first tcp pool",
protocol: "TCP",
lbAlgorithm: "ROUND_ROBIN",
healthmonitor: {
type: "PING",
delay: 10,
maxRetries: 5,
timeout: 5,
},
sessionPersistence: {
type: "APP_COOKIE",
cookieName: "test_new_cookie",
},
});
import pulumi
import pulumi_gcore as gcore
tcp80 = gcore.CloudLoadBalancerListener("tcp_80",
project_id=1,
region_id=1,
load_balancer_id=lb["id"],
name="My first tcp listener with pool",
protocol="TCP",
protocol_port=80)
tcp80_cloud_load_balancer_pool = gcore.CloudLoadBalancerPool("tcp_80",
project_id=1,
region_id=1,
load_balancer_id=lb["id"],
listener_id=tcp80.id,
name="My first tcp pool",
protocol="TCP",
lb_algorithm="ROUND_ROBIN",
healthmonitor={
"type": "PING",
"delay": 10,
"max_retries": 5,
"timeout": 5,
},
session_persistence={
"type": "APP_COOKIE",
"cookie_name": "test_new_cookie",
})
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 {
tcp80, err := gcore.NewCloudLoadBalancerListener(ctx, "tcp_80", &gcore.CloudLoadBalancerListenerArgs{
ProjectId: pulumi.Float64(1),
RegionId: pulumi.Float64(1),
LoadBalancerId: pulumi.Any(lb.Id),
Name: pulumi.String("My first tcp listener with pool"),
Protocol: pulumi.String("TCP"),
ProtocolPort: pulumi.Float64(80),
})
if err != nil {
return err
}
_, err = gcore.NewCloudLoadBalancerPool(ctx, "tcp_80", &gcore.CloudLoadBalancerPoolArgs{
ProjectId: pulumi.Float64(1),
RegionId: pulumi.Float64(1),
LoadBalancerId: pulumi.Any(lb.Id),
ListenerId: tcp80.ID(),
Name: pulumi.String("My first tcp pool"),
Protocol: pulumi.String("TCP"),
LbAlgorithm: pulumi.String("ROUND_ROBIN"),
Healthmonitor: &gcore.CloudLoadBalancerPoolHealthmonitorArgs{
Type: pulumi.String("PING"),
Delay: pulumi.Float64(10),
MaxRetries: pulumi.Float64(5),
Timeout: pulumi.Float64(5),
},
SessionPersistence: &gcore.CloudLoadBalancerPoolSessionPersistenceArgs{
Type: pulumi.String("APP_COOKIE"),
CookieName: pulumi.String("test_new_cookie"),
},
})
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 = "My first tcp listener with pool",
Protocol = "TCP",
ProtocolPort = 80,
});
var tcp80CloudLoadBalancerPool = new Gcore.CloudLoadBalancerPool("tcp_80", new()
{
ProjectId = 1,
RegionId = 1,
LoadBalancerId = lb.Id,
ListenerId = tcp80.Id,
Name = "My first tcp pool",
Protocol = "TCP",
LbAlgorithm = "ROUND_ROBIN",
Healthmonitor = new Gcore.Inputs.CloudLoadBalancerPoolHealthmonitorArgs
{
Type = "PING",
Delay = 10,
MaxRetries = 5,
Timeout = 5,
},
SessionPersistence = new Gcore.Inputs.CloudLoadBalancerPoolSessionPersistenceArgs
{
Type = "APP_COOKIE",
CookieName = "test_new_cookie",
},
});
});
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 com.pulumi.gcore.CloudLoadBalancerPool;
import com.pulumi.gcore.CloudLoadBalancerPoolArgs;
import com.pulumi.gcore.inputs.CloudLoadBalancerPoolHealthmonitorArgs;
import com.pulumi.gcore.inputs.CloudLoadBalancerPoolSessionPersistenceArgs;
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("My first tcp listener with pool")
.protocol("TCP")
.protocolPort(80.0)
.build());
var tcp80CloudLoadBalancerPool = new CloudLoadBalancerPool("tcp80CloudLoadBalancerPool", CloudLoadBalancerPoolArgs.builder()
.projectId(1.0)
.regionId(1.0)
.loadBalancerId(lb.id())
.listenerId(tcp80.id())
.name("My first tcp pool")
.protocol("TCP")
.lbAlgorithm("ROUND_ROBIN")
.healthmonitor(CloudLoadBalancerPoolHealthmonitorArgs.builder()
.type("PING")
.delay(10.0)
.maxRetries(5.0)
.timeout(5.0)
.build())
.sessionPersistence(CloudLoadBalancerPoolSessionPersistenceArgs.builder()
.type("APP_COOKIE")
.cookieName("test_new_cookie")
.build())
.build());
}
}
resources:
tcp80:
type: gcore:CloudLoadBalancerListener
name: tcp_80
properties:
projectId: 1
regionId: 1
loadBalancerId: ${lb.id}
name: My first tcp listener with pool
protocol: TCP
protocolPort: 80
tcp80CloudLoadBalancerPool:
type: gcore:CloudLoadBalancerPool
name: tcp_80
properties:
projectId: 1
regionId: 1
loadBalancerId: ${lb.id}
listenerId: ${tcp80.id}
name: My first tcp pool
protocol: TCP
lbAlgorithm: ROUND_ROBIN
healthmonitor:
type: PING
delay: 10
maxRetries: 5
timeout: 5
sessionPersistence:
type: APP_COOKIE
cookieName: test_new_cookie
Proxy protocol pool
Creates a pool using the PROXY protocol with least-connections algorithm on port 8080.
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const proxy8080 = new gcore.CloudLoadBalancerListener("proxy_8080", {
projectId: 1,
regionId: 1,
loadBalancerId: lb.id,
name: "My first proxy listener with pool",
protocol: "TCP",
protocolPort: 8080,
});
const proxy8080CloudLoadBalancerPool = new gcore.CloudLoadBalancerPool("proxy_8080", {
projectId: 1,
regionId: 1,
loadBalancerId: lb.id,
listenerId: proxy8080.id,
name: "My first proxy pool",
protocol: "PROXY",
lbAlgorithm: "LEAST_CONNECTIONS",
});
import pulumi
import pulumi_gcore as gcore
proxy8080 = gcore.CloudLoadBalancerListener("proxy_8080",
project_id=1,
region_id=1,
load_balancer_id=lb["id"],
name="My first proxy listener with pool",
protocol="TCP",
protocol_port=8080)
proxy8080_cloud_load_balancer_pool = gcore.CloudLoadBalancerPool("proxy_8080",
project_id=1,
region_id=1,
load_balancer_id=lb["id"],
listener_id=proxy8080.id,
name="My first proxy pool",
protocol="PROXY",
lb_algorithm="LEAST_CONNECTIONS")
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 {
proxy8080, err := gcore.NewCloudLoadBalancerListener(ctx, "proxy_8080", &gcore.CloudLoadBalancerListenerArgs{
ProjectId: pulumi.Float64(1),
RegionId: pulumi.Float64(1),
LoadBalancerId: pulumi.Any(lb.Id),
Name: pulumi.String("My first proxy listener with pool"),
Protocol: pulumi.String("TCP"),
ProtocolPort: pulumi.Float64(8080),
})
if err != nil {
return err
}
_, err = gcore.NewCloudLoadBalancerPool(ctx, "proxy_8080", &gcore.CloudLoadBalancerPoolArgs{
ProjectId: pulumi.Float64(1),
RegionId: pulumi.Float64(1),
LoadBalancerId: pulumi.Any(lb.Id),
ListenerId: proxy8080.ID(),
Name: pulumi.String("My first proxy pool"),
Protocol: pulumi.String("PROXY"),
LbAlgorithm: pulumi.String("LEAST_CONNECTIONS"),
})
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 proxy8080 = new Gcore.CloudLoadBalancerListener("proxy_8080", new()
{
ProjectId = 1,
RegionId = 1,
LoadBalancerId = lb.Id,
Name = "My first proxy listener with pool",
Protocol = "TCP",
ProtocolPort = 8080,
});
var proxy8080CloudLoadBalancerPool = new Gcore.CloudLoadBalancerPool("proxy_8080", new()
{
ProjectId = 1,
RegionId = 1,
LoadBalancerId = lb.Id,
ListenerId = proxy8080.Id,
Name = "My first proxy pool",
Protocol = "PROXY",
LbAlgorithm = "LEAST_CONNECTIONS",
});
});
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 com.pulumi.gcore.CloudLoadBalancerPool;
import com.pulumi.gcore.CloudLoadBalancerPoolArgs;
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 proxy8080 = new CloudLoadBalancerListener("proxy8080", CloudLoadBalancerListenerArgs.builder()
.projectId(1.0)
.regionId(1.0)
.loadBalancerId(lb.id())
.name("My first proxy listener with pool")
.protocol("TCP")
.protocolPort(8080.0)
.build());
var proxy8080CloudLoadBalancerPool = new CloudLoadBalancerPool("proxy8080CloudLoadBalancerPool", CloudLoadBalancerPoolArgs.builder()
.projectId(1.0)
.regionId(1.0)
.loadBalancerId(lb.id())
.listenerId(proxy8080.id())
.name("My first proxy pool")
.protocol("PROXY")
.lbAlgorithm("LEAST_CONNECTIONS")
.build());
}
}
resources:
proxy8080:
type: gcore:CloudLoadBalancerListener
name: proxy_8080
properties:
projectId: 1
regionId: 1
loadBalancerId: ${lb.id}
name: My first proxy listener with pool
protocol: TCP
protocolPort: 8080
proxy8080CloudLoadBalancerPool:
type: gcore:CloudLoadBalancerPool
name: proxy_8080
properties:
projectId: 1
regionId: 1
loadBalancerId: ${lb.id}
listenerId: ${proxy8080.id}
name: My first proxy pool
protocol: PROXY
lbAlgorithm: LEAST_CONNECTIONS
Create CloudLoadBalancerPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudLoadBalancerPool(name: string, args: CloudLoadBalancerPoolArgs, opts?: CustomResourceOptions);@overload
def CloudLoadBalancerPool(resource_name: str,
args: CloudLoadBalancerPoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CloudLoadBalancerPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
lb_algorithm: Optional[str] = None,
protocol: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[float] = None,
crl_secret_id: Optional[str] = None,
listener_id: Optional[str] = None,
load_balancer_id: Optional[str] = None,
members: Optional[Sequence[CloudLoadBalancerPoolMemberArgs]] = None,
admin_state_up: Optional[bool] = None,
healthmonitor: Optional[CloudLoadBalancerPoolHealthmonitorArgs] = None,
ca_secret_id: Optional[str] = None,
region_id: Optional[float] = None,
secret_id: Optional[str] = None,
session_persistence: Optional[CloudLoadBalancerPoolSessionPersistenceArgs] = None,
timeout_member_connect: Optional[float] = None,
timeout_member_data: Optional[float] = None)func NewCloudLoadBalancerPool(ctx *Context, name string, args CloudLoadBalancerPoolArgs, opts ...ResourceOption) (*CloudLoadBalancerPool, error)public CloudLoadBalancerPool(string name, CloudLoadBalancerPoolArgs args, CustomResourceOptions? opts = null)
public CloudLoadBalancerPool(String name, CloudLoadBalancerPoolArgs args)
public CloudLoadBalancerPool(String name, CloudLoadBalancerPoolArgs args, CustomResourceOptions options)
type: gcore:CloudLoadBalancerPool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CloudLoadBalancerPoolArgs
- 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 CloudLoadBalancerPoolArgs
- 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 CloudLoadBalancerPoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudLoadBalancerPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudLoadBalancerPoolArgs
- 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 cloudLoadBalancerPoolResource = new Gcore.CloudLoadBalancerPool("cloudLoadBalancerPoolResource", new()
{
LbAlgorithm = "string",
Protocol = "string",
Name = "string",
ProjectId = 0,
CrlSecretId = "string",
ListenerId = "string",
LoadBalancerId = "string",
Members = new[]
{
new Gcore.Inputs.CloudLoadBalancerPoolMemberArgs
{
Address = "string",
ProtocolPort = 0,
AdminStateUp = false,
Backup = false,
InstanceId = "string",
MonitorAddress = "string",
MonitorPort = 0,
SubnetId = "string",
Weight = 0,
},
},
AdminStateUp = false,
Healthmonitor = new Gcore.Inputs.CloudLoadBalancerPoolHealthmonitorArgs
{
Delay = 0,
MaxRetries = 0,
Timeout = 0,
Type = "string",
AdminStateUp = false,
ExpectedCodes = "string",
HttpMethod = "string",
MaxRetriesDown = 0,
UrlPath = "string",
},
CaSecretId = "string",
RegionId = 0,
SecretId = "string",
SessionPersistence = new Gcore.Inputs.CloudLoadBalancerPoolSessionPersistenceArgs
{
Type = "string",
CookieName = "string",
PersistenceGranularity = "string",
PersistenceTimeout = 0,
},
TimeoutMemberConnect = 0,
TimeoutMemberData = 0,
});
example, err := gcore.NewCloudLoadBalancerPool(ctx, "cloudLoadBalancerPoolResource", &gcore.CloudLoadBalancerPoolArgs{
LbAlgorithm: pulumi.String("string"),
Protocol: pulumi.String("string"),
Name: pulumi.String("string"),
ProjectId: pulumi.Float64(0),
CrlSecretId: pulumi.String("string"),
ListenerId: pulumi.String("string"),
LoadBalancerId: pulumi.String("string"),
Members: gcore.CloudLoadBalancerPoolMemberTypeArray{
&gcore.CloudLoadBalancerPoolMemberTypeArgs{
Address: pulumi.String("string"),
ProtocolPort: pulumi.Float64(0),
AdminStateUp: pulumi.Bool(false),
Backup: pulumi.Bool(false),
InstanceId: pulumi.String("string"),
MonitorAddress: pulumi.String("string"),
MonitorPort: pulumi.Float64(0),
SubnetId: pulumi.String("string"),
Weight: pulumi.Float64(0),
},
},
AdminStateUp: pulumi.Bool(false),
Healthmonitor: &gcore.CloudLoadBalancerPoolHealthmonitorArgs{
Delay: pulumi.Float64(0),
MaxRetries: pulumi.Float64(0),
Timeout: pulumi.Float64(0),
Type: pulumi.String("string"),
AdminStateUp: pulumi.Bool(false),
ExpectedCodes: pulumi.String("string"),
HttpMethod: pulumi.String("string"),
MaxRetriesDown: pulumi.Float64(0),
UrlPath: pulumi.String("string"),
},
CaSecretId: pulumi.String("string"),
RegionId: pulumi.Float64(0),
SecretId: pulumi.String("string"),
SessionPersistence: &gcore.CloudLoadBalancerPoolSessionPersistenceArgs{
Type: pulumi.String("string"),
CookieName: pulumi.String("string"),
PersistenceGranularity: pulumi.String("string"),
PersistenceTimeout: pulumi.Float64(0),
},
TimeoutMemberConnect: pulumi.Float64(0),
TimeoutMemberData: pulumi.Float64(0),
})
var cloudLoadBalancerPoolResource = new CloudLoadBalancerPool("cloudLoadBalancerPoolResource", CloudLoadBalancerPoolArgs.builder()
.lbAlgorithm("string")
.protocol("string")
.name("string")
.projectId(0.0)
.crlSecretId("string")
.listenerId("string")
.loadBalancerId("string")
.members(CloudLoadBalancerPoolMemberArgs.builder()
.address("string")
.protocolPort(0.0)
.adminStateUp(false)
.backup(false)
.instanceId("string")
.monitorAddress("string")
.monitorPort(0.0)
.subnetId("string")
.weight(0.0)
.build())
.adminStateUp(false)
.healthmonitor(CloudLoadBalancerPoolHealthmonitorArgs.builder()
.delay(0.0)
.maxRetries(0.0)
.timeout(0.0)
.type("string")
.adminStateUp(false)
.expectedCodes("string")
.httpMethod("string")
.maxRetriesDown(0.0)
.urlPath("string")
.build())
.caSecretId("string")
.regionId(0.0)
.secretId("string")
.sessionPersistence(CloudLoadBalancerPoolSessionPersistenceArgs.builder()
.type("string")
.cookieName("string")
.persistenceGranularity("string")
.persistenceTimeout(0.0)
.build())
.timeoutMemberConnect(0.0)
.timeoutMemberData(0.0)
.build());
cloud_load_balancer_pool_resource = gcore.CloudLoadBalancerPool("cloudLoadBalancerPoolResource",
lb_algorithm="string",
protocol="string",
name="string",
project_id=0,
crl_secret_id="string",
listener_id="string",
load_balancer_id="string",
members=[{
"address": "string",
"protocol_port": 0,
"admin_state_up": False,
"backup": False,
"instance_id": "string",
"monitor_address": "string",
"monitor_port": 0,
"subnet_id": "string",
"weight": 0,
}],
admin_state_up=False,
healthmonitor={
"delay": 0,
"max_retries": 0,
"timeout": 0,
"type": "string",
"admin_state_up": False,
"expected_codes": "string",
"http_method": "string",
"max_retries_down": 0,
"url_path": "string",
},
ca_secret_id="string",
region_id=0,
secret_id="string",
session_persistence={
"type": "string",
"cookie_name": "string",
"persistence_granularity": "string",
"persistence_timeout": 0,
},
timeout_member_connect=0,
timeout_member_data=0)
const cloudLoadBalancerPoolResource = new gcore.CloudLoadBalancerPool("cloudLoadBalancerPoolResource", {
lbAlgorithm: "string",
protocol: "string",
name: "string",
projectId: 0,
crlSecretId: "string",
listenerId: "string",
loadBalancerId: "string",
members: [{
address: "string",
protocolPort: 0,
adminStateUp: false,
backup: false,
instanceId: "string",
monitorAddress: "string",
monitorPort: 0,
subnetId: "string",
weight: 0,
}],
adminStateUp: false,
healthmonitor: {
delay: 0,
maxRetries: 0,
timeout: 0,
type: "string",
adminStateUp: false,
expectedCodes: "string",
httpMethod: "string",
maxRetriesDown: 0,
urlPath: "string",
},
caSecretId: "string",
regionId: 0,
secretId: "string",
sessionPersistence: {
type: "string",
cookieName: "string",
persistenceGranularity: "string",
persistenceTimeout: 0,
},
timeoutMemberConnect: 0,
timeoutMemberData: 0,
});
type: gcore:CloudLoadBalancerPool
properties:
adminStateUp: false
caSecretId: string
crlSecretId: string
healthmonitor:
adminStateUp: false
delay: 0
expectedCodes: string
httpMethod: string
maxRetries: 0
maxRetriesDown: 0
timeout: 0
type: string
urlPath: string
lbAlgorithm: string
listenerId: string
loadBalancerId: string
members:
- address: string
adminStateUp: false
backup: false
instanceId: string
monitorAddress: string
monitorPort: 0
protocolPort: 0
subnetId: string
weight: 0
name: string
projectId: 0
protocol: string
regionId: 0
secretId: string
sessionPersistence:
cookieName: string
persistenceGranularity: string
persistenceTimeout: 0
type: string
timeoutMemberConnect: 0
timeoutMemberData: 0
CloudLoadBalancerPool 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 CloudLoadBalancerPool resource accepts the following input properties:
- Lb
Algorithm string - Load balancer algorithm Available values: "LEASTCONNECTIONS", "ROUNDROBIN", "SOURCE_IP".
- Protocol string
- Protocol Available values: "HTTP", "HTTPS", "PROXY", "PROXYV2", "TCP", "UDP".
- 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.
- Ca
Secret stringId - Secret ID of CA certificate bundle
- Crl
Secret stringId - Secret ID of CA revocation list file
- Healthmonitor
Cloud
Load Balancer Pool Healthmonitor - Health monitor details
- Listener
Id string - Listener ID
- Load
Balancer stringId - Loadbalancer ID
- Members
List<Cloud
Load Balancer Pool Member> - Pool members
- Name string
- Pool name
- Project
Id double - Project ID
- Region
Id double - Region ID
- Secret
Id string - Secret ID for TLS client authentication to the member servers
- Session
Persistence CloudLoad Balancer Pool Session Persistence - Session persistence details
- Timeout
Member doubleConnect - Backend member connection timeout in milliseconds
- Timeout
Member doubleData - Backend member inactivity timeout in milliseconds
- Lb
Algorithm string - Load balancer algorithm Available values: "LEASTCONNECTIONS", "ROUNDROBIN", "SOURCE_IP".
- Protocol string
- Protocol Available values: "HTTP", "HTTPS", "PROXY", "PROXYV2", "TCP", "UDP".
- 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.
- Ca
Secret stringId - Secret ID of CA certificate bundle
- Crl
Secret stringId - Secret ID of CA revocation list file
- Healthmonitor
Cloud
Load Balancer Pool Healthmonitor Args - Health monitor details
- Listener
Id string - Listener ID
- Load
Balancer stringId - Loadbalancer ID
- Members
[]Cloud
Load Balancer Pool Member Type Args - Pool members
- Name string
- Pool name
- Project
Id float64 - Project ID
- Region
Id float64 - Region ID
- Secret
Id string - Secret ID for TLS client authentication to the member servers
- Session
Persistence CloudLoad Balancer Pool Session Persistence Args - Session persistence details
- Timeout
Member float64Connect - Backend member connection timeout in milliseconds
- Timeout
Member float64Data - Backend member inactivity timeout in milliseconds
- lb
Algorithm String - Load balancer algorithm Available values: "LEASTCONNECTIONS", "ROUNDROBIN", "SOURCE_IP".
- protocol String
- Protocol Available values: "HTTP", "HTTPS", "PROXY", "PROXYV2", "TCP", "UDP".
- 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.
- ca
Secret StringId - Secret ID of CA certificate bundle
- crl
Secret StringId - Secret ID of CA revocation list file
- healthmonitor
Cloud
Load Balancer Pool Healthmonitor - Health monitor details
- listener
Id String - Listener ID
- load
Balancer StringId - Loadbalancer ID
- members
List<Cloud
Load Balancer Pool Member> - Pool members
- name String
- Pool name
- project
Id Double - Project ID
- region
Id Double - Region ID
- secret
Id String - Secret ID for TLS client authentication to the member servers
- session
Persistence CloudLoad Balancer Pool Session Persistence - Session persistence details
- timeout
Member DoubleConnect - Backend member connection timeout in milliseconds
- timeout
Member DoubleData - Backend member inactivity timeout in milliseconds
- lb
Algorithm string - Load balancer algorithm Available values: "LEASTCONNECTIONS", "ROUNDROBIN", "SOURCE_IP".
- protocol string
- Protocol Available values: "HTTP", "HTTPS", "PROXY", "PROXYV2", "TCP", "UDP".
- 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.
- ca
Secret stringId - Secret ID of CA certificate bundle
- crl
Secret stringId - Secret ID of CA revocation list file
- healthmonitor
Cloud
Load Balancer Pool Healthmonitor - Health monitor details
- listener
Id string - Listener ID
- load
Balancer stringId - Loadbalancer ID
- members
Cloud
Load Balancer Pool Member[] - Pool members
- name string
- Pool name
- project
Id number - Project ID
- region
Id number - Region ID
- secret
Id string - Secret ID for TLS client authentication to the member servers
- session
Persistence CloudLoad Balancer Pool Session Persistence - Session persistence details
- timeout
Member numberConnect - Backend member connection timeout in milliseconds
- timeout
Member numberData - Backend member inactivity timeout in milliseconds
- lb_
algorithm str - Load balancer algorithm Available values: "LEASTCONNECTIONS", "ROUNDROBIN", "SOURCE_IP".
- protocol str
- Protocol Available values: "HTTP", "HTTPS", "PROXY", "PROXYV2", "TCP", "UDP".
- 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.
- ca_
secret_ strid - Secret ID of CA certificate bundle
- crl_
secret_ strid - Secret ID of CA revocation list file
- healthmonitor
Cloud
Load Balancer Pool Healthmonitor Args - Health monitor details
- listener_
id str - Listener ID
- load_
balancer_ strid - Loadbalancer ID
- members
Sequence[Cloud
Load Balancer Pool Member Args] - Pool members
- name str
- Pool name
- project_
id float - Project ID
- region_
id float - Region ID
- secret_
id str - Secret ID for TLS client authentication to the member servers
- session_
persistence CloudLoad Balancer Pool Session Persistence Args - Session persistence details
- timeout_
member_ floatconnect - Backend member connection timeout in milliseconds
- timeout_
member_ floatdata - Backend member inactivity timeout in milliseconds
- lb
Algorithm String - Load balancer algorithm Available values: "LEASTCONNECTIONS", "ROUNDROBIN", "SOURCE_IP".
- protocol String
- Protocol Available values: "HTTP", "HTTPS", "PROXY", "PROXYV2", "TCP", "UDP".
- 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.
- ca
Secret StringId - Secret ID of CA certificate bundle
- crl
Secret StringId - Secret ID of CA revocation list file
- healthmonitor Property Map
- Health monitor details
- listener
Id String - Listener ID
- load
Balancer StringId - Loadbalancer ID
- members List<Property Map>
- Pool members
- name String
- Pool name
- project
Id Number - Project ID
- region
Id Number - Region ID
- secret
Id String - Secret ID for TLS client authentication to the member servers
- session
Persistence Property Map - Session persistence details
- timeout
Member NumberConnect - Backend member connection timeout in milliseconds
- timeout
Member NumberData - Backend member inactivity timeout in milliseconds
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudLoadBalancerPool 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.
- Listeners
List<Cloud
Load Balancer Pool Listener> - Listeners IDs
- Loadbalancers
List<Cloud
Load Balancer Pool Loadbalancer> - Load balancers IDs
- Operating
Status string - Pool operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
- Provisioning
Status string - Pool lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
- Creator
Task stringId - Task that created this entity
- Id string
- The provider-assigned unique ID for this managed resource.
- Listeners
[]Cloud
Load Balancer Pool Listener - Listeners IDs
- Loadbalancers
[]Cloud
Load Balancer Pool Loadbalancer - Load balancers IDs
- Operating
Status string - Pool operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
- Provisioning
Status string - Pool lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
- creator
Task StringId - Task that created this entity
- id String
- The provider-assigned unique ID for this managed resource.
- listeners
List<Cloud
Load Balancer Pool Listener> - Listeners IDs
- loadbalancers
List<Cloud
Load Balancer Pool Loadbalancer> - Load balancers IDs
- operating
Status String - Pool operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
- provisioning
Status String - Pool lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
- creator
Task stringId - Task that created this entity
- id string
- The provider-assigned unique ID for this managed resource.
- listeners
Cloud
Load Balancer Pool Listener[] - Listeners IDs
- loadbalancers
Cloud
Load Balancer Pool Loadbalancer[] - Load balancers IDs
- operating
Status string - Pool operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
- provisioning
Status string - Pool lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
- creator_
task_ strid - Task that created this entity
- id str
- The provider-assigned unique ID for this managed resource.
- listeners
Sequence[Cloud
Load Balancer Pool Listener] - Listeners IDs
- loadbalancers
Sequence[Cloud
Load Balancer Pool Loadbalancer] - Load balancers IDs
- operating_
status str - Pool operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
- provisioning_
status str - Pool lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
- creator
Task StringId - Task that created this entity
- id String
- The provider-assigned unique ID for this managed resource.
- listeners List<Property Map>
- Listeners IDs
- loadbalancers List<Property Map>
- Load balancers IDs
- operating
Status String - Pool operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
- provisioning
Status String - Pool lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
Look up Existing CloudLoadBalancerPool Resource
Get an existing CloudLoadBalancerPool 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?: CloudLoadBalancerPoolState, opts?: CustomResourceOptions): CloudLoadBalancerPool@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_state_up: Optional[bool] = None,
ca_secret_id: Optional[str] = None,
creator_task_id: Optional[str] = None,
crl_secret_id: Optional[str] = None,
healthmonitor: Optional[CloudLoadBalancerPoolHealthmonitorArgs] = None,
lb_algorithm: Optional[str] = None,
listener_id: Optional[str] = None,
listeners: Optional[Sequence[CloudLoadBalancerPoolListenerArgs]] = None,
load_balancer_id: Optional[str] = None,
loadbalancers: Optional[Sequence[CloudLoadBalancerPoolLoadbalancerArgs]] = None,
members: Optional[Sequence[CloudLoadBalancerPoolMemberArgs]] = None,
name: Optional[str] = None,
operating_status: Optional[str] = None,
project_id: Optional[float] = None,
protocol: Optional[str] = None,
provisioning_status: Optional[str] = None,
region_id: Optional[float] = None,
secret_id: Optional[str] = None,
session_persistence: Optional[CloudLoadBalancerPoolSessionPersistenceArgs] = None,
timeout_member_connect: Optional[float] = None,
timeout_member_data: Optional[float] = None) -> CloudLoadBalancerPoolfunc GetCloudLoadBalancerPool(ctx *Context, name string, id IDInput, state *CloudLoadBalancerPoolState, opts ...ResourceOption) (*CloudLoadBalancerPool, error)public static CloudLoadBalancerPool Get(string name, Input<string> id, CloudLoadBalancerPoolState? state, CustomResourceOptions? opts = null)public static CloudLoadBalancerPool get(String name, Output<String> id, CloudLoadBalancerPoolState state, CustomResourceOptions options)resources: _: type: gcore:CloudLoadBalancerPool get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- 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.
- Ca
Secret stringId - Secret ID of CA certificate bundle
- Creator
Task stringId - Task that created this entity
- Crl
Secret stringId - Secret ID of CA revocation list file
- Healthmonitor
Cloud
Load Balancer Pool Healthmonitor - Health monitor details
- Lb
Algorithm string - Load balancer algorithm Available values: "LEASTCONNECTIONS", "ROUNDROBIN", "SOURCE_IP".
- Listener
Id string - Listener ID
- Listeners
List<Cloud
Load Balancer Pool Listener> - Listeners IDs
- Load
Balancer stringId - Loadbalancer ID
- Loadbalancers
List<Cloud
Load Balancer Pool Loadbalancer> - Load balancers IDs
- Members
List<Cloud
Load Balancer Pool Member> - Pool members
- Name string
- Pool name
- Operating
Status string - Pool operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
- Project
Id double - Project ID
- Protocol string
- Protocol Available values: "HTTP", "HTTPS", "PROXY", "PROXYV2", "TCP", "UDP".
- Provisioning
Status string - Pool lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
- Region
Id double - Region ID
- Secret
Id string - Secret ID for TLS client authentication to the member servers
- Session
Persistence CloudLoad Balancer Pool Session Persistence - Session persistence details
- Timeout
Member doubleConnect - Backend member connection timeout in milliseconds
- Timeout
Member doubleData - Backend member inactivity timeout in milliseconds
- 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.
- Ca
Secret stringId - Secret ID of CA certificate bundle
- Creator
Task stringId - Task that created this entity
- Crl
Secret stringId - Secret ID of CA revocation list file
- Healthmonitor
Cloud
Load Balancer Pool Healthmonitor Args - Health monitor details
- Lb
Algorithm string - Load balancer algorithm Available values: "LEASTCONNECTIONS", "ROUNDROBIN", "SOURCE_IP".
- Listener
Id string - Listener ID
- Listeners
[]Cloud
Load Balancer Pool Listener Args - Listeners IDs
- Load
Balancer stringId - Loadbalancer ID
- Loadbalancers
[]Cloud
Load Balancer Pool Loadbalancer Args - Load balancers IDs
- Members
[]Cloud
Load Balancer Pool Member Type Args - Pool members
- Name string
- Pool name
- Operating
Status string - Pool operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
- Project
Id float64 - Project ID
- Protocol string
- Protocol Available values: "HTTP", "HTTPS", "PROXY", "PROXYV2", "TCP", "UDP".
- Provisioning
Status string - Pool lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
- Region
Id float64 - Region ID
- Secret
Id string - Secret ID for TLS client authentication to the member servers
- Session
Persistence CloudLoad Balancer Pool Session Persistence Args - Session persistence details
- Timeout
Member float64Connect - Backend member connection timeout in milliseconds
- Timeout
Member float64Data - Backend member inactivity timeout in milliseconds
- 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.
- ca
Secret StringId - Secret ID of CA certificate bundle
- creator
Task StringId - Task that created this entity
- crl
Secret StringId - Secret ID of CA revocation list file
- healthmonitor
Cloud
Load Balancer Pool Healthmonitor - Health monitor details
- lb
Algorithm String - Load balancer algorithm Available values: "LEASTCONNECTIONS", "ROUNDROBIN", "SOURCE_IP".
- listener
Id String - Listener ID
- listeners
List<Cloud
Load Balancer Pool Listener> - Listeners IDs
- load
Balancer StringId - Loadbalancer ID
- loadbalancers
List<Cloud
Load Balancer Pool Loadbalancer> - Load balancers IDs
- members
List<Cloud
Load Balancer Pool Member> - Pool members
- name String
- Pool name
- operating
Status String - Pool operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
- project
Id Double - Project ID
- protocol String
- Protocol Available values: "HTTP", "HTTPS", "PROXY", "PROXYV2", "TCP", "UDP".
- provisioning
Status String - Pool lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
- region
Id Double - Region ID
- secret
Id String - Secret ID for TLS client authentication to the member servers
- session
Persistence CloudLoad Balancer Pool Session Persistence - Session persistence details
- timeout
Member DoubleConnect - Backend member connection timeout in milliseconds
- timeout
Member DoubleData - Backend member inactivity timeout in milliseconds
- 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.
- ca
Secret stringId - Secret ID of CA certificate bundle
- creator
Task stringId - Task that created this entity
- crl
Secret stringId - Secret ID of CA revocation list file
- healthmonitor
Cloud
Load Balancer Pool Healthmonitor - Health monitor details
- lb
Algorithm string - Load balancer algorithm Available values: "LEASTCONNECTIONS", "ROUNDROBIN", "SOURCE_IP".
- listener
Id string - Listener ID
- listeners
Cloud
Load Balancer Pool Listener[] - Listeners IDs
- load
Balancer stringId - Loadbalancer ID
- loadbalancers
Cloud
Load Balancer Pool Loadbalancer[] - Load balancers IDs
- members
Cloud
Load Balancer Pool Member[] - Pool members
- name string
- Pool name
- operating
Status string - Pool operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
- project
Id number - Project ID
- protocol string
- Protocol Available values: "HTTP", "HTTPS", "PROXY", "PROXYV2", "TCP", "UDP".
- provisioning
Status string - Pool lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
- region
Id number - Region ID
- secret
Id string - Secret ID for TLS client authentication to the member servers
- session
Persistence CloudLoad Balancer Pool Session Persistence - Session persistence details
- timeout
Member numberConnect - Backend member connection timeout in milliseconds
- timeout
Member numberData - Backend member inactivity timeout in milliseconds
- 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.
- ca_
secret_ strid - Secret ID of CA certificate bundle
- creator_
task_ strid - Task that created this entity
- crl_
secret_ strid - Secret ID of CA revocation list file
- healthmonitor
Cloud
Load Balancer Pool Healthmonitor Args - Health monitor details
- lb_
algorithm str - Load balancer algorithm Available values: "LEASTCONNECTIONS", "ROUNDROBIN", "SOURCE_IP".
- listener_
id str - Listener ID
- listeners
Sequence[Cloud
Load Balancer Pool Listener Args] - Listeners IDs
- load_
balancer_ strid - Loadbalancer ID
- loadbalancers
Sequence[Cloud
Load Balancer Pool Loadbalancer Args] - Load balancers IDs
- members
Sequence[Cloud
Load Balancer Pool Member Args] - Pool members
- name str
- Pool name
- operating_
status str - Pool operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
- project_
id float - Project ID
- protocol str
- Protocol Available values: "HTTP", "HTTPS", "PROXY", "PROXYV2", "TCP", "UDP".
- provisioning_
status str - Pool lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
- region_
id float - Region ID
- secret_
id str - Secret ID for TLS client authentication to the member servers
- session_
persistence CloudLoad Balancer Pool Session Persistence Args - Session persistence details
- timeout_
member_ floatconnect - Backend member connection timeout in milliseconds
- timeout_
member_ floatdata - Backend member inactivity timeout in milliseconds
- 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.
- ca
Secret StringId - Secret ID of CA certificate bundle
- creator
Task StringId - Task that created this entity
- crl
Secret StringId - Secret ID of CA revocation list file
- healthmonitor Property Map
- Health monitor details
- lb
Algorithm String - Load balancer algorithm Available values: "LEASTCONNECTIONS", "ROUNDROBIN", "SOURCE_IP".
- listener
Id String - Listener ID
- listeners List<Property Map>
- Listeners IDs
- load
Balancer StringId - Loadbalancer ID
- loadbalancers List<Property Map>
- Load balancers IDs
- members List<Property Map>
- Pool members
- name String
- Pool name
- operating
Status String - Pool operating status Available values: "DEGRADED", "DRAINING", "ERROR", "NO_MONITOR", "OFFLINE", "ONLINE".
- project
Id Number - Project ID
- protocol String
- Protocol Available values: "HTTP", "HTTPS", "PROXY", "PROXYV2", "TCP", "UDP".
- provisioning
Status String - Pool lifecycle status Available values: "ACTIVE", "DELETED", "ERROR", "PENDINGCREATE", "PENDINGDELETE", "PENDING_UPDATE".
- region
Id Number - Region ID
- secret
Id String - Secret ID for TLS client authentication to the member servers
- session
Persistence Property Map - Session persistence details
- timeout
Member NumberConnect - Backend member connection timeout in milliseconds
- timeout
Member NumberData - Backend member inactivity timeout in milliseconds
Supporting Types
CloudLoadBalancerPoolHealthmonitor, CloudLoadBalancerPoolHealthmonitorArgs
- Delay double
- The time, in seconds, between sending probes to members
- Max
Retries double - Number of successes before the member is switched to ONLINE state
- Timeout double
- The maximum time to connect. Must be less than the delay value
- Type string
- Health monitor type. Once health monitor is created, cannot be changed. Available values: "HTTP", "HTTPS", "K8S", "PING", "TCP", "TLS-HELLO", "UDP-CONNECT".
- 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.
- Expected
Codes string - Expected HTTP response codes. Can be a single code or a range of codes. Can only be used together with
HTTPorHTTPShealth monitor type. For example, 200,202,300-302,401,403,404,500-504. If not specified, the default is 200. - Http
Method string - HTTP method. Can only be used together with
HTTPorHTTPShealth monitor type. Available values: "CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE". - Max
Retries doubleDown - Number of failures before the member is switched to ERROR state.
- Url
Path string - URL Path. Defaults to '/'. Can only be used together with
HTTPorHTTPShealth monitor type.
- Delay float64
- The time, in seconds, between sending probes to members
- Max
Retries float64 - Number of successes before the member is switched to ONLINE state
- Timeout float64
- The maximum time to connect. Must be less than the delay value
- Type string
- Health monitor type. Once health monitor is created, cannot be changed. Available values: "HTTP", "HTTPS", "K8S", "PING", "TCP", "TLS-HELLO", "UDP-CONNECT".
- 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.
- Expected
Codes string - Expected HTTP response codes. Can be a single code or a range of codes. Can only be used together with
HTTPorHTTPShealth monitor type. For example, 200,202,300-302,401,403,404,500-504. If not specified, the default is 200. - Http
Method string - HTTP method. Can only be used together with
HTTPorHTTPShealth monitor type. Available values: "CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE". - Max
Retries float64Down - Number of failures before the member is switched to ERROR state.
- Url
Path string - URL Path. Defaults to '/'. Can only be used together with
HTTPorHTTPShealth monitor type.
- delay Double
- The time, in seconds, between sending probes to members
- max
Retries Double - Number of successes before the member is switched to ONLINE state
- timeout Double
- The maximum time to connect. Must be less than the delay value
- type String
- Health monitor type. Once health monitor is created, cannot be changed. Available values: "HTTP", "HTTPS", "K8S", "PING", "TCP", "TLS-HELLO", "UDP-CONNECT".
- 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.
- expected
Codes String - Expected HTTP response codes. Can be a single code or a range of codes. Can only be used together with
HTTPorHTTPShealth monitor type. For example, 200,202,300-302,401,403,404,500-504. If not specified, the default is 200. - http
Method String - HTTP method. Can only be used together with
HTTPorHTTPShealth monitor type. Available values: "CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE". - max
Retries DoubleDown - Number of failures before the member is switched to ERROR state.
- url
Path String - URL Path. Defaults to '/'. Can only be used together with
HTTPorHTTPShealth monitor type.
- delay number
- The time, in seconds, between sending probes to members
- max
Retries number - Number of successes before the member is switched to ONLINE state
- timeout number
- The maximum time to connect. Must be less than the delay value
- type string
- Health monitor type. Once health monitor is created, cannot be changed. Available values: "HTTP", "HTTPS", "K8S", "PING", "TCP", "TLS-HELLO", "UDP-CONNECT".
- 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.
- expected
Codes string - Expected HTTP response codes. Can be a single code or a range of codes. Can only be used together with
HTTPorHTTPShealth monitor type. For example, 200,202,300-302,401,403,404,500-504. If not specified, the default is 200. - http
Method string - HTTP method. Can only be used together with
HTTPorHTTPShealth monitor type. Available values: "CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE". - max
Retries numberDown - Number of failures before the member is switched to ERROR state.
- url
Path string - URL Path. Defaults to '/'. Can only be used together with
HTTPorHTTPShealth monitor type.
- delay float
- The time, in seconds, between sending probes to members
- max_
retries float - Number of successes before the member is switched to ONLINE state
- timeout float
- The maximum time to connect. Must be less than the delay value
- type str
- Health monitor type. Once health monitor is created, cannot be changed. Available values: "HTTP", "HTTPS", "K8S", "PING", "TCP", "TLS-HELLO", "UDP-CONNECT".
- 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.
- expected_
codes str - Expected HTTP response codes. Can be a single code or a range of codes. Can only be used together with
HTTPorHTTPShealth monitor type. For example, 200,202,300-302,401,403,404,500-504. If not specified, the default is 200. - http_
method str - HTTP method. Can only be used together with
HTTPorHTTPShealth monitor type. Available values: "CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE". - max_
retries_ floatdown - Number of failures before the member is switched to ERROR state.
- url_
path str - URL Path. Defaults to '/'. Can only be used together with
HTTPorHTTPShealth monitor type.
- delay Number
- The time, in seconds, between sending probes to members
- max
Retries Number - Number of successes before the member is switched to ONLINE state
- timeout Number
- The maximum time to connect. Must be less than the delay value
- type String
- Health monitor type. Once health monitor is created, cannot be changed. Available values: "HTTP", "HTTPS", "K8S", "PING", "TCP", "TLS-HELLO", "UDP-CONNECT".
- 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.
- expected
Codes String - Expected HTTP response codes. Can be a single code or a range of codes. Can only be used together with
HTTPorHTTPShealth monitor type. For example, 200,202,300-302,401,403,404,500-504. If not specified, the default is 200. - http
Method String - HTTP method. Can only be used together with
HTTPorHTTPShealth monitor type. Available values: "CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE". - max
Retries NumberDown - Number of failures before the member is switched to ERROR state.
- url
Path String - URL Path. Defaults to '/'. Can only be used together with
HTTPorHTTPShealth monitor type.
CloudLoadBalancerPoolListener, CloudLoadBalancerPoolListenerArgs
- Id string
- Resource ID
- Id string
- Resource ID
- id String
- Resource ID
- id string
- Resource ID
- id str
- Resource ID
- id String
- Resource ID
CloudLoadBalancerPoolLoadbalancer, CloudLoadBalancerPoolLoadbalancerArgs
- Id string
- Resource ID
- Id string
- Resource ID
- id String
- Resource ID
- id string
- Resource ID
- id str
- Resource ID
- id String
- Resource ID
CloudLoadBalancerPoolMember, CloudLoadBalancerPoolMemberArgs
- Address string
- Member IP address
- Protocol
Port double - Member IP 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.
- Backup bool
- Set to true if the member is a backup member, to which traffic will be sent exclusively when all non-backup members will be unreachable. It allows to realize ACTIVE-BACKUP load balancing without thinking about VRRP and VIP configuration. Default is false.
- Instance
Id string - Either
subnet_idorinstance_idshould be provided - Monitor
Address string - An alternate IP address used for health monitoring of a backend member. Default is null which monitors the member address.
- Monitor
Port double - An alternate protocol port used for health monitoring of a backend member. Default is null which monitors the member
protocol_port. - Subnet
Id string subnet_idin whichaddressis present. Eithersubnet_idorinstance_idshould be provided- Weight double
- Member weight. Valid values are 0 <
weight<= 256, defaults to 1. Controls traffic distribution based on the pool's load balancing algorithm:
- Address string
- Member IP address
- Protocol
Port float64 - Member IP 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.
- Backup bool
- Set to true if the member is a backup member, to which traffic will be sent exclusively when all non-backup members will be unreachable. It allows to realize ACTIVE-BACKUP load balancing without thinking about VRRP and VIP configuration. Default is false.
- Instance
Id string - Either
subnet_idorinstance_idshould be provided - Monitor
Address string - An alternate IP address used for health monitoring of a backend member. Default is null which monitors the member address.
- Monitor
Port float64 - An alternate protocol port used for health monitoring of a backend member. Default is null which monitors the member
protocol_port. - Subnet
Id string subnet_idin whichaddressis present. Eithersubnet_idorinstance_idshould be provided- Weight float64
- Member weight. Valid values are 0 <
weight<= 256, defaults to 1. Controls traffic distribution based on the pool's load balancing algorithm:
- address String
- Member IP address
- protocol
Port Double - Member IP 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.
- backup Boolean
- Set to true if the member is a backup member, to which traffic will be sent exclusively when all non-backup members will be unreachable. It allows to realize ACTIVE-BACKUP load balancing without thinking about VRRP and VIP configuration. Default is false.
- instance
Id String - Either
subnet_idorinstance_idshould be provided - monitor
Address String - An alternate IP address used for health monitoring of a backend member. Default is null which monitors the member address.
- monitor
Port Double - An alternate protocol port used for health monitoring of a backend member. Default is null which monitors the member
protocol_port. - subnet
Id String subnet_idin whichaddressis present. Eithersubnet_idorinstance_idshould be provided- weight Double
- Member weight. Valid values are 0 <
weight<= 256, defaults to 1. Controls traffic distribution based on the pool's load balancing algorithm:
- address string
- Member IP address
- protocol
Port number - Member IP 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.
- backup boolean
- Set to true if the member is a backup member, to which traffic will be sent exclusively when all non-backup members will be unreachable. It allows to realize ACTIVE-BACKUP load balancing without thinking about VRRP and VIP configuration. Default is false.
- instance
Id string - Either
subnet_idorinstance_idshould be provided - monitor
Address string - An alternate IP address used for health monitoring of a backend member. Default is null which monitors the member address.
- monitor
Port number - An alternate protocol port used for health monitoring of a backend member. Default is null which monitors the member
protocol_port. - subnet
Id string subnet_idin whichaddressis present. Eithersubnet_idorinstance_idshould be provided- weight number
- Member weight. Valid values are 0 <
weight<= 256, defaults to 1. Controls traffic distribution based on the pool's load balancing algorithm:
- address str
- Member IP address
- protocol_
port float - Member IP 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.
- backup bool
- Set to true if the member is a backup member, to which traffic will be sent exclusively when all non-backup members will be unreachable. It allows to realize ACTIVE-BACKUP load balancing without thinking about VRRP and VIP configuration. Default is false.
- instance_
id str - Either
subnet_idorinstance_idshould be provided - monitor_
address str - An alternate IP address used for health monitoring of a backend member. Default is null which monitors the member address.
- monitor_
port float - An alternate protocol port used for health monitoring of a backend member. Default is null which monitors the member
protocol_port. - subnet_
id str subnet_idin whichaddressis present. Eithersubnet_idorinstance_idshould be provided- weight float
- Member weight. Valid values are 0 <
weight<= 256, defaults to 1. Controls traffic distribution based on the pool's load balancing algorithm:
- address String
- Member IP address
- protocol
Port Number - Member IP 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.
- backup Boolean
- Set to true if the member is a backup member, to which traffic will be sent exclusively when all non-backup members will be unreachable. It allows to realize ACTIVE-BACKUP load balancing without thinking about VRRP and VIP configuration. Default is false.
- instance
Id String - Either
subnet_idorinstance_idshould be provided - monitor
Address String - An alternate IP address used for health monitoring of a backend member. Default is null which monitors the member address.
- monitor
Port Number - An alternate protocol port used for health monitoring of a backend member. Default is null which monitors the member
protocol_port. - subnet
Id String subnet_idin whichaddressis present. Eithersubnet_idorinstance_idshould be provided- weight Number
- Member weight. Valid values are 0 <
weight<= 256, defaults to 1. Controls traffic distribution based on the pool's load balancing algorithm:
CloudLoadBalancerPoolSessionPersistence, CloudLoadBalancerPoolSessionPersistenceArgs
- Type string
- Session persistence type Available values: "APPCOOKIE", "HTTPCOOKIE", "SOURCE_IP".
- string
- Should be set if app cookie or http cookie is used
- Persistence
Granularity string - Subnet mask if
source_ipis used. For UDP ports only - Persistence
Timeout double - Session persistence timeout. For UDP ports only
- Type string
- Session persistence type Available values: "APPCOOKIE", "HTTPCOOKIE", "SOURCE_IP".
- string
- Should be set if app cookie or http cookie is used
- Persistence
Granularity string - Subnet mask if
source_ipis used. For UDP ports only - Persistence
Timeout float64 - Session persistence timeout. For UDP ports only
- type String
- Session persistence type Available values: "APPCOOKIE", "HTTPCOOKIE", "SOURCE_IP".
- String
- Should be set if app cookie or http cookie is used
- persistence
Granularity String - Subnet mask if
source_ipis used. For UDP ports only - persistence
Timeout Double - Session persistence timeout. For UDP ports only
- type string
- Session persistence type Available values: "APPCOOKIE", "HTTPCOOKIE", "SOURCE_IP".
- string
- Should be set if app cookie or http cookie is used
- persistence
Granularity string - Subnet mask if
source_ipis used. For UDP ports only - persistence
Timeout number - Session persistence timeout. For UDP ports only
- type str
- Session persistence type Available values: "APPCOOKIE", "HTTPCOOKIE", "SOURCE_IP".
- str
- Should be set if app cookie or http cookie is used
- persistence_
granularity str - Subnet mask if
source_ipis used. For UDP ports only - persistence_
timeout float - Session persistence timeout. For UDP ports only
- type String
- Session persistence type Available values: "APPCOOKIE", "HTTPCOOKIE", "SOURCE_IP".
- String
- Should be set if app cookie or http cookie is used
- persistence
Granularity String - Subnet mask if
source_ipis used. For UDP ports only - persistence
Timeout Number - Session persistence timeout. For UDP ports only
Import
$ pulumi import gcore:index/cloudLoadBalancerPool:CloudLoadBalancerPool example '<project_id>/<region_id>/<pool_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 Tuesday, Mar 24, 2026 by g-core
