1. Packages
  2. Ibm Provider
  3. API Docs
  4. IsLbPool
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.IsLbPool

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Create, update, or delete a VPC load balancer pool. For more information, about load balancer pool, see working with pool.

    Note: VPC infrastructure services are a regional specific based endpoint, by default targets to us-south. Please make sure to target right region in the provider block as shown in the provider.tf file, if VPC service is created in region other than us-south.

    provider.tf

    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    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) {
        }
    }
    
    {}
    

    Example Usage

    Sample to create a load balancer pool.

    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
    

    Sample to create a load balancer pool with https 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: "https",
        healthDelay: 60,
        healthRetries: 5,
        healthTimeout: 30,
        healthType: "https",
        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",
        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"),
    			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",
            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")
                .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
          proxyProtocol: v1
    

    In the following example, you can create a load balancer pool with app_cookie session persistence:

    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
    

    In the following example, you can create a load balancer pool with http_cookie session persistence:

    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
    

    In the following example, you can create a load balancer pool with source_ip session persistence:

    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
    

    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)
        .lb("string")
        .algorithm("string")
        .healthRetries(0)
        .healthTimeout(0)
        .isLbPoolId("string")
        .healthMonitorUrl("string")
        .healthMonitorPort(0)
        .name("string")
        .failsafePolicy(IsLbPoolFailsafePolicyArgs.builder()
            .action("string")
            .healthyMemberThresholdCount(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.
    HealthDelay double
    The health check interval in seconds. Interval must be greater than timeout value.
    HealthRetries double
    The health check max retries.
    HealthTimeout double
    The health check timeout in seconds.
    HealthType string
    The pool protocol. Enumeration type: http, https, tcp are supported.
    Lb string
    The load balancer unique identifier.
    Protocol string
    The pool protocol. Enumeration type: http, https, tcp, udp are supported.
    FailsafePolicy IsLbPoolFailsafePolicy
    The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
    HealthMonitorPort double
    The health check port number. Specify 0 to remove an existing health check port.
    HealthMonitorUrl string
    The health check URL. This option is applicable only to the HTTP health-type.
    IsLbPoolId string
    (String) The unique identifier for this load balancer pool.
    Name string
    The name of the pool.
    ProxyProtocol string
    The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are disabled, v1, and v2. Default value is disabled.
    SessionPersistenceAppCookieName string
    Session persistence app cookie name. This is applicable only to app_cookie type.
    SessionPersistenceType string
    The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
    Timeouts IsLbPoolTimeouts
    Algorithm string
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections.
    HealthDelay float64
    The health check interval in seconds. Interval must be greater than timeout value.
    HealthRetries float64
    The health check max retries.
    HealthTimeout float64
    The health check timeout in seconds.
    HealthType string
    The pool protocol. Enumeration type: http, https, tcp are supported.
    Lb string
    The load balancer unique identifier.
    Protocol string
    The pool protocol. Enumeration type: http, https, tcp, udp are supported.
    FailsafePolicy IsLbPoolFailsafePolicyArgs
    The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
    HealthMonitorPort float64
    The health check port number. Specify 0 to remove an existing health check port.
    HealthMonitorUrl string
    The health check URL. This option is applicable only to the HTTP health-type.
    IsLbPoolId string
    (String) The unique identifier for this load balancer pool.
    Name string
    The name of the pool.
    ProxyProtocol string
    The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are disabled, v1, and v2. Default value is disabled.
    SessionPersistenceAppCookieName string
    Session persistence app cookie name. This is applicable only to app_cookie type.
    SessionPersistenceType string
    The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
    Timeouts IsLbPoolTimeoutsArgs
    algorithm String
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections.
    healthDelay Double
    The health check interval in seconds. Interval must be greater than timeout value.
    healthRetries Double
    The health check max retries.
    healthTimeout Double
    The health check timeout in seconds.
    healthType String
    The pool protocol. Enumeration type: http, https, tcp are supported.
    lb String
    The load balancer unique identifier.
    protocol String
    The pool protocol. Enumeration type: http, https, tcp, udp are supported.
    failsafePolicy IsLbPoolFailsafePolicy
    The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
    healthMonitorPort Double
    The health check port number. Specify 0 to remove an existing health check port.
    healthMonitorUrl String
    The health check URL. This option is applicable only to the HTTP health-type.
    isLbPoolId String
    (String) The unique identifier for this load balancer pool.
    name String
    The name of the pool.
    proxyProtocol String
    The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are disabled, v1, and v2. Default value is disabled.
    sessionPersistenceAppCookieName String
    Session persistence app cookie name. This is applicable only to app_cookie type.
    sessionPersistenceType String
    The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
    timeouts IsLbPoolTimeouts
    algorithm string
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections.
    healthDelay number
    The health check interval in seconds. Interval must be greater than timeout value.
    healthRetries number
    The health check max retries.
    healthTimeout number
    The health check timeout in seconds.
    healthType string
    The pool protocol. Enumeration type: http, https, tcp are supported.
    lb string
    The load balancer unique identifier.
    protocol string
    The pool protocol. Enumeration type: http, https, tcp, udp are supported.
    failsafePolicy IsLbPoolFailsafePolicy
    The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
    healthMonitorPort number
    The health check port number. Specify 0 to remove an existing health check port.
    healthMonitorUrl string
    The health check URL. This option is applicable only to the HTTP health-type.
    isLbPoolId string
    (String) The unique identifier for this load balancer pool.
    name string
    The name of the pool.
    proxyProtocol string
    The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are disabled, v1, and v2. Default value is disabled.
    sessionPersistenceAppCookieName string
    Session persistence app cookie name. This is applicable only to app_cookie type.
    sessionPersistenceType string
    The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
    timeouts IsLbPoolTimeouts
    algorithm str
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections.
    health_delay float
    The health check interval in seconds. Interval must be greater than timeout value.
    health_retries float
    The health check max retries.
    health_timeout float
    The health check timeout in seconds.
    health_type str
    The pool protocol. Enumeration type: http, https, tcp are supported.
    lb str
    The load balancer unique identifier.
    protocol str
    The pool protocol. Enumeration type: http, https, tcp, udp are supported.
    failsafe_policy IsLbPoolFailsafePolicyArgs
    The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
    health_monitor_port float
    The health check port number. Specify 0 to remove an existing health check port.
    health_monitor_url str
    The health check URL. This option is applicable only to the HTTP health-type.
    is_lb_pool_id str
    (String) The unique identifier for this load balancer pool.
    name str
    The name of the pool.
    proxy_protocol str
    The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are disabled, v1, and v2. Default value is disabled.
    session_persistence_app_cookie_name str
    Session persistence app cookie name. This is applicable only to app_cookie type.
    session_persistence_type str
    The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
    timeouts IsLbPoolTimeoutsArgs
    algorithm String
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections.
    healthDelay Number
    The health check interval in seconds. Interval must be greater than timeout value.
    healthRetries Number
    The health check max retries.
    healthTimeout Number
    The health check timeout in seconds.
    healthType String
    The pool protocol. Enumeration type: http, https, tcp are supported.
    lb String
    The load balancer unique identifier.
    protocol String
    The pool protocol. Enumeration type: http, https, tcp, udp are supported.
    failsafePolicy Property Map
    The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
    healthMonitorPort Number
    The health check port number. Specify 0 to remove an existing health check port.
    healthMonitorUrl String
    The health check URL. This option is applicable only to the HTTP health-type.
    isLbPoolId String
    (String) The unique identifier for this load balancer pool.
    name String
    The name of the pool.
    proxyProtocol String
    The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are disabled, v1, and v2. Default value is disabled.
    sessionPersistenceAppCookieName String
    Session persistence app cookie name. This is applicable only to app_cookie type.
    sessionPersistenceType String
    The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
    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) ID of the load balancer pool.
    ProvisioningStatus string
    (String) The status of load balancer pool.
    RelatedCrn string
    (String) The CRN of the load balancer resource.
    SessionPersistenceHttpCookieName string
    (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
    Id string
    The provider-assigned unique ID for this managed resource.
    PoolId string
    (String) ID of the load balancer pool.
    ProvisioningStatus string
    (String) The status of load balancer pool.
    RelatedCrn string
    (String) The CRN of the load balancer resource.
    SessionPersistenceHttpCookieName string
    (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
    id String
    The provider-assigned unique ID for this managed resource.
    poolId String
    (String) ID of the load balancer pool.
    provisioningStatus String
    (String) The status of load balancer pool.
    relatedCrn String
    (String) The CRN of the load balancer resource.
    sessionPersistenceHttpCookieName String
    (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
    id string
    The provider-assigned unique ID for this managed resource.
    poolId string
    (String) ID of the load balancer pool.
    provisioningStatus string
    (String) The status of load balancer pool.
    relatedCrn string
    (String) The CRN of the load balancer resource.
    sessionPersistenceHttpCookieName string
    (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
    id str
    The provider-assigned unique ID for this managed resource.
    pool_id str
    (String) ID of the load balancer pool.
    provisioning_status str
    (String) The status of load balancer pool.
    related_crn str
    (String) The CRN of the load balancer resource.
    session_persistence_http_cookie_name str
    (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
    id String
    The provider-assigned unique ID for this managed resource.
    poolId String
    (String) ID of the load balancer pool.
    provisioningStatus String
    (String) The status of load balancer pool.
    relatedCrn String
    (String) The CRN of the load balancer resource.
    sessionPersistenceHttpCookieName String
    (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.

    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.
    FailsafePolicy IsLbPoolFailsafePolicy
    The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
    HealthDelay double
    The health check interval in seconds. Interval must be greater than timeout value.
    HealthMonitorPort double
    The health check port number. Specify 0 to remove an existing health check port.
    HealthMonitorUrl string
    The health check URL. This option is applicable only to the HTTP health-type.
    HealthRetries double
    The health check max retries.
    HealthTimeout double
    The health check timeout in seconds.
    HealthType string
    The pool protocol. Enumeration type: http, https, tcp are supported.
    IsLbPoolId string
    (String) The unique identifier for this load balancer pool.
    Lb string
    The load balancer unique identifier.
    Name string
    The name of the pool.
    PoolId string
    (String) ID of the load balancer pool.
    Protocol string
    The pool protocol. Enumeration type: http, https, tcp, udp are supported.
    ProvisioningStatus string
    (String) The status of load balancer pool.
    ProxyProtocol string
    The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are disabled, v1, and v2. Default value is disabled.
    RelatedCrn string
    (String) The CRN of the load balancer resource.
    SessionPersistenceAppCookieName string
    Session persistence app cookie name. This is applicable only to app_cookie type.
    SessionPersistenceHttpCookieName string
    (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
    SessionPersistenceType string
    The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
    Timeouts IsLbPoolTimeouts
    Algorithm string
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections.
    FailsafePolicy IsLbPoolFailsafePolicyArgs
    The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
    HealthDelay float64
    The health check interval in seconds. Interval must be greater than timeout value.
    HealthMonitorPort float64
    The health check port number. Specify 0 to remove an existing health check port.
    HealthMonitorUrl string
    The health check URL. This option is applicable only to the HTTP health-type.
    HealthRetries float64
    The health check max retries.
    HealthTimeout float64
    The health check timeout in seconds.
    HealthType string
    The pool protocol. Enumeration type: http, https, tcp are supported.
    IsLbPoolId string
    (String) The unique identifier for this load balancer pool.
    Lb string
    The load balancer unique identifier.
    Name string
    The name of the pool.
    PoolId string
    (String) ID of the load balancer pool.
    Protocol string
    The pool protocol. Enumeration type: http, https, tcp, udp are supported.
    ProvisioningStatus string
    (String) The status of load balancer pool.
    ProxyProtocol string
    The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are disabled, v1, and v2. Default value is disabled.
    RelatedCrn string
    (String) The CRN of the load balancer resource.
    SessionPersistenceAppCookieName string
    Session persistence app cookie name. This is applicable only to app_cookie type.
    SessionPersistenceHttpCookieName string
    (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
    SessionPersistenceType string
    The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
    Timeouts IsLbPoolTimeoutsArgs
    algorithm String
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections.
    failsafePolicy IsLbPoolFailsafePolicy
    The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
    healthDelay Double
    The health check interval in seconds. Interval must be greater than timeout value.
    healthMonitorPort Double
    The health check port number. Specify 0 to remove an existing health check port.
    healthMonitorUrl String
    The health check URL. This option is applicable only to the HTTP health-type.
    healthRetries Double
    The health check max retries.
    healthTimeout Double
    The health check timeout in seconds.
    healthType String
    The pool protocol. Enumeration type: http, https, tcp are supported.
    isLbPoolId String
    (String) The unique identifier for this load balancer pool.
    lb String
    The load balancer unique identifier.
    name String
    The name of the pool.
    poolId String
    (String) ID of the load balancer pool.
    protocol String
    The pool protocol. Enumeration type: http, https, tcp, udp are supported.
    provisioningStatus String
    (String) The status of load balancer pool.
    proxyProtocol String
    The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are disabled, v1, and v2. Default value is disabled.
    relatedCrn String
    (String) The CRN of the load balancer resource.
    sessionPersistenceAppCookieName String
    Session persistence app cookie name. This is applicable only to app_cookie type.
    sessionPersistenceHttpCookieName String
    (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
    sessionPersistenceType String
    The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
    timeouts IsLbPoolTimeouts
    algorithm string
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections.
    failsafePolicy IsLbPoolFailsafePolicy
    The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
    healthDelay number
    The health check interval in seconds. Interval must be greater than timeout value.
    healthMonitorPort number
    The health check port number. Specify 0 to remove an existing health check port.
    healthMonitorUrl string
    The health check URL. This option is applicable only to the HTTP health-type.
    healthRetries number
    The health check max retries.
    healthTimeout number
    The health check timeout in seconds.
    healthType string
    The pool protocol. Enumeration type: http, https, tcp are supported.
    isLbPoolId string
    (String) The unique identifier for this load balancer pool.
    lb string
    The load balancer unique identifier.
    name string
    The name of the pool.
    poolId string
    (String) ID of the load balancer pool.
    protocol string
    The pool protocol. Enumeration type: http, https, tcp, udp are supported.
    provisioningStatus string
    (String) The status of load balancer pool.
    proxyProtocol string
    The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are disabled, v1, and v2. Default value is disabled.
    relatedCrn string
    (String) The CRN of the load balancer resource.
    sessionPersistenceAppCookieName string
    Session persistence app cookie name. This is applicable only to app_cookie type.
    sessionPersistenceHttpCookieName string
    (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
    sessionPersistenceType string
    The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
    timeouts IsLbPoolTimeouts
    algorithm str
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections.
    failsafe_policy IsLbPoolFailsafePolicyArgs
    The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
    health_delay float
    The health check interval in seconds. Interval must be greater than timeout value.
    health_monitor_port float
    The health check port number. Specify 0 to remove an existing health check port.
    health_monitor_url str
    The health check URL. This option is applicable only to the HTTP health-type.
    health_retries float
    The health check max retries.
    health_timeout float
    The health check timeout in seconds.
    health_type str
    The pool protocol. Enumeration type: http, https, tcp are supported.
    is_lb_pool_id str
    (String) The unique identifier for this load balancer pool.
    lb str
    The load balancer unique identifier.
    name str
    The name of the pool.
    pool_id str
    (String) ID of the load balancer pool.
    protocol str
    The pool protocol. Enumeration type: http, https, tcp, udp are supported.
    provisioning_status str
    (String) The status of load balancer pool.
    proxy_protocol str
    The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are disabled, v1, and v2. Default value is disabled.
    related_crn str
    (String) The CRN of the load balancer resource.
    session_persistence_app_cookie_name str
    Session persistence app cookie name. This is applicable only to app_cookie type.
    session_persistence_http_cookie_name str
    (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
    session_persistence_type str
    The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
    timeouts IsLbPoolTimeoutsArgs
    algorithm String
    The load-balancing algorithm. Supported values are round_robin, weighted_round_robin, or least_connections.
    failsafePolicy Property Map
    The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
    healthDelay Number
    The health check interval in seconds. Interval must be greater than timeout value.
    healthMonitorPort Number
    The health check port number. Specify 0 to remove an existing health check port.
    healthMonitorUrl String
    The health check URL. This option is applicable only to the HTTP health-type.
    healthRetries Number
    The health check max retries.
    healthTimeout Number
    The health check timeout in seconds.
    healthType String
    The pool protocol. Enumeration type: http, https, tcp are supported.
    isLbPoolId String
    (String) The unique identifier for this load balancer pool.
    lb String
    The load balancer unique identifier.
    name String
    The name of the pool.
    poolId String
    (String) ID of the load balancer pool.
    protocol String
    The pool protocol. Enumeration type: http, https, tcp, udp are supported.
    provisioningStatus String
    (String) The status of load balancer pool.
    proxyProtocol String
    The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are disabled, v1, and v2. Default value is disabled.
    relatedCrn String
    (String) The CRN of the load balancer resource.
    sessionPersistenceAppCookieName String
    Session persistence app cookie name. This is applicable only to app_cookie type.
    sessionPersistenceHttpCookieName String
    (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
    sessionPersistenceType String
    The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
    timeouts Property Map

    Supporting Types

    IsLbPoolFailsafePolicy, IsLbPoolFailsafePolicyArgs

    Action string
    A load balancer failsafe policy action:- forward: Forwards requests to the target pool.- fail: Rejects requests with an HTTP 503 status code.The enumerated values for this property mayexpand in the future.
    HealthyMemberThresholdCount double
    (Integer) The healthy member count at which the failsafe policy action will be triggered. At present, this is always 0, but may be modifiable in the future. The minimum value is 0.
    Target IsLbPoolFailsafePolicyTarget
    If action is forward, the target pool to forward to.If action is fail, this property will be absent.The targets supported by this property mayexpand in the future. Nested schema for target:
    Action string
    A load balancer failsafe policy action:- forward: Forwards requests to the target pool.- fail: Rejects requests with an HTTP 503 status code.The enumerated values for this property mayexpand in the future.
    HealthyMemberThresholdCount float64
    (Integer) The healthy member count at which the failsafe policy action will be triggered. At present, this is always 0, but may be modifiable in the future. The minimum value is 0.
    Target IsLbPoolFailsafePolicyTarget
    If action is forward, the target pool to forward to.If action is fail, this property will be absent.The targets supported by this property mayexpand in the future. Nested schema for target:
    action String
    A load balancer failsafe policy action:- forward: Forwards requests to the target pool.- fail: Rejects requests with an HTTP 503 status code.The enumerated values for this property mayexpand in the future.
    healthyMemberThresholdCount Double
    (Integer) The healthy member count at which the failsafe policy action will be triggered. At present, this is always 0, but may be modifiable in the future. The minimum value is 0.
    target IsLbPoolFailsafePolicyTarget
    If action is forward, the target pool to forward to.If action is fail, this property will be absent.The targets supported by this property mayexpand in the future. Nested schema for target:
    action string
    A load balancer failsafe policy action:- forward: Forwards requests to the target pool.- fail: Rejects requests with an HTTP 503 status code.The enumerated values for this property mayexpand in the future.
    healthyMemberThresholdCount number
    (Integer) The healthy member count at which the failsafe policy action will be triggered. At present, this is always 0, but may be modifiable in the future. The minimum value is 0.
    target IsLbPoolFailsafePolicyTarget
    If action is forward, the target pool to forward to.If action is fail, this property will be absent.The targets supported by this property mayexpand in the future. Nested schema for target:
    action str
    A load balancer failsafe policy action:- forward: Forwards requests to the target pool.- fail: Rejects requests with an HTTP 503 status code.The enumerated values for this property mayexpand in the future.
    healthy_member_threshold_count float
    (Integer) The healthy member count at which the failsafe policy action will be triggered. At present, this is always 0, but may be modifiable in the future. The minimum value is 0.
    target IsLbPoolFailsafePolicyTarget
    If action is forward, the target pool to forward to.If action is fail, this property will be absent.The targets supported by this property mayexpand in the future. Nested schema for target:
    action String
    A load balancer failsafe policy action:- forward: Forwards requests to the target pool.- fail: Rejects requests with an HTTP 503 status code.The enumerated values for this property mayexpand in the future.
    healthyMemberThresholdCount Number
    (Integer) The healthy member count at which the failsafe policy action will be triggered. At present, this is always 0, but may be modifiable in the future. The minimum value is 0.
    target Property Map
    If action is forward, the target pool to forward to.If action is fail, this property will be absent.The targets supported by this property mayexpand in the future. Nested schema for target:

    IsLbPoolFailsafePolicyTarget, IsLbPoolFailsafePolicyTargetArgs

    Deleteds List<IsLbPoolFailsafePolicyTargetDeleted>
    (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
    Href string
    The URL for this load balancer pool. Mutually exclusive with id. On update, specify "null" to remove an existing failsafe target pool.
    Id string
    The unique identifier for this load balancer pool. Mutually exclusive with href. On update, specify "null" to remove an existing failsafe target pool.
    Name string
    The name of the pool.
    Deleteds []IsLbPoolFailsafePolicyTargetDeleted
    (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
    Href string
    The URL for this load balancer pool. Mutually exclusive with id. On update, specify "null" to remove an existing failsafe target pool.
    Id string
    The unique identifier for this load balancer pool. Mutually exclusive with href. On update, specify "null" to remove an existing failsafe target pool.
    Name string
    The name of the pool.
    deleteds List<IsLbPoolFailsafePolicyTargetDeleted>
    (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
    href String
    The URL for this load balancer pool. Mutually exclusive with id. On update, specify "null" to remove an existing failsafe target pool.
    id String
    The unique identifier for this load balancer pool. Mutually exclusive with href. On update, specify "null" to remove an existing failsafe target pool.
    name String
    The name of the pool.
    deleteds IsLbPoolFailsafePolicyTargetDeleted[]
    (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
    href string
    The URL for this load balancer pool. Mutually exclusive with id. On update, specify "null" to remove an existing failsafe target pool.
    id string
    The unique identifier for this load balancer pool. Mutually exclusive with href. On update, specify "null" to remove an existing failsafe target pool.
    name string
    The name of the pool.
    deleteds Sequence[IsLbPoolFailsafePolicyTargetDeleted]
    (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
    href str
    The URL for this load balancer pool. Mutually exclusive with id. On update, specify "null" to remove an existing failsafe target pool.
    id str
    The unique identifier for this load balancer pool. Mutually exclusive with href. On update, specify "null" to remove an existing failsafe target pool.
    name str
    The name of the pool.
    deleteds List<Property Map>
    (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
    href String
    The URL for this load balancer pool. Mutually exclusive with id. On update, specify "null" to remove an existing failsafe target pool.
    id String
    The unique identifier for this load balancer pool. Mutually exclusive with href. On update, specify "null" to remove an existing failsafe target pool.
    name String
    The name of the pool.

    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 by using the load balancer ID and pool ID.

    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.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud