ibm.IsLbPool
Explore with Pulumi AI
Example Usage
Basic load balancer pool with HTTP protocol
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = new ibm.IsLbPool("example", {
lb: ibm_is_lb.example.id,
algorithm: "round_robin",
protocol: "http",
healthDelay: 60,
healthRetries: 5,
healthTimeout: 30,
healthType: "http",
proxyProtocol: "v1",
});
import pulumi
import pulumi_ibm as ibm
example = ibm.IsLbPool("example",
lb=ibm_is_lb["example"]["id"],
algorithm="round_robin",
protocol="http",
health_delay=60,
health_retries=5,
health_timeout=30,
health_type="http",
proxy_protocol="v1")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewIsLbPool(ctx, "example", &ibm.IsLbPoolArgs{
Lb: pulumi.Any(ibm_is_lb.Example.Id),
Algorithm: pulumi.String("round_robin"),
Protocol: pulumi.String("http"),
HealthDelay: pulumi.Float64(60),
HealthRetries: pulumi.Float64(5),
HealthTimeout: pulumi.Float64(30),
HealthType: pulumi.String("http"),
ProxyProtocol: pulumi.String("v1"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var example = new Ibm.IsLbPool("example", new()
{
Lb = ibm_is_lb.Example.Id,
Algorithm = "round_robin",
Protocol = "http",
HealthDelay = 60,
HealthRetries = 5,
HealthTimeout = 30,
HealthType = "http",
ProxyProtocol = "v1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsLbPool;
import com.pulumi.ibm.IsLbPoolArgs;
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 example = new IsLbPool("example", IsLbPoolArgs.builder()
.lb(ibm_is_lb.example().id())
.algorithm("round_robin")
.protocol("http")
.healthDelay(60)
.healthRetries(5)
.healthTimeout(30)
.healthType("http")
.proxyProtocol("v1")
.build());
}
}
resources:
example:
type: ibm:IsLbPool
properties:
lb: ${ibm_is_lb.example.id}
algorithm: round_robin
protocol: http
healthDelay: 60
healthRetries: 5
healthTimeout: 30
healthType: http
proxyProtocol: v1
Load balancer pool with HTTPS protocol and enhanced security
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = new ibm.IsLbPool("example", {
lb: ibm_is_lb.example.id,
algorithm: "round_robin",
protocol: "https",
healthDelay: 60,
healthRetries: 5,
healthTimeout: 30,
healthType: "https",
healthMonitorUrl: "/health",
healthMonitorPort: 8080,
proxyProtocol: "v1",
});
import pulumi
import pulumi_ibm as ibm
example = ibm.IsLbPool("example",
lb=ibm_is_lb["example"]["id"],
algorithm="round_robin",
protocol="https",
health_delay=60,
health_retries=5,
health_timeout=30,
health_type="https",
health_monitor_url="/health",
health_monitor_port=8080,
proxy_protocol="v1")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewIsLbPool(ctx, "example", &ibm.IsLbPoolArgs{
Lb: pulumi.Any(ibm_is_lb.Example.Id),
Algorithm: pulumi.String("round_robin"),
Protocol: pulumi.String("https"),
HealthDelay: pulumi.Float64(60),
HealthRetries: pulumi.Float64(5),
HealthTimeout: pulumi.Float64(30),
HealthType: pulumi.String("https"),
HealthMonitorUrl: pulumi.String("/health"),
HealthMonitorPort: pulumi.Float64(8080),
ProxyProtocol: pulumi.String("v1"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var example = new Ibm.IsLbPool("example", new()
{
Lb = ibm_is_lb.Example.Id,
Algorithm = "round_robin",
Protocol = "https",
HealthDelay = 60,
HealthRetries = 5,
HealthTimeout = 30,
HealthType = "https",
HealthMonitorUrl = "/health",
HealthMonitorPort = 8080,
ProxyProtocol = "v1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsLbPool;
import com.pulumi.ibm.IsLbPoolArgs;
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 example = new IsLbPool("example", IsLbPoolArgs.builder()
.lb(ibm_is_lb.example().id())
.algorithm("round_robin")
.protocol("https")
.healthDelay(60)
.healthRetries(5)
.healthTimeout(30)
.healthType("https")
.healthMonitorUrl("/health")
.healthMonitorPort(8080)
.proxyProtocol("v1")
.build());
}
}
resources:
example:
type: ibm:IsLbPool
properties:
lb: ${ibm_is_lb.example.id}
algorithm: round_robin
protocol: https
healthDelay: 60
healthRetries: 5
healthTimeout: 30
healthType: https
healthMonitorUrl: /health
healthMonitorPort: 8080
proxyProtocol: v1
Load balancer pool with app_cookie session persistence
This example demonstrates session persistence using application cookies, ideal for applications that manage their own session tokens:
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = new ibm.IsLbPool("example", {
lb: ibm_is_lb.example.id,
algorithm: "round_robin",
protocol: "https",
healthDelay: 60,
healthRetries: 5,
healthTimeout: 30,
healthType: "https",
proxyProtocol: "v1",
sessionPersistenceType: "app_cookie",
sessionPersistenceAppCookieName: "cookie1",
});
import pulumi
import pulumi_ibm as ibm
example = ibm.IsLbPool("example",
lb=ibm_is_lb["example"]["id"],
algorithm="round_robin",
protocol="https",
health_delay=60,
health_retries=5,
health_timeout=30,
health_type="https",
proxy_protocol="v1",
session_persistence_type="app_cookie",
session_persistence_app_cookie_name="cookie1")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewIsLbPool(ctx, "example", &ibm.IsLbPoolArgs{
Lb: pulumi.Any(ibm_is_lb.Example.Id),
Algorithm: pulumi.String("round_robin"),
Protocol: pulumi.String("https"),
HealthDelay: pulumi.Float64(60),
HealthRetries: pulumi.Float64(5),
HealthTimeout: pulumi.Float64(30),
HealthType: pulumi.String("https"),
ProxyProtocol: pulumi.String("v1"),
SessionPersistenceType: pulumi.String("app_cookie"),
SessionPersistenceAppCookieName: pulumi.String("cookie1"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var example = new Ibm.IsLbPool("example", new()
{
Lb = ibm_is_lb.Example.Id,
Algorithm = "round_robin",
Protocol = "https",
HealthDelay = 60,
HealthRetries = 5,
HealthTimeout = 30,
HealthType = "https",
ProxyProtocol = "v1",
SessionPersistenceType = "app_cookie",
SessionPersistenceAppCookieName = "cookie1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsLbPool;
import com.pulumi.ibm.IsLbPoolArgs;
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 example = new IsLbPool("example", IsLbPoolArgs.builder()
.lb(ibm_is_lb.example().id())
.algorithm("round_robin")
.protocol("https")
.healthDelay(60)
.healthRetries(5)
.healthTimeout(30)
.healthType("https")
.proxyProtocol("v1")
.sessionPersistenceType("app_cookie")
.sessionPersistenceAppCookieName("cookie1")
.build());
}
}
resources:
example:
type: ibm:IsLbPool
properties:
lb: ${ibm_is_lb.example.id}
algorithm: round_robin
protocol: https
healthDelay: 60
healthRetries: 5
healthTimeout: 30
healthType: https
proxyProtocol: v1
sessionPersistenceType: app_cookie
sessionPersistenceAppCookieName: cookie1
Load balancer pool with http_cookie session persistence
This configuration uses HTTP cookies managed by the load balancer for session stickiness:
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = new ibm.IsLbPool("example", {
lb: ibm_is_lb.example.id,
algorithm: "round_robin",
protocol: "https",
healthDelay: 60,
healthRetries: 5,
healthTimeout: 30,
healthType: "https",
proxyProtocol: "v1",
sessionPersistenceType: "http_cookie",
});
import pulumi
import pulumi_ibm as ibm
example = ibm.IsLbPool("example",
lb=ibm_is_lb["example"]["id"],
algorithm="round_robin",
protocol="https",
health_delay=60,
health_retries=5,
health_timeout=30,
health_type="https",
proxy_protocol="v1",
session_persistence_type="http_cookie")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewIsLbPool(ctx, "example", &ibm.IsLbPoolArgs{
Lb: pulumi.Any(ibm_is_lb.Example.Id),
Algorithm: pulumi.String("round_robin"),
Protocol: pulumi.String("https"),
HealthDelay: pulumi.Float64(60),
HealthRetries: pulumi.Float64(5),
HealthTimeout: pulumi.Float64(30),
HealthType: pulumi.String("https"),
ProxyProtocol: pulumi.String("v1"),
SessionPersistenceType: pulumi.String("http_cookie"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var example = new Ibm.IsLbPool("example", new()
{
Lb = ibm_is_lb.Example.Id,
Algorithm = "round_robin",
Protocol = "https",
HealthDelay = 60,
HealthRetries = 5,
HealthTimeout = 30,
HealthType = "https",
ProxyProtocol = "v1",
SessionPersistenceType = "http_cookie",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsLbPool;
import com.pulumi.ibm.IsLbPoolArgs;
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 example = new IsLbPool("example", IsLbPoolArgs.builder()
.lb(ibm_is_lb.example().id())
.algorithm("round_robin")
.protocol("https")
.healthDelay(60)
.healthRetries(5)
.healthTimeout(30)
.healthType("https")
.proxyProtocol("v1")
.sessionPersistenceType("http_cookie")
.build());
}
}
resources:
example:
type: ibm:IsLbPool
properties:
lb: ${ibm_is_lb.example.id}
algorithm: round_robin
protocol: https
healthDelay: 60
healthRetries: 5
healthTimeout: 30
healthType: https
proxyProtocol: v1
sessionPersistenceType: http_cookie
Load balancer pool with source_ip session persistence
Source IP-based session persistence ensures requests from the same client IP are routed to the same backend:
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = new ibm.IsLbPool("example", {
lb: ibm_is_lb.example.id,
algorithm: "round_robin",
protocol: "https",
healthDelay: 60,
healthRetries: 5,
healthTimeout: 30,
healthType: "https",
proxyProtocol: "v1",
sessionPersistenceType: "source_ip",
});
import pulumi
import pulumi_ibm as ibm
example = ibm.IsLbPool("example",
lb=ibm_is_lb["example"]["id"],
algorithm="round_robin",
protocol="https",
health_delay=60,
health_retries=5,
health_timeout=30,
health_type="https",
proxy_protocol="v1",
session_persistence_type="source_ip")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewIsLbPool(ctx, "example", &ibm.IsLbPoolArgs{
Lb: pulumi.Any(ibm_is_lb.Example.Id),
Algorithm: pulumi.String("round_robin"),
Protocol: pulumi.String("https"),
HealthDelay: pulumi.Float64(60),
HealthRetries: pulumi.Float64(5),
HealthTimeout: pulumi.Float64(30),
HealthType: pulumi.String("https"),
ProxyProtocol: pulumi.String("v1"),
SessionPersistenceType: pulumi.String("source_ip"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var example = new Ibm.IsLbPool("example", new()
{
Lb = ibm_is_lb.Example.Id,
Algorithm = "round_robin",
Protocol = "https",
HealthDelay = 60,
HealthRetries = 5,
HealthTimeout = 30,
HealthType = "https",
ProxyProtocol = "v1",
SessionPersistenceType = "source_ip",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsLbPool;
import com.pulumi.ibm.IsLbPoolArgs;
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 example = new IsLbPool("example", IsLbPoolArgs.builder()
.lb(ibm_is_lb.example().id())
.algorithm("round_robin")
.protocol("https")
.healthDelay(60)
.healthRetries(5)
.healthTimeout(30)
.healthType("https")
.proxyProtocol("v1")
.sessionPersistenceType("source_ip")
.build());
}
}
resources:
example:
type: ibm:IsLbPool
properties:
lb: ${ibm_is_lb.example.id}
algorithm: round_robin
protocol: https
healthDelay: 60
healthRetries: 5
healthTimeout: 30
healthType: https
proxyProtocol: v1
sessionPersistenceType: source_ip
Load balancer pool without session persistence (Route Mode Compatible)
For route mode load balancers or when session persistence isn’t required, omit the session persistence parameters entirely:
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const routeModeExample = new ibm.IsLbPool("routeModeExample", {
lb: ibm_is_lb.route_mode.id,
algorithm: "round_robin",
protocol: "tcp",
healthDelay: 60,
healthRetries: 5,
healthTimeout: 30,
healthType: "tcp",
});
// No session_persistence_type specified - required for route mode
import pulumi
import pulumi_ibm as ibm
route_mode_example = ibm.IsLbPool("routeModeExample",
lb=ibm_is_lb["route_mode"]["id"],
algorithm="round_robin",
protocol="tcp",
health_delay=60,
health_retries=5,
health_timeout=30,
health_type="tcp")
# No session_persistence_type specified - required for route mode
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewIsLbPool(ctx, "routeModeExample", &ibm.IsLbPoolArgs{
Lb: pulumi.Any(ibm_is_lb.Route_mode.Id),
Algorithm: pulumi.String("round_robin"),
Protocol: pulumi.String("tcp"),
HealthDelay: pulumi.Float64(60),
HealthRetries: pulumi.Float64(5),
HealthTimeout: pulumi.Float64(30),
HealthType: pulumi.String("tcp"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var routeModeExample = new Ibm.IsLbPool("routeModeExample", new()
{
Lb = ibm_is_lb.Route_mode.Id,
Algorithm = "round_robin",
Protocol = "tcp",
HealthDelay = 60,
HealthRetries = 5,
HealthTimeout = 30,
HealthType = "tcp",
});
// No session_persistence_type specified - required for route mode
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsLbPool;
import com.pulumi.ibm.IsLbPoolArgs;
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 routeModeExample = new IsLbPool("routeModeExample", IsLbPoolArgs.builder()
.lb(ibm_is_lb.route_mode().id())
.algorithm("round_robin")
.protocol("tcp")
.healthDelay(60)
.healthRetries(5)
.healthTimeout(30)
.healthType("tcp")
.build());
// No session_persistence_type specified - required for route mode
}
}
resources:
routeModeExample:
type: ibm:IsLbPool
properties:
lb: ${ibm_is_lb.route_mode.id}
algorithm: round_robin
protocol: tcp
healthDelay: 60
healthRetries: 5
healthTimeout: 30
healthType: tcp
Load balancer pool with failsafe policy
Configure failsafe behavior when all pool members become unhealthy:
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const withFailsafe = new ibm.IsLbPool("withFailsafe", {
lb: ibm_is_lb.example.id,
algorithm: "least_connections",
protocol: "https",
healthDelay: 30,
healthRetries: 3,
healthTimeout: 15,
healthType: "https",
failsafePolicy: {
action: "forward",
target: {
id: ibm_is_lb_pool.backup_pool.pool_id,
},
},
});
import pulumi
import pulumi_ibm as ibm
with_failsafe = ibm.IsLbPool("withFailsafe",
lb=ibm_is_lb["example"]["id"],
algorithm="least_connections",
protocol="https",
health_delay=30,
health_retries=3,
health_timeout=15,
health_type="https",
failsafe_policy={
"action": "forward",
"target": {
"id": ibm_is_lb_pool["backup_pool"]["pool_id"],
},
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewIsLbPool(ctx, "withFailsafe", &ibm.IsLbPoolArgs{
Lb: pulumi.Any(ibm_is_lb.Example.Id),
Algorithm: pulumi.String("least_connections"),
Protocol: pulumi.String("https"),
HealthDelay: pulumi.Float64(30),
HealthRetries: pulumi.Float64(3),
HealthTimeout: pulumi.Float64(15),
HealthType: pulumi.String("https"),
FailsafePolicy: &ibm.IsLbPoolFailsafePolicyArgs{
Action: pulumi.String("forward"),
Target: &ibm.IsLbPoolFailsafePolicyTargetArgs{
Id: pulumi.Any(ibm_is_lb_pool.Backup_pool.Pool_id),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var withFailsafe = new Ibm.IsLbPool("withFailsafe", new()
{
Lb = ibm_is_lb.Example.Id,
Algorithm = "least_connections",
Protocol = "https",
HealthDelay = 30,
HealthRetries = 3,
HealthTimeout = 15,
HealthType = "https",
FailsafePolicy = new Ibm.Inputs.IsLbPoolFailsafePolicyArgs
{
Action = "forward",
Target = new Ibm.Inputs.IsLbPoolFailsafePolicyTargetArgs
{
Id = ibm_is_lb_pool.Backup_pool.Pool_id,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsLbPool;
import com.pulumi.ibm.IsLbPoolArgs;
import com.pulumi.ibm.inputs.IsLbPoolFailsafePolicyArgs;
import com.pulumi.ibm.inputs.IsLbPoolFailsafePolicyTargetArgs;
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 withFailsafe = new IsLbPool("withFailsafe", IsLbPoolArgs.builder()
.lb(ibm_is_lb.example().id())
.algorithm("least_connections")
.protocol("https")
.healthDelay(30)
.healthRetries(3)
.healthTimeout(15)
.healthType("https")
.failsafePolicy(IsLbPoolFailsafePolicyArgs.builder()
.action("forward")
.target(IsLbPoolFailsafePolicyTargetArgs.builder()
.id(ibm_is_lb_pool.backup_pool().pool_id())
.build())
.build())
.build());
}
}
resources:
withFailsafe:
type: ibm:IsLbPool
properties:
lb: ${ibm_is_lb.example.id}
algorithm: least_connections
protocol: https
healthDelay: 30
healthRetries: 3
healthTimeout: 15
healthType: https
failsafePolicy:
action: forward
target:
id: ${ibm_is_lb_pool.backup_pool.pool_id}
Create IsLbPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IsLbPool(name: string, args: IsLbPoolArgs, opts?: CustomResourceOptions);
@overload
def IsLbPool(resource_name: str,
args: IsLbPoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IsLbPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
health_type: Optional[str] = None,
protocol: Optional[str] = None,
health_delay: Optional[float] = None,
lb: Optional[str] = None,
algorithm: Optional[str] = None,
health_retries: Optional[float] = None,
health_timeout: Optional[float] = None,
is_lb_pool_id: Optional[str] = None,
health_monitor_url: Optional[str] = None,
health_monitor_port: Optional[float] = None,
name: Optional[str] = None,
failsafe_policy: Optional[IsLbPoolFailsafePolicyArgs] = None,
proxy_protocol: Optional[str] = None,
session_persistence_app_cookie_name: Optional[str] = None,
session_persistence_type: Optional[str] = None,
timeouts: Optional[IsLbPoolTimeoutsArgs] = None)
func NewIsLbPool(ctx *Context, name string, args IsLbPoolArgs, opts ...ResourceOption) (*IsLbPool, error)
public IsLbPool(string name, IsLbPoolArgs args, CustomResourceOptions? opts = null)
public IsLbPool(String name, IsLbPoolArgs args)
public IsLbPool(String name, IsLbPoolArgs args, CustomResourceOptions options)
type: ibm:IsLbPool
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 IsLbPoolArgs
- 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 IsLbPoolArgs
- 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 IsLbPoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsLbPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IsLbPoolArgs
- 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 isLbPoolResource = new Ibm.IsLbPool("isLbPoolResource", new()
{
HealthType = "string",
Protocol = "string",
HealthDelay = 0,
Lb = "string",
Algorithm = "string",
HealthRetries = 0,
HealthTimeout = 0,
IsLbPoolId = "string",
HealthMonitorUrl = "string",
HealthMonitorPort = 0,
Name = "string",
FailsafePolicy = new Ibm.Inputs.IsLbPoolFailsafePolicyArgs
{
Action = "string",
HealthyMemberThresholdCount = 0,
Target = new Ibm.Inputs.IsLbPoolFailsafePolicyTargetArgs
{
Deleteds = new[]
{
new Ibm.Inputs.IsLbPoolFailsafePolicyTargetDeletedArgs
{
MoreInfo = "string",
},
},
Href = "string",
Id = "string",
Name = "string",
},
},
ProxyProtocol = "string",
SessionPersistenceAppCookieName = "string",
SessionPersistenceType = "string",
Timeouts = new Ibm.Inputs.IsLbPoolTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := ibm.NewIsLbPool(ctx, "isLbPoolResource", &ibm.IsLbPoolArgs{
HealthType: pulumi.String("string"),
Protocol: pulumi.String("string"),
HealthDelay: pulumi.Float64(0),
Lb: pulumi.String("string"),
Algorithm: pulumi.String("string"),
HealthRetries: pulumi.Float64(0),
HealthTimeout: pulumi.Float64(0),
IsLbPoolId: pulumi.String("string"),
HealthMonitorUrl: pulumi.String("string"),
HealthMonitorPort: pulumi.Float64(0),
Name: pulumi.String("string"),
FailsafePolicy: &ibm.IsLbPoolFailsafePolicyArgs{
Action: pulumi.String("string"),
HealthyMemberThresholdCount: pulumi.Float64(0),
Target: &ibm.IsLbPoolFailsafePolicyTargetArgs{
Deleteds: ibm.IsLbPoolFailsafePolicyTargetDeletedArray{
&ibm.IsLbPoolFailsafePolicyTargetDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
ProxyProtocol: pulumi.String("string"),
SessionPersistenceAppCookieName: pulumi.String("string"),
SessionPersistenceType: pulumi.String("string"),
Timeouts: &ibm.IsLbPoolTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var isLbPoolResource = new IsLbPool("isLbPoolResource", IsLbPoolArgs.builder()
.healthType("string")
.protocol("string")
.healthDelay(0.0)
.lb("string")
.algorithm("string")
.healthRetries(0.0)
.healthTimeout(0.0)
.isLbPoolId("string")
.healthMonitorUrl("string")
.healthMonitorPort(0.0)
.name("string")
.failsafePolicy(IsLbPoolFailsafePolicyArgs.builder()
.action("string")
.healthyMemberThresholdCount(0.0)
.target(IsLbPoolFailsafePolicyTargetArgs.builder()
.deleteds(IsLbPoolFailsafePolicyTargetDeletedArgs.builder()
.moreInfo("string")
.build())
.href("string")
.id("string")
.name("string")
.build())
.build())
.proxyProtocol("string")
.sessionPersistenceAppCookieName("string")
.sessionPersistenceType("string")
.timeouts(IsLbPoolTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
is_lb_pool_resource = ibm.IsLbPool("isLbPoolResource",
health_type="string",
protocol="string",
health_delay=0,
lb="string",
algorithm="string",
health_retries=0,
health_timeout=0,
is_lb_pool_id="string",
health_monitor_url="string",
health_monitor_port=0,
name="string",
failsafe_policy={
"action": "string",
"healthy_member_threshold_count": 0,
"target": {
"deleteds": [{
"more_info": "string",
}],
"href": "string",
"id": "string",
"name": "string",
},
},
proxy_protocol="string",
session_persistence_app_cookie_name="string",
session_persistence_type="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const isLbPoolResource = new ibm.IsLbPool("isLbPoolResource", {
healthType: "string",
protocol: "string",
healthDelay: 0,
lb: "string",
algorithm: "string",
healthRetries: 0,
healthTimeout: 0,
isLbPoolId: "string",
healthMonitorUrl: "string",
healthMonitorPort: 0,
name: "string",
failsafePolicy: {
action: "string",
healthyMemberThresholdCount: 0,
target: {
deleteds: [{
moreInfo: "string",
}],
href: "string",
id: "string",
name: "string",
},
},
proxyProtocol: "string",
sessionPersistenceAppCookieName: "string",
sessionPersistenceType: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: ibm:IsLbPool
properties:
algorithm: string
failsafePolicy:
action: string
healthyMemberThresholdCount: 0
target:
deleteds:
- moreInfo: string
href: string
id: string
name: string
healthDelay: 0
healthMonitorPort: 0
healthMonitorUrl: string
healthRetries: 0
healthTimeout: 0
healthType: string
isLbPoolId: string
lb: string
name: string
protocol: string
proxyProtocol: string
sessionPersistenceAppCookieName: string
sessionPersistenceType: string
timeouts:
create: string
delete: string
update: string
IsLbPool 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 IsLbPool resource accepts the following input properties:
- Algorithm string
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. Chooseleast_connections
for workloads with varying response times. - Health
Delay double - Health check interval in seconds. Must be greater than the
health_timeout
value. Recommended range: 30-300 seconds. - Health
Retries double - Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
- Health
Timeout double - Health check timeout in seconds. Must be less than
health_delay
. Recommended range: 5-60 seconds. - Health
Type string - The health check protocol. Supported values:
http
,https
,tcp
. Should typically match the pool protocol for optimal compatibility. - Lb string
- The unique identifier of the load balancer. Changing this forces recreation of the resource.
- Protocol string
- The pool protocol for traffic forwarding. Supported values:
http
,https
,tcp
,udp
. Choose based on your application requirements. - Failsafe
Policy IsLb Pool Failsafe Policy - The failsafe policy defines behavior when all pool members are unhealthy. If unspecified, the default failsafe policy from the load balancer profile applies. Nested schema for failsafe_policy:
- Health
Monitor doublePort - Custom health check port number. Specify
0
to remove an existing custom health check port and use the member's port. If not specified, uses the same port as the pool member. - Health
Monitor stringUrl - The health check URL path (e.g.,
/health
,/status
). Only applicable forhttp
andhttps
health check types. Defaults to/
if not specified. - Is
Lb stringPool Id - (String) The unique identifier for this load balancer pool.
- Name string
- The name of the pool. Must be unique within the load balancer and follow standard naming conventions.
- Proxy
Protocol string - Proxy protocol setting for preserving client connection information. Supported values:
disabled
(default),v1
,v2
. Only supported by application load balancers, not network load balancers. - string
- Name of the application cookie used for session persistence. Required and only applicable when
session_persistence_type = "app_cookie"
. Common examples includeJSESSIONID
,PHPSESSID
, or custom application cookies. - Session
Persistence stringType - Session persistence method to ensure client requests are routed to the same backend server. Supported values:
source_ip
,app_cookie
,http_cookie
. Important notes:- Omit this parameter entirely when no session persistence is needed
- Must be omitted for route mode load balancers
- To remove session persistence from an existing pool, remove this parameter from your configuration and apply
- Cannot be used with UDP protocol
- Timeouts
Is
Lb Pool Timeouts
- Algorithm string
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. Chooseleast_connections
for workloads with varying response times. - Health
Delay float64 - Health check interval in seconds. Must be greater than the
health_timeout
value. Recommended range: 30-300 seconds. - Health
Retries float64 - Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
- Health
Timeout float64 - Health check timeout in seconds. Must be less than
health_delay
. Recommended range: 5-60 seconds. - Health
Type string - The health check protocol. Supported values:
http
,https
,tcp
. Should typically match the pool protocol for optimal compatibility. - Lb string
- The unique identifier of the load balancer. Changing this forces recreation of the resource.
- Protocol string
- The pool protocol for traffic forwarding. Supported values:
http
,https
,tcp
,udp
. Choose based on your application requirements. - Failsafe
Policy IsLb Pool Failsafe Policy Args - The failsafe policy defines behavior when all pool members are unhealthy. If unspecified, the default failsafe policy from the load balancer profile applies. Nested schema for failsafe_policy:
- Health
Monitor float64Port - Custom health check port number. Specify
0
to remove an existing custom health check port and use the member's port. If not specified, uses the same port as the pool member. - Health
Monitor stringUrl - The health check URL path (e.g.,
/health
,/status
). Only applicable forhttp
andhttps
health check types. Defaults to/
if not specified. - Is
Lb stringPool Id - (String) The unique identifier for this load balancer pool.
- Name string
- The name of the pool. Must be unique within the load balancer and follow standard naming conventions.
- Proxy
Protocol string - Proxy protocol setting for preserving client connection information. Supported values:
disabled
(default),v1
,v2
. Only supported by application load balancers, not network load balancers. - string
- Name of the application cookie used for session persistence. Required and only applicable when
session_persistence_type = "app_cookie"
. Common examples includeJSESSIONID
,PHPSESSID
, or custom application cookies. - Session
Persistence stringType - Session persistence method to ensure client requests are routed to the same backend server. Supported values:
source_ip
,app_cookie
,http_cookie
. Important notes:- Omit this parameter entirely when no session persistence is needed
- Must be omitted for route mode load balancers
- To remove session persistence from an existing pool, remove this parameter from your configuration and apply
- Cannot be used with UDP protocol
- Timeouts
Is
Lb Pool Timeouts Args
- algorithm String
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. Chooseleast_connections
for workloads with varying response times. - health
Delay Double - Health check interval in seconds. Must be greater than the
health_timeout
value. Recommended range: 30-300 seconds. - health
Retries Double - Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
- health
Timeout Double - Health check timeout in seconds. Must be less than
health_delay
. Recommended range: 5-60 seconds. - health
Type String - The health check protocol. Supported values:
http
,https
,tcp
. Should typically match the pool protocol for optimal compatibility. - lb String
- The unique identifier of the load balancer. Changing this forces recreation of the resource.
- protocol String
- The pool protocol for traffic forwarding. Supported values:
http
,https
,tcp
,udp
. Choose based on your application requirements. - failsafe
Policy IsLb Pool Failsafe Policy - The failsafe policy defines behavior when all pool members are unhealthy. If unspecified, the default failsafe policy from the load balancer profile applies. Nested schema for failsafe_policy:
- health
Monitor DoublePort - Custom health check port number. Specify
0
to remove an existing custom health check port and use the member's port. If not specified, uses the same port as the pool member. - health
Monitor StringUrl - The health check URL path (e.g.,
/health
,/status
). Only applicable forhttp
andhttps
health check types. Defaults to/
if not specified. - is
Lb StringPool Id - (String) The unique identifier for this load balancer pool.
- name String
- The name of the pool. Must be unique within the load balancer and follow standard naming conventions.
- proxy
Protocol String - Proxy protocol setting for preserving client connection information. Supported values:
disabled
(default),v1
,v2
. Only supported by application load balancers, not network load balancers. - String
- Name of the application cookie used for session persistence. Required and only applicable when
session_persistence_type = "app_cookie"
. Common examples includeJSESSIONID
,PHPSESSID
, or custom application cookies. - session
Persistence StringType - Session persistence method to ensure client requests are routed to the same backend server. Supported values:
source_ip
,app_cookie
,http_cookie
. Important notes:- Omit this parameter entirely when no session persistence is needed
- Must be omitted for route mode load balancers
- To remove session persistence from an existing pool, remove this parameter from your configuration and apply
- Cannot be used with UDP protocol
- timeouts
Is
Lb Pool Timeouts
- algorithm string
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. Chooseleast_connections
for workloads with varying response times. - health
Delay number - Health check interval in seconds. Must be greater than the
health_timeout
value. Recommended range: 30-300 seconds. - health
Retries number - Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
- health
Timeout number - Health check timeout in seconds. Must be less than
health_delay
. Recommended range: 5-60 seconds. - health
Type string - The health check protocol. Supported values:
http
,https
,tcp
. Should typically match the pool protocol for optimal compatibility. - lb string
- The unique identifier of the load balancer. Changing this forces recreation of the resource.
- protocol string
- The pool protocol for traffic forwarding. Supported values:
http
,https
,tcp
,udp
. Choose based on your application requirements. - failsafe
Policy IsLb Pool Failsafe Policy - The failsafe policy defines behavior when all pool members are unhealthy. If unspecified, the default failsafe policy from the load balancer profile applies. Nested schema for failsafe_policy:
- health
Monitor numberPort - Custom health check port number. Specify
0
to remove an existing custom health check port and use the member's port. If not specified, uses the same port as the pool member. - health
Monitor stringUrl - The health check URL path (e.g.,
/health
,/status
). Only applicable forhttp
andhttps
health check types. Defaults to/
if not specified. - is
Lb stringPool Id - (String) The unique identifier for this load balancer pool.
- name string
- The name of the pool. Must be unique within the load balancer and follow standard naming conventions.
- proxy
Protocol string - Proxy protocol setting for preserving client connection information. Supported values:
disabled
(default),v1
,v2
. Only supported by application load balancers, not network load balancers. - string
- Name of the application cookie used for session persistence. Required and only applicable when
session_persistence_type = "app_cookie"
. Common examples includeJSESSIONID
,PHPSESSID
, or custom application cookies. - session
Persistence stringType - Session persistence method to ensure client requests are routed to the same backend server. Supported values:
source_ip
,app_cookie
,http_cookie
. Important notes:- Omit this parameter entirely when no session persistence is needed
- Must be omitted for route mode load balancers
- To remove session persistence from an existing pool, remove this parameter from your configuration and apply
- Cannot be used with UDP protocol
- timeouts
Is
Lb Pool Timeouts
- algorithm str
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. Chooseleast_connections
for workloads with varying response times. - health_
delay float - Health check interval in seconds. Must be greater than the
health_timeout
value. Recommended range: 30-300 seconds. - health_
retries float - Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
- health_
timeout float - Health check timeout in seconds. Must be less than
health_delay
. Recommended range: 5-60 seconds. - health_
type str - The health check protocol. Supported values:
http
,https
,tcp
. Should typically match the pool protocol for optimal compatibility. - lb str
- The unique identifier of the load balancer. Changing this forces recreation of the resource.
- protocol str
- The pool protocol for traffic forwarding. Supported values:
http
,https
,tcp
,udp
. Choose based on your application requirements. - failsafe_
policy IsLb Pool Failsafe Policy Args - The failsafe policy defines behavior when all pool members are unhealthy. If unspecified, the default failsafe policy from the load balancer profile applies. Nested schema for failsafe_policy:
- health_
monitor_ floatport - Custom health check port number. Specify
0
to remove an existing custom health check port and use the member's port. If not specified, uses the same port as the pool member. - health_
monitor_ strurl - The health check URL path (e.g.,
/health
,/status
). Only applicable forhttp
andhttps
health check types. Defaults to/
if not specified. - is_
lb_ strpool_ id - (String) The unique identifier for this load balancer pool.
- name str
- The name of the pool. Must be unique within the load balancer and follow standard naming conventions.
- proxy_
protocol str - Proxy protocol setting for preserving client connection information. Supported values:
disabled
(default),v1
,v2
. Only supported by application load balancers, not network load balancers. - str
- Name of the application cookie used for session persistence. Required and only applicable when
session_persistence_type = "app_cookie"
. Common examples includeJSESSIONID
,PHPSESSID
, or custom application cookies. - session_
persistence_ strtype - Session persistence method to ensure client requests are routed to the same backend server. Supported values:
source_ip
,app_cookie
,http_cookie
. Important notes:- Omit this parameter entirely when no session persistence is needed
- Must be omitted for route mode load balancers
- To remove session persistence from an existing pool, remove this parameter from your configuration and apply
- Cannot be used with UDP protocol
- timeouts
Is
Lb Pool Timeouts Args
- algorithm String
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. Chooseleast_connections
for workloads with varying response times. - health
Delay Number - Health check interval in seconds. Must be greater than the
health_timeout
value. Recommended range: 30-300 seconds. - health
Retries Number - Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
- health
Timeout Number - Health check timeout in seconds. Must be less than
health_delay
. Recommended range: 5-60 seconds. - health
Type String - The health check protocol. Supported values:
http
,https
,tcp
. Should typically match the pool protocol for optimal compatibility. - lb String
- The unique identifier of the load balancer. Changing this forces recreation of the resource.
- protocol String
- The pool protocol for traffic forwarding. Supported values:
http
,https
,tcp
,udp
. Choose based on your application requirements. - failsafe
Policy Property Map - The failsafe policy defines behavior when all pool members are unhealthy. If unspecified, the default failsafe policy from the load balancer profile applies. Nested schema for failsafe_policy:
- health
Monitor NumberPort - Custom health check port number. Specify
0
to remove an existing custom health check port and use the member's port. If not specified, uses the same port as the pool member. - health
Monitor StringUrl - The health check URL path (e.g.,
/health
,/status
). Only applicable forhttp
andhttps
health check types. Defaults to/
if not specified. - is
Lb StringPool Id - (String) The unique identifier for this load balancer pool.
- name String
- The name of the pool. Must be unique within the load balancer and follow standard naming conventions.
- proxy
Protocol String - Proxy protocol setting for preserving client connection information. Supported values:
disabled
(default),v1
,v2
. Only supported by application load balancers, not network load balancers. - String
- Name of the application cookie used for session persistence. Required and only applicable when
session_persistence_type = "app_cookie"
. Common examples includeJSESSIONID
,PHPSESSID
, or custom application cookies. - session
Persistence StringType - Session persistence method to ensure client requests are routed to the same backend server. Supported values:
source_ip
,app_cookie
,http_cookie
. Important notes:- Omit this parameter entirely when no session persistence is needed
- Must be omitted for route mode load balancers
- To remove session persistence from an existing pool, remove this parameter from your configuration and apply
- Cannot be used with UDP protocol
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the IsLbPool resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Pool
Id string - (String) The unique identifier of the load balancer pool (without the load balancer prefix).
- Provisioning
Status string - (String) The current provisioning status of the load balancer pool. Possible values:
create_pending
,active
,delete_pending
,failed
,maintenance_pending
,update_pending
. - string
- (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
- string
- (String) The HTTP cookie name used for session persistence. Only present when
session_persistence_type = "http_cookie"
. This is system-generated and read-only.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pool
Id string - (String) The unique identifier of the load balancer pool (without the load balancer prefix).
- Provisioning
Status string - (String) The current provisioning status of the load balancer pool. Possible values:
create_pending
,active
,delete_pending
,failed
,maintenance_pending
,update_pending
. - string
- (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
- string
- (String) The HTTP cookie name used for session persistence. Only present when
session_persistence_type = "http_cookie"
. This is system-generated and read-only.
- id String
- The provider-assigned unique ID for this managed resource.
- pool
Id String - (String) The unique identifier of the load balancer pool (without the load balancer prefix).
- provisioning
Status String - (String) The current provisioning status of the load balancer pool. Possible values:
create_pending
,active
,delete_pending
,failed
,maintenance_pending
,update_pending
. - String
- (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
- String
- (String) The HTTP cookie name used for session persistence. Only present when
session_persistence_type = "http_cookie"
. This is system-generated and read-only.
- id string
- The provider-assigned unique ID for this managed resource.
- pool
Id string - (String) The unique identifier of the load balancer pool (without the load balancer prefix).
- provisioning
Status string - (String) The current provisioning status of the load balancer pool. Possible values:
create_pending
,active
,delete_pending
,failed
,maintenance_pending
,update_pending
. - string
- (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
- string
- (String) The HTTP cookie name used for session persistence. Only present when
session_persistence_type = "http_cookie"
. This is system-generated and read-only.
- id str
- The provider-assigned unique ID for this managed resource.
- pool_
id str - (String) The unique identifier of the load balancer pool (without the load balancer prefix).
- provisioning_
status str - (String) The current provisioning status of the load balancer pool. Possible values:
create_pending
,active
,delete_pending
,failed
,maintenance_pending
,update_pending
. - str
- (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
- str
- (String) The HTTP cookie name used for session persistence. Only present when
session_persistence_type = "http_cookie"
. This is system-generated and read-only.
- id String
- The provider-assigned unique ID for this managed resource.
- pool
Id String - (String) The unique identifier of the load balancer pool (without the load balancer prefix).
- provisioning
Status String - (String) The current provisioning status of the load balancer pool. Possible values:
create_pending
,active
,delete_pending
,failed
,maintenance_pending
,update_pending
. - String
- (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
- String
- (String) The HTTP cookie name used for session persistence. Only present when
session_persistence_type = "http_cookie"
. This is system-generated and read-only.
Look up Existing IsLbPool Resource
Get an existing IsLbPool 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?: IsLbPoolState, opts?: CustomResourceOptions): IsLbPool
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
algorithm: Optional[str] = None,
failsafe_policy: Optional[IsLbPoolFailsafePolicyArgs] = None,
health_delay: Optional[float] = None,
health_monitor_port: Optional[float] = None,
health_monitor_url: Optional[str] = None,
health_retries: Optional[float] = None,
health_timeout: Optional[float] = None,
health_type: Optional[str] = None,
is_lb_pool_id: Optional[str] = None,
lb: Optional[str] = None,
name: Optional[str] = None,
pool_id: Optional[str] = None,
protocol: Optional[str] = None,
provisioning_status: Optional[str] = None,
proxy_protocol: Optional[str] = None,
related_crn: Optional[str] = None,
session_persistence_app_cookie_name: Optional[str] = None,
session_persistence_http_cookie_name: Optional[str] = None,
session_persistence_type: Optional[str] = None,
timeouts: Optional[IsLbPoolTimeoutsArgs] = None) -> IsLbPool
func GetIsLbPool(ctx *Context, name string, id IDInput, state *IsLbPoolState, opts ...ResourceOption) (*IsLbPool, error)
public static IsLbPool Get(string name, Input<string> id, IsLbPoolState? state, CustomResourceOptions? opts = null)
public static IsLbPool get(String name, Output<String> id, IsLbPoolState state, CustomResourceOptions options)
resources: _: type: ibm:IsLbPool 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.
- Algorithm string
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. Chooseleast_connections
for workloads with varying response times. - Failsafe
Policy IsLb Pool Failsafe Policy - The failsafe policy defines behavior when all pool members are unhealthy. If unspecified, the default failsafe policy from the load balancer profile applies. Nested schema for failsafe_policy:
- Health
Delay double - Health check interval in seconds. Must be greater than the
health_timeout
value. Recommended range: 30-300 seconds. - Health
Monitor doublePort - Custom health check port number. Specify
0
to remove an existing custom health check port and use the member's port. If not specified, uses the same port as the pool member. - Health
Monitor stringUrl - The health check URL path (e.g.,
/health
,/status
). Only applicable forhttp
andhttps
health check types. Defaults to/
if not specified. - Health
Retries double - Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
- Health
Timeout double - Health check timeout in seconds. Must be less than
health_delay
. Recommended range: 5-60 seconds. - Health
Type string - The health check protocol. Supported values:
http
,https
,tcp
. Should typically match the pool protocol for optimal compatibility. - Is
Lb stringPool Id - (String) The unique identifier for this load balancer pool.
- Lb string
- The unique identifier of the load balancer. Changing this forces recreation of the resource.
- Name string
- The name of the pool. Must be unique within the load balancer and follow standard naming conventions.
- Pool
Id string - (String) The unique identifier of the load balancer pool (without the load balancer prefix).
- Protocol string
- The pool protocol for traffic forwarding. Supported values:
http
,https
,tcp
,udp
. Choose based on your application requirements. - Provisioning
Status string - (String) The current provisioning status of the load balancer pool. Possible values:
create_pending
,active
,delete_pending
,failed
,maintenance_pending
,update_pending
. - Proxy
Protocol string - Proxy protocol setting for preserving client connection information. Supported values:
disabled
(default),v1
,v2
. Only supported by application load balancers, not network load balancers. - string
- (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
- string
- Name of the application cookie used for session persistence. Required and only applicable when
session_persistence_type = "app_cookie"
. Common examples includeJSESSIONID
,PHPSESSID
, or custom application cookies. - string
- (String) The HTTP cookie name used for session persistence. Only present when
session_persistence_type = "http_cookie"
. This is system-generated and read-only. - Session
Persistence stringType - Session persistence method to ensure client requests are routed to the same backend server. Supported values:
source_ip
,app_cookie
,http_cookie
. Important notes:- Omit this parameter entirely when no session persistence is needed
- Must be omitted for route mode load balancers
- To remove session persistence from an existing pool, remove this parameter from your configuration and apply
- Cannot be used with UDP protocol
- Timeouts
Is
Lb Pool Timeouts
- Algorithm string
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. Chooseleast_connections
for workloads with varying response times. - Failsafe
Policy IsLb Pool Failsafe Policy Args - The failsafe policy defines behavior when all pool members are unhealthy. If unspecified, the default failsafe policy from the load balancer profile applies. Nested schema for failsafe_policy:
- Health
Delay float64 - Health check interval in seconds. Must be greater than the
health_timeout
value. Recommended range: 30-300 seconds. - Health
Monitor float64Port - Custom health check port number. Specify
0
to remove an existing custom health check port and use the member's port. If not specified, uses the same port as the pool member. - Health
Monitor stringUrl - The health check URL path (e.g.,
/health
,/status
). Only applicable forhttp
andhttps
health check types. Defaults to/
if not specified. - Health
Retries float64 - Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
- Health
Timeout float64 - Health check timeout in seconds. Must be less than
health_delay
. Recommended range: 5-60 seconds. - Health
Type string - The health check protocol. Supported values:
http
,https
,tcp
. Should typically match the pool protocol for optimal compatibility. - Is
Lb stringPool Id - (String) The unique identifier for this load balancer pool.
- Lb string
- The unique identifier of the load balancer. Changing this forces recreation of the resource.
- Name string
- The name of the pool. Must be unique within the load balancer and follow standard naming conventions.
- Pool
Id string - (String) The unique identifier of the load balancer pool (without the load balancer prefix).
- Protocol string
- The pool protocol for traffic forwarding. Supported values:
http
,https
,tcp
,udp
. Choose based on your application requirements. - Provisioning
Status string - (String) The current provisioning status of the load balancer pool. Possible values:
create_pending
,active
,delete_pending
,failed
,maintenance_pending
,update_pending
. - Proxy
Protocol string - Proxy protocol setting for preserving client connection information. Supported values:
disabled
(default),v1
,v2
. Only supported by application load balancers, not network load balancers. - string
- (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
- string
- Name of the application cookie used for session persistence. Required and only applicable when
session_persistence_type = "app_cookie"
. Common examples includeJSESSIONID
,PHPSESSID
, or custom application cookies. - string
- (String) The HTTP cookie name used for session persistence. Only present when
session_persistence_type = "http_cookie"
. This is system-generated and read-only. - Session
Persistence stringType - Session persistence method to ensure client requests are routed to the same backend server. Supported values:
source_ip
,app_cookie
,http_cookie
. Important notes:- Omit this parameter entirely when no session persistence is needed
- Must be omitted for route mode load balancers
- To remove session persistence from an existing pool, remove this parameter from your configuration and apply
- Cannot be used with UDP protocol
- Timeouts
Is
Lb Pool Timeouts Args
- algorithm String
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. Chooseleast_connections
for workloads with varying response times. - failsafe
Policy IsLb Pool Failsafe Policy - The failsafe policy defines behavior when all pool members are unhealthy. If unspecified, the default failsafe policy from the load balancer profile applies. Nested schema for failsafe_policy:
- health
Delay Double - Health check interval in seconds. Must be greater than the
health_timeout
value. Recommended range: 30-300 seconds. - health
Monitor DoublePort - Custom health check port number. Specify
0
to remove an existing custom health check port and use the member's port. If not specified, uses the same port as the pool member. - health
Monitor StringUrl - The health check URL path (e.g.,
/health
,/status
). Only applicable forhttp
andhttps
health check types. Defaults to/
if not specified. - health
Retries Double - Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
- health
Timeout Double - Health check timeout in seconds. Must be less than
health_delay
. Recommended range: 5-60 seconds. - health
Type String - The health check protocol. Supported values:
http
,https
,tcp
. Should typically match the pool protocol for optimal compatibility. - is
Lb StringPool Id - (String) The unique identifier for this load balancer pool.
- lb String
- The unique identifier of the load balancer. Changing this forces recreation of the resource.
- name String
- The name of the pool. Must be unique within the load balancer and follow standard naming conventions.
- pool
Id String - (String) The unique identifier of the load balancer pool (without the load balancer prefix).
- protocol String
- The pool protocol for traffic forwarding. Supported values:
http
,https
,tcp
,udp
. Choose based on your application requirements. - provisioning
Status String - (String) The current provisioning status of the load balancer pool. Possible values:
create_pending
,active
,delete_pending
,failed
,maintenance_pending
,update_pending
. - proxy
Protocol String - Proxy protocol setting for preserving client connection information. Supported values:
disabled
(default),v1
,v2
. Only supported by application load balancers, not network load balancers. - String
- (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
- String
- Name of the application cookie used for session persistence. Required and only applicable when
session_persistence_type = "app_cookie"
. Common examples includeJSESSIONID
,PHPSESSID
, or custom application cookies. - String
- (String) The HTTP cookie name used for session persistence. Only present when
session_persistence_type = "http_cookie"
. This is system-generated and read-only. - session
Persistence StringType - Session persistence method to ensure client requests are routed to the same backend server. Supported values:
source_ip
,app_cookie
,http_cookie
. Important notes:- Omit this parameter entirely when no session persistence is needed
- Must be omitted for route mode load balancers
- To remove session persistence from an existing pool, remove this parameter from your configuration and apply
- Cannot be used with UDP protocol
- timeouts
Is
Lb Pool Timeouts
- algorithm string
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. Chooseleast_connections
for workloads with varying response times. - failsafe
Policy IsLb Pool Failsafe Policy - The failsafe policy defines behavior when all pool members are unhealthy. If unspecified, the default failsafe policy from the load balancer profile applies. Nested schema for failsafe_policy:
- health
Delay number - Health check interval in seconds. Must be greater than the
health_timeout
value. Recommended range: 30-300 seconds. - health
Monitor numberPort - Custom health check port number. Specify
0
to remove an existing custom health check port and use the member's port. If not specified, uses the same port as the pool member. - health
Monitor stringUrl - The health check URL path (e.g.,
/health
,/status
). Only applicable forhttp
andhttps
health check types. Defaults to/
if not specified. - health
Retries number - Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
- health
Timeout number - Health check timeout in seconds. Must be less than
health_delay
. Recommended range: 5-60 seconds. - health
Type string - The health check protocol. Supported values:
http
,https
,tcp
. Should typically match the pool protocol for optimal compatibility. - is
Lb stringPool Id - (String) The unique identifier for this load balancer pool.
- lb string
- The unique identifier of the load balancer. Changing this forces recreation of the resource.
- name string
- The name of the pool. Must be unique within the load balancer and follow standard naming conventions.
- pool
Id string - (String) The unique identifier of the load balancer pool (without the load balancer prefix).
- protocol string
- The pool protocol for traffic forwarding. Supported values:
http
,https
,tcp
,udp
. Choose based on your application requirements. - provisioning
Status string - (String) The current provisioning status of the load balancer pool. Possible values:
create_pending
,active
,delete_pending
,failed
,maintenance_pending
,update_pending
. - proxy
Protocol string - Proxy protocol setting for preserving client connection information. Supported values:
disabled
(default),v1
,v2
. Only supported by application load balancers, not network load balancers. - string
- (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
- string
- Name of the application cookie used for session persistence. Required and only applicable when
session_persistence_type = "app_cookie"
. Common examples includeJSESSIONID
,PHPSESSID
, or custom application cookies. - string
- (String) The HTTP cookie name used for session persistence. Only present when
session_persistence_type = "http_cookie"
. This is system-generated and read-only. - session
Persistence stringType - Session persistence method to ensure client requests are routed to the same backend server. Supported values:
source_ip
,app_cookie
,http_cookie
. Important notes:- Omit this parameter entirely when no session persistence is needed
- Must be omitted for route mode load balancers
- To remove session persistence from an existing pool, remove this parameter from your configuration and apply
- Cannot be used with UDP protocol
- timeouts
Is
Lb Pool Timeouts
- algorithm str
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. Chooseleast_connections
for workloads with varying response times. - failsafe_
policy IsLb Pool Failsafe Policy Args - The failsafe policy defines behavior when all pool members are unhealthy. If unspecified, the default failsafe policy from the load balancer profile applies. Nested schema for failsafe_policy:
- health_
delay float - Health check interval in seconds. Must be greater than the
health_timeout
value. Recommended range: 30-300 seconds. - health_
monitor_ floatport - Custom health check port number. Specify
0
to remove an existing custom health check port and use the member's port. If not specified, uses the same port as the pool member. - health_
monitor_ strurl - The health check URL path (e.g.,
/health
,/status
). Only applicable forhttp
andhttps
health check types. Defaults to/
if not specified. - health_
retries float - Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
- health_
timeout float - Health check timeout in seconds. Must be less than
health_delay
. Recommended range: 5-60 seconds. - health_
type str - The health check protocol. Supported values:
http
,https
,tcp
. Should typically match the pool protocol for optimal compatibility. - is_
lb_ strpool_ id - (String) The unique identifier for this load balancer pool.
- lb str
- The unique identifier of the load balancer. Changing this forces recreation of the resource.
- name str
- The name of the pool. Must be unique within the load balancer and follow standard naming conventions.
- pool_
id str - (String) The unique identifier of the load balancer pool (without the load balancer prefix).
- protocol str
- The pool protocol for traffic forwarding. Supported values:
http
,https
,tcp
,udp
. Choose based on your application requirements. - provisioning_
status str - (String) The current provisioning status of the load balancer pool. Possible values:
create_pending
,active
,delete_pending
,failed
,maintenance_pending
,update_pending
. - proxy_
protocol str - Proxy protocol setting for preserving client connection information. Supported values:
disabled
(default),v1
,v2
. Only supported by application load balancers, not network load balancers. - str
- (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
- str
- Name of the application cookie used for session persistence. Required and only applicable when
session_persistence_type = "app_cookie"
. Common examples includeJSESSIONID
,PHPSESSID
, or custom application cookies. - str
- (String) The HTTP cookie name used for session persistence. Only present when
session_persistence_type = "http_cookie"
. This is system-generated and read-only. - session_
persistence_ strtype - Session persistence method to ensure client requests are routed to the same backend server. Supported values:
source_ip
,app_cookie
,http_cookie
. Important notes:- Omit this parameter entirely when no session persistence is needed
- Must be omitted for route mode load balancers
- To remove session persistence from an existing pool, remove this parameter from your configuration and apply
- Cannot be used with UDP protocol
- timeouts
Is
Lb Pool Timeouts Args
- algorithm String
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. Chooseleast_connections
for workloads with varying response times. - failsafe
Policy Property Map - The failsafe policy defines behavior when all pool members are unhealthy. If unspecified, the default failsafe policy from the load balancer profile applies. Nested schema for failsafe_policy:
- health
Delay Number - Health check interval in seconds. Must be greater than the
health_timeout
value. Recommended range: 30-300 seconds. - health
Monitor NumberPort - Custom health check port number. Specify
0
to remove an existing custom health check port and use the member's port. If not specified, uses the same port as the pool member. - health
Monitor StringUrl - The health check URL path (e.g.,
/health
,/status
). Only applicable forhttp
andhttps
health check types. Defaults to/
if not specified. - health
Retries Number - Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
- health
Timeout Number - Health check timeout in seconds. Must be less than
health_delay
. Recommended range: 5-60 seconds. - health
Type String - The health check protocol. Supported values:
http
,https
,tcp
. Should typically match the pool protocol for optimal compatibility. - is
Lb StringPool Id - (String) The unique identifier for this load balancer pool.
- lb String
- The unique identifier of the load balancer. Changing this forces recreation of the resource.
- name String
- The name of the pool. Must be unique within the load balancer and follow standard naming conventions.
- pool
Id String - (String) The unique identifier of the load balancer pool (without the load balancer prefix).
- protocol String
- The pool protocol for traffic forwarding. Supported values:
http
,https
,tcp
,udp
. Choose based on your application requirements. - provisioning
Status String - (String) The current provisioning status of the load balancer pool. Possible values:
create_pending
,active
,delete_pending
,failed
,maintenance_pending
,update_pending
. - proxy
Protocol String - Proxy protocol setting for preserving client connection information. Supported values:
disabled
(default),v1
,v2
. Only supported by application load balancers, not network load balancers. - String
- (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
- String
- Name of the application cookie used for session persistence. Required and only applicable when
session_persistence_type = "app_cookie"
. Common examples includeJSESSIONID
,PHPSESSID
, or custom application cookies. - String
- (String) The HTTP cookie name used for session persistence. Only present when
session_persistence_type = "http_cookie"
. This is system-generated and read-only. - session
Persistence StringType - Session persistence method to ensure client requests are routed to the same backend server. Supported values:
source_ip
,app_cookie
,http_cookie
. Important notes:- Omit this parameter entirely when no session persistence is needed
- Must be omitted for route mode load balancers
- To remove session persistence from an existing pool, remove this parameter from your configuration and apply
- Cannot be used with UDP protocol
- timeouts Property Map
Supporting Types
IsLbPoolFailsafePolicy, IsLbPoolFailsafePolicyArgs
- Action string
- Failsafe policy action:
forward
(routes requests to target pool) orfail
(rejects requests with HTTP 503). The enumerated values for this property may expand in the future. - Healthy
Member doubleThreshold Count - (Integer) The healthy member count threshold that triggers the failsafe policy action. Currently always
0
, but may be configurable in future versions. The minimum value is0
. - Target
Is
Lb Pool Failsafe Policy Target - Target pool for
forward
action. Not applicable when action isfail
. The targets supported by this property may expand in the future. Nested schema for target:
- Action string
- Failsafe policy action:
forward
(routes requests to target pool) orfail
(rejects requests with HTTP 503). The enumerated values for this property may expand in the future. - Healthy
Member float64Threshold Count - (Integer) The healthy member count threshold that triggers the failsafe policy action. Currently always
0
, but may be configurable in future versions. The minimum value is0
. - Target
Is
Lb Pool Failsafe Policy Target - Target pool for
forward
action. Not applicable when action isfail
. The targets supported by this property may expand in the future. Nested schema for target:
- action String
- Failsafe policy action:
forward
(routes requests to target pool) orfail
(rejects requests with HTTP 503). The enumerated values for this property may expand in the future. - healthy
Member DoubleThreshold Count - (Integer) The healthy member count threshold that triggers the failsafe policy action. Currently always
0
, but may be configurable in future versions. The minimum value is0
. - target
Is
Lb Pool Failsafe Policy Target - Target pool for
forward
action. Not applicable when action isfail
. The targets supported by this property may expand in the future. Nested schema for target:
- action string
- Failsafe policy action:
forward
(routes requests to target pool) orfail
(rejects requests with HTTP 503). The enumerated values for this property may expand in the future. - healthy
Member numberThreshold Count - (Integer) The healthy member count threshold that triggers the failsafe policy action. Currently always
0
, but may be configurable in future versions. The minimum value is0
. - target
Is
Lb Pool Failsafe Policy Target - Target pool for
forward
action. Not applicable when action isfail
. The targets supported by this property may expand in the future. Nested schema for target:
- action str
- Failsafe policy action:
forward
(routes requests to target pool) orfail
(rejects requests with HTTP 503). The enumerated values for this property may expand in the future. - healthy_
member_ floatthreshold_ count - (Integer) The healthy member count threshold that triggers the failsafe policy action. Currently always
0
, but may be configurable in future versions. The minimum value is0
. - target
Is
Lb Pool Failsafe Policy Target - Target pool for
forward
action. Not applicable when action isfail
. The targets supported by this property may expand in the future. Nested schema for target:
- action String
- Failsafe policy action:
forward
(routes requests to target pool) orfail
(rejects requests with HTTP 503). The enumerated values for this property may expand in the future. - healthy
Member NumberThreshold Count - (Integer) The healthy member count threshold that triggers the failsafe policy action. Currently always
0
, but may be configurable in future versions. The minimum value is0
. - target Property Map
- Target pool for
forward
action. Not applicable when action isfail
. The targets supported by this property may expand in the future. Nested schema for target:
IsLbPoolFailsafePolicyTarget, IsLbPoolFailsafePolicyTargetArgs
- Deleteds
List<Is
Lb Pool Failsafe Policy Target Deleted> - (List) Indicates if the referenced target resource has been deleted, with supplementary information. Nested schema for deleted:
- Href string
- The URL for the target load balancer pool. Mutually exclusive with
id
. Specify "null" during update to remove an existing failsafe target pool. - Id string
- The unique identifier for the target load balancer pool. Mutually exclusive with
href
. Specify "null" during update to remove an existing failsafe target pool. - Name string
- The name of the pool. Must be unique within the load balancer and follow standard naming conventions.
- Deleteds
[]Is
Lb Pool Failsafe Policy Target Deleted - (List) Indicates if the referenced target resource has been deleted, with supplementary information. Nested schema for deleted:
- Href string
- The URL for the target load balancer pool. Mutually exclusive with
id
. Specify "null" during update to remove an existing failsafe target pool. - Id string
- The unique identifier for the target load balancer pool. Mutually exclusive with
href
. Specify "null" during update to remove an existing failsafe target pool. - Name string
- The name of the pool. Must be unique within the load balancer and follow standard naming conventions.
- deleteds
List<Is
Lb Pool Failsafe Policy Target Deleted> - (List) Indicates if the referenced target resource has been deleted, with supplementary information. Nested schema for deleted:
- href String
- The URL for the target load balancer pool. Mutually exclusive with
id
. Specify "null" during update to remove an existing failsafe target pool. - id String
- The unique identifier for the target load balancer pool. Mutually exclusive with
href
. Specify "null" during update to remove an existing failsafe target pool. - name String
- The name of the pool. Must be unique within the load balancer and follow standard naming conventions.
- deleteds
Is
Lb Pool Failsafe Policy Target Deleted[] - (List) Indicates if the referenced target resource has been deleted, with supplementary information. Nested schema for deleted:
- href string
- The URL for the target load balancer pool. Mutually exclusive with
id
. Specify "null" during update to remove an existing failsafe target pool. - id string
- The unique identifier for the target load balancer pool. Mutually exclusive with
href
. Specify "null" during update to remove an existing failsafe target pool. - name string
- The name of the pool. Must be unique within the load balancer and follow standard naming conventions.
- deleteds
Sequence[Is
Lb Pool Failsafe Policy Target Deleted] - (List) Indicates if the referenced target resource has been deleted, with supplementary information. Nested schema for deleted:
- href str
- The URL for the target load balancer pool. Mutually exclusive with
id
. Specify "null" during update to remove an existing failsafe target pool. - id str
- The unique identifier for the target load balancer pool. Mutually exclusive with
href
. Specify "null" during update to remove an existing failsafe target pool. - name str
- The name of the pool. Must be unique within the load balancer and follow standard naming conventions.
- deleteds List<Property Map>
- (List) Indicates if the referenced target resource has been deleted, with supplementary information. Nested schema for deleted:
- href String
- The URL for the target load balancer pool. Mutually exclusive with
id
. Specify "null" during update to remove an existing failsafe target pool. - id String
- The unique identifier for the target load balancer pool. Mutually exclusive with
href
. Specify "null" during update to remove an existing failsafe target pool. - name String
- The name of the pool. Must be unique within the load balancer and follow standard naming conventions.
IsLbPoolFailsafePolicyTargetDeleted, IsLbPoolFailsafePolicyTargetDeletedArgs
- More
Info string - (String) Link to documentation about deleted resources.
- More
Info string - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
- more
Info string - (String) Link to documentation about deleted resources.
- more_
info str - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
IsLbPoolTimeouts, IsLbPoolTimeoutsArgs
Import
The ibm_is_lb_pool
resource can be imported using the load balancer ID and pool ID separated by a forward slash.
Syntax
$ pulumi import ibm:index/isLbPool:IsLbPool example <loadbalancer_ID>/<pool_ID>
Example
$ pulumi import ibm:index/isLbPool:IsLbPool example d7bec597-4726-451f-8a63-e62e6f19c32c/cea6651a-bc0a-4438-9f8a-a0770bbf3ebb
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.