1. Packages
  2. Ibm Provider
  3. API Docs
  4. IsLbPool
ibm 1.80.0-beta0 published on Tuesday, Jun 24, 2025 by ibm-cloud

ibm.IsLbPool

Explore with Pulumi AI

ibm logo
ibm 1.80.0-beta0 published on Tuesday, Jun 24, 2025 by ibm-cloud

    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
    

    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
    

    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, or least_connections. Choose least_connections for workloads with varying response times.
    HealthDelay double
    Health check interval in seconds. Must be greater than the health_timeout value. Recommended range: 30-300 seconds.
    HealthRetries double
    Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
    HealthTimeout double
    Health check timeout in seconds. Must be less than health_delay. Recommended range: 5-60 seconds.
    HealthType 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.
    FailsafePolicy IsLbPoolFailsafePolicy
    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:
    HealthMonitorPort double
    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.
    HealthMonitorUrl string
    The health check URL path (e.g., /health, /status). Only applicable for http and https health check types. Defaults to / if not specified.
    IsLbPoolId string
    (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.
    ProxyProtocol 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.
    SessionPersistenceAppCookieName string
    Name of the application cookie used for session persistence. Required and only applicable when session_persistence_type = "app_cookie". Common examples include JSESSIONID, PHPSESSID, or custom application cookies.
    SessionPersistenceType string
    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 IsLbPoolTimeouts
    Algorithm string
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections. Choose least_connections for workloads with varying response times.
    HealthDelay float64
    Health check interval in seconds. Must be greater than the health_timeout value. Recommended range: 30-300 seconds.
    HealthRetries float64
    Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
    HealthTimeout float64
    Health check timeout in seconds. Must be less than health_delay. Recommended range: 5-60 seconds.
    HealthType 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.
    FailsafePolicy IsLbPoolFailsafePolicyArgs
    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:
    HealthMonitorPort float64
    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.
    HealthMonitorUrl string
    The health check URL path (e.g., /health, /status). Only applicable for http and https health check types. Defaults to / if not specified.
    IsLbPoolId string
    (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.
    ProxyProtocol 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.
    SessionPersistenceAppCookieName string
    Name of the application cookie used for session persistence. Required and only applicable when session_persistence_type = "app_cookie". Common examples include JSESSIONID, PHPSESSID, or custom application cookies.
    SessionPersistenceType string
    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 IsLbPoolTimeoutsArgs
    algorithm String
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections. Choose least_connections for workloads with varying response times.
    healthDelay Double
    Health check interval in seconds. Must be greater than the health_timeout value. Recommended range: 30-300 seconds.
    healthRetries Double
    Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
    healthTimeout Double
    Health check timeout in seconds. Must be less than health_delay. Recommended range: 5-60 seconds.
    healthType 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.
    failsafePolicy IsLbPoolFailsafePolicy
    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:
    healthMonitorPort Double
    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.
    healthMonitorUrl String
    The health check URL path (e.g., /health, /status). Only applicable for http and https health check types. Defaults to / if not specified.
    isLbPoolId String
    (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.
    proxyProtocol 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.
    sessionPersistenceAppCookieName String
    Name of the application cookie used for session persistence. Required and only applicable when session_persistence_type = "app_cookie". Common examples include JSESSIONID, PHPSESSID, or custom application cookies.
    sessionPersistenceType String
    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 IsLbPoolTimeouts
    algorithm string
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections. Choose least_connections for workloads with varying response times.
    healthDelay number
    Health check interval in seconds. Must be greater than the health_timeout value. Recommended range: 30-300 seconds.
    healthRetries number
    Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
    healthTimeout number
    Health check timeout in seconds. Must be less than health_delay. Recommended range: 5-60 seconds.
    healthType 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.
    failsafePolicy IsLbPoolFailsafePolicy
    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:
    healthMonitorPort number
    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.
    healthMonitorUrl string
    The health check URL path (e.g., /health, /status). Only applicable for http and https health check types. Defaults to / if not specified.
    isLbPoolId string
    (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.
    proxyProtocol 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.
    sessionPersistenceAppCookieName string
    Name of the application cookie used for session persistence. Required and only applicable when session_persistence_type = "app_cookie". Common examples include JSESSIONID, PHPSESSID, or custom application cookies.
    sessionPersistenceType string
    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 IsLbPoolTimeouts
    algorithm str
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections. Choose least_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 IsLbPoolFailsafePolicyArgs
    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_port float
    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_url str
    The health check URL path (e.g., /health, /status). Only applicable for http and https health check types. Defaults to / if not specified.
    is_lb_pool_id str
    (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.
    session_persistence_app_cookie_name str
    Name of the application cookie used for session persistence. Required and only applicable when session_persistence_type = "app_cookie". Common examples include JSESSIONID, PHPSESSID, or custom application cookies.
    session_persistence_type str
    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 IsLbPoolTimeoutsArgs
    algorithm String
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections. Choose least_connections for workloads with varying response times.
    healthDelay Number
    Health check interval in seconds. Must be greater than the health_timeout value. Recommended range: 30-300 seconds.
    healthRetries Number
    Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
    healthTimeout Number
    Health check timeout in seconds. Must be less than health_delay. Recommended range: 5-60 seconds.
    healthType 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.
    failsafePolicy 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:
    healthMonitorPort Number
    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.
    healthMonitorUrl String
    The health check URL path (e.g., /health, /status). Only applicable for http and https health check types. Defaults to / if not specified.
    isLbPoolId String
    (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.
    proxyProtocol 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.
    sessionPersistenceAppCookieName String
    Name of the application cookie used for session persistence. Required and only applicable when session_persistence_type = "app_cookie". Common examples include JSESSIONID, PHPSESSID, or custom application cookies.
    sessionPersistenceType String
    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.
    PoolId string
    (String) The unique identifier of the load balancer pool (without the load balancer prefix).
    ProvisioningStatus string
    (String) The current provisioning status of the load balancer pool. Possible values: create_pending, active, delete_pending, failed, maintenance_pending, update_pending.
    RelatedCrn string
    (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
    SessionPersistenceHttpCookieName 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.
    PoolId string
    (String) The unique identifier of the load balancer pool (without the load balancer prefix).
    ProvisioningStatus string
    (String) The current provisioning status of the load balancer pool. Possible values: create_pending, active, delete_pending, failed, maintenance_pending, update_pending.
    RelatedCrn string
    (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
    SessionPersistenceHttpCookieName 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.
    poolId String
    (String) The unique identifier of the load balancer pool (without the load balancer prefix).
    provisioningStatus String
    (String) The current provisioning status of the load balancer pool. Possible values: create_pending, active, delete_pending, failed, maintenance_pending, update_pending.
    relatedCrn String
    (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
    sessionPersistenceHttpCookieName 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.
    poolId string
    (String) The unique identifier of the load balancer pool (without the load balancer prefix).
    provisioningStatus string
    (String) The current provisioning status of the load balancer pool. Possible values: create_pending, active, delete_pending, failed, maintenance_pending, update_pending.
    relatedCrn string
    (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
    sessionPersistenceHttpCookieName 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.
    related_crn str
    (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
    session_persistence_http_cookie_name 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.
    poolId String
    (String) The unique identifier of the load balancer pool (without the load balancer prefix).
    provisioningStatus String
    (String) The current provisioning status of the load balancer pool. Possible values: create_pending, active, delete_pending, failed, maintenance_pending, update_pending.
    relatedCrn String
    (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
    sessionPersistenceHttpCookieName 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.
    The following state arguments are supported:
    Algorithm string
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections. Choose least_connections for workloads with varying response times.
    FailsafePolicy IsLbPoolFailsafePolicy
    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:
    HealthDelay double
    Health check interval in seconds. Must be greater than the health_timeout value. Recommended range: 30-300 seconds.
    HealthMonitorPort double
    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.
    HealthMonitorUrl string
    The health check URL path (e.g., /health, /status). Only applicable for http and https health check types. Defaults to / if not specified.
    HealthRetries double
    Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
    HealthTimeout double
    Health check timeout in seconds. Must be less than health_delay. Recommended range: 5-60 seconds.
    HealthType string
    The health check protocol. Supported values: http, https, tcp. Should typically match the pool protocol for optimal compatibility.
    IsLbPoolId string
    (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.
    PoolId 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.
    ProvisioningStatus string
    (String) The current provisioning status of the load balancer pool. Possible values: create_pending, active, delete_pending, failed, maintenance_pending, update_pending.
    ProxyProtocol 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.
    RelatedCrn string
    (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
    SessionPersistenceAppCookieName string
    Name of the application cookie used for session persistence. Required and only applicable when session_persistence_type = "app_cookie". Common examples include JSESSIONID, PHPSESSID, or custom application cookies.
    SessionPersistenceHttpCookieName 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.
    SessionPersistenceType string
    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 IsLbPoolTimeouts
    Algorithm string
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections. Choose least_connections for workloads with varying response times.
    FailsafePolicy IsLbPoolFailsafePolicyArgs
    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:
    HealthDelay float64
    Health check interval in seconds. Must be greater than the health_timeout value. Recommended range: 30-300 seconds.
    HealthMonitorPort float64
    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.
    HealthMonitorUrl string
    The health check URL path (e.g., /health, /status). Only applicable for http and https health check types. Defaults to / if not specified.
    HealthRetries float64
    Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
    HealthTimeout float64
    Health check timeout in seconds. Must be less than health_delay. Recommended range: 5-60 seconds.
    HealthType string
    The health check protocol. Supported values: http, https, tcp. Should typically match the pool protocol for optimal compatibility.
    IsLbPoolId string
    (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.
    PoolId 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.
    ProvisioningStatus string
    (String) The current provisioning status of the load balancer pool. Possible values: create_pending, active, delete_pending, failed, maintenance_pending, update_pending.
    ProxyProtocol 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.
    RelatedCrn string
    (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
    SessionPersistenceAppCookieName string
    Name of the application cookie used for session persistence. Required and only applicable when session_persistence_type = "app_cookie". Common examples include JSESSIONID, PHPSESSID, or custom application cookies.
    SessionPersistenceHttpCookieName 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.
    SessionPersistenceType string
    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 IsLbPoolTimeoutsArgs
    algorithm String
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections. Choose least_connections for workloads with varying response times.
    failsafePolicy IsLbPoolFailsafePolicy
    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:
    healthDelay Double
    Health check interval in seconds. Must be greater than the health_timeout value. Recommended range: 30-300 seconds.
    healthMonitorPort Double
    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.
    healthMonitorUrl String
    The health check URL path (e.g., /health, /status). Only applicable for http and https health check types. Defaults to / if not specified.
    healthRetries Double
    Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
    healthTimeout Double
    Health check timeout in seconds. Must be less than health_delay. Recommended range: 5-60 seconds.
    healthType String
    The health check protocol. Supported values: http, https, tcp. Should typically match the pool protocol for optimal compatibility.
    isLbPoolId String
    (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.
    poolId 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.
    provisioningStatus String
    (String) The current provisioning status of the load balancer pool. Possible values: create_pending, active, delete_pending, failed, maintenance_pending, update_pending.
    proxyProtocol 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.
    relatedCrn String
    (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
    sessionPersistenceAppCookieName String
    Name of the application cookie used for session persistence. Required and only applicable when session_persistence_type = "app_cookie". Common examples include JSESSIONID, PHPSESSID, or custom application cookies.
    sessionPersistenceHttpCookieName 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.
    sessionPersistenceType String
    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 IsLbPoolTimeouts
    algorithm string
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections. Choose least_connections for workloads with varying response times.
    failsafePolicy IsLbPoolFailsafePolicy
    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:
    healthDelay number
    Health check interval in seconds. Must be greater than the health_timeout value. Recommended range: 30-300 seconds.
    healthMonitorPort number
    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.
    healthMonitorUrl string
    The health check URL path (e.g., /health, /status). Only applicable for http and https health check types. Defaults to / if not specified.
    healthRetries number
    Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
    healthTimeout number
    Health check timeout in seconds. Must be less than health_delay. Recommended range: 5-60 seconds.
    healthType string
    The health check protocol. Supported values: http, https, tcp. Should typically match the pool protocol for optimal compatibility.
    isLbPoolId string
    (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.
    poolId 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.
    provisioningStatus string
    (String) The current provisioning status of the load balancer pool. Possible values: create_pending, active, delete_pending, failed, maintenance_pending, update_pending.
    proxyProtocol 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.
    relatedCrn string
    (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
    sessionPersistenceAppCookieName string
    Name of the application cookie used for session persistence. Required and only applicable when session_persistence_type = "app_cookie". Common examples include JSESSIONID, PHPSESSID, or custom application cookies.
    sessionPersistenceHttpCookieName 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.
    sessionPersistenceType string
    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 IsLbPoolTimeouts
    algorithm str
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections. Choose least_connections for workloads with varying response times.
    failsafe_policy IsLbPoolFailsafePolicyArgs
    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_port float
    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_url str
    The health check URL path (e.g., /health, /status). Only applicable for http and https 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_pool_id str
    (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.
    related_crn str
    (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
    session_persistence_app_cookie_name str
    Name of the application cookie used for session persistence. Required and only applicable when session_persistence_type = "app_cookie". Common examples include JSESSIONID, PHPSESSID, or custom application cookies.
    session_persistence_http_cookie_name 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_type str
    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 IsLbPoolTimeoutsArgs
    algorithm String
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections. Choose least_connections for workloads with varying response times.
    failsafePolicy 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:
    healthDelay Number
    Health check interval in seconds. Must be greater than the health_timeout value. Recommended range: 30-300 seconds.
    healthMonitorPort Number
    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.
    healthMonitorUrl String
    The health check URL path (e.g., /health, /status). Only applicable for http and https health check types. Defaults to / if not specified.
    healthRetries Number
    Maximum number of health check retries before marking a member unhealthy. Recommended range: 2-10.
    healthTimeout Number
    Health check timeout in seconds. Must be less than health_delay. Recommended range: 5-60 seconds.
    healthType String
    The health check protocol. Supported values: http, https, tcp. Should typically match the pool protocol for optimal compatibility.
    isLbPoolId String
    (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.
    poolId 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.
    provisioningStatus String
    (String) The current provisioning status of the load balancer pool. Possible values: create_pending, active, delete_pending, failed, maintenance_pending, update_pending.
    proxyProtocol 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.
    relatedCrn String
    (String) The Cloud Resource Name (CRN) of the associated load balancer resource.
    sessionPersistenceAppCookieName String
    Name of the application cookie used for session persistence. Required and only applicable when session_persistence_type = "app_cookie". Common examples include JSESSIONID, PHPSESSID, or custom application cookies.
    sessionPersistenceHttpCookieName 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.
    sessionPersistenceType String
    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) or fail (rejects requests with HTTP 503). The enumerated values for this property may expand in the future.
    HealthyMemberThresholdCount double
    (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 is 0.
    Target IsLbPoolFailsafePolicyTarget
    Target pool for forward action. Not applicable when action is fail. 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) or fail (rejects requests with HTTP 503). The enumerated values for this property may expand in the future.
    HealthyMemberThresholdCount float64
    (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 is 0.
    Target IsLbPoolFailsafePolicyTarget
    Target pool for forward action. Not applicable when action is fail. 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) or fail (rejects requests with HTTP 503). The enumerated values for this property may expand in the future.
    healthyMemberThresholdCount Double
    (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 is 0.
    target IsLbPoolFailsafePolicyTarget
    Target pool for forward action. Not applicable when action is fail. 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) or fail (rejects requests with HTTP 503). The enumerated values for this property may expand in the future.
    healthyMemberThresholdCount number
    (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 is 0.
    target IsLbPoolFailsafePolicyTarget
    Target pool for forward action. Not applicable when action is fail. 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) or fail (rejects requests with HTTP 503). The enumerated values for this property may expand in the future.
    healthy_member_threshold_count float
    (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 is 0.
    target IsLbPoolFailsafePolicyTarget
    Target pool for forward action. Not applicable when action is fail. 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) or fail (rejects requests with HTTP 503). The enumerated values for this property may expand in the future.
    healthyMemberThresholdCount Number
    (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 is 0.
    target Property Map
    Target pool for forward action. Not applicable when action is fail. The targets supported by this property may expand in the future. Nested schema for target:

    IsLbPoolFailsafePolicyTarget, IsLbPoolFailsafePolicyTargetArgs

    Deleteds List<IsLbPoolFailsafePolicyTargetDeleted>
    (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 []IsLbPoolFailsafePolicyTargetDeleted
    (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<IsLbPoolFailsafePolicyTargetDeleted>
    (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 IsLbPoolFailsafePolicyTargetDeleted[]
    (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[IsLbPoolFailsafePolicyTargetDeleted]
    (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

    MoreInfo string
    (String) Link to documentation about deleted resources.
    MoreInfo string
    (String) Link to documentation about deleted resources.
    moreInfo String
    (String) Link to documentation about deleted resources.
    moreInfo string
    (String) Link to documentation about deleted resources.
    more_info str
    (String) Link to documentation about deleted resources.
    moreInfo String
    (String) Link to documentation about deleted resources.

    IsLbPoolTimeouts, IsLbPoolTimeoutsArgs

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

    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.
    ibm logo
    ibm 1.80.0-beta0 published on Tuesday, Jun 24, 2025 by ibm-cloud