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

ibm.Lbaas

Explore with Pulumi AI

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

    Create, delete, and update a load balancer as a service. For more information, about load balancer as a service, see about IBM Cloud load balancer. Currently, only one subnet is supported.

    Cloud load balancer creation takes 5 to 10 minutes. Destroy can take up to 30 minutes. Cloud Load Balancer does not support customization of acceptable response codes. Only the range 2xx is considered healthy. Redirects in the range 3xx are considered unhealthy.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const lbaas = new ibm.Lbaas("lbaas", {
        description: "delete this",
        protocols: [
            {
                backendPort: 80,
                backendProtocol: "HTTP",
                frontendPort: 443,
                frontendProtocol: "HTTPS",
                loadBalancingMethod: "round_robin",
                tlsCertificateId: 11670,
            },
            {
                backendPort: 80,
                backendProtocol: "HTTP",
                frontendPort: 80,
                frontendProtocol: "HTTP",
                loadBalancingMethod: "round_robin",
            },
        ],
        subnets: [1511875],
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    lbaas = ibm.Lbaas("lbaas",
        description="delete this",
        protocols=[
            {
                "backend_port": 80,
                "backend_protocol": "HTTP",
                "frontend_port": 443,
                "frontend_protocol": "HTTPS",
                "load_balancing_method": "round_robin",
                "tls_certificate_id": 11670,
            },
            {
                "backend_port": 80,
                "backend_protocol": "HTTP",
                "frontend_port": 80,
                "frontend_protocol": "HTTP",
                "load_balancing_method": "round_robin",
            },
        ],
        subnets=[1511875])
    
    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.NewLbaas(ctx, "lbaas", &ibm.LbaasArgs{
    			Description: pulumi.String("delete this"),
    			Protocols: ibm.LbaasProtocolArray{
    				&ibm.LbaasProtocolArgs{
    					BackendPort:         pulumi.Float64(80),
    					BackendProtocol:     pulumi.String("HTTP"),
    					FrontendPort:        pulumi.Float64(443),
    					FrontendProtocol:    pulumi.String("HTTPS"),
    					LoadBalancingMethod: pulumi.String("round_robin"),
    					TlsCertificateId:    pulumi.Float64(11670),
    				},
    				&ibm.LbaasProtocolArgs{
    					BackendPort:         pulumi.Float64(80),
    					BackendProtocol:     pulumi.String("HTTP"),
    					FrontendPort:        pulumi.Float64(80),
    					FrontendProtocol:    pulumi.String("HTTP"),
    					LoadBalancingMethod: pulumi.String("round_robin"),
    				},
    			},
    			Subnets: pulumi.Float64Array{
    				pulumi.Float64(1511875),
    			},
    		})
    		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 lbaas = new Ibm.Lbaas("lbaas", new()
        {
            Description = "delete this",
            Protocols = new[]
            {
                new Ibm.Inputs.LbaasProtocolArgs
                {
                    BackendPort = 80,
                    BackendProtocol = "HTTP",
                    FrontendPort = 443,
                    FrontendProtocol = "HTTPS",
                    LoadBalancingMethod = "round_robin",
                    TlsCertificateId = 11670,
                },
                new Ibm.Inputs.LbaasProtocolArgs
                {
                    BackendPort = 80,
                    BackendProtocol = "HTTP",
                    FrontendPort = 80,
                    FrontendProtocol = "HTTP",
                    LoadBalancingMethod = "round_robin",
                },
            },
            Subnets = new[]
            {
                1511875,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.Lbaas;
    import com.pulumi.ibm.LbaasArgs;
    import com.pulumi.ibm.inputs.LbaasProtocolArgs;
    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 lbaas = new Lbaas("lbaas", LbaasArgs.builder()
                .description("delete this")
                .protocols(            
                    LbaasProtocolArgs.builder()
                        .backendPort(80)
                        .backendProtocol("HTTP")
                        .frontendPort(443)
                        .frontendProtocol("HTTPS")
                        .loadBalancingMethod("round_robin")
                        .tlsCertificateId(11670)
                        .build(),
                    LbaasProtocolArgs.builder()
                        .backendPort(80)
                        .backendProtocol("HTTP")
                        .frontendPort(80)
                        .frontendProtocol("HTTP")
                        .loadBalancingMethod("round_robin")
                        .build())
                .subnets(1511875)
                .build());
    
        }
    }
    
    resources:
      lbaas:
        type: ibm:Lbaas
        properties:
          description: delete this
          protocols:
            - backendPort: 80
              backendProtocol: HTTP
              frontendPort: 443
              frontendProtocol: HTTPS
              loadBalancingMethod: round_robin
              tlsCertificateId: 11670
            - backendPort: 80
              backendProtocol: HTTP
              frontendPort: 80
              frontendProtocol: HTTP
              loadBalancingMethod: round_robin
          subnets:
            - 1.511875e+06
    

    Argument reference

    Review the argument references that you can specify for your resource.

    • description- (Optional, String) A description of the load balancer.

    • name - (Required, Forces new resource, String)The load balancer’s name.

    • protocols- (Optional, List) A nested block describes the protocols that are assigned to load balancer.

      Nested scheme for protocols:

      • backend_protocol - (Required, String)The back-end protocol. Accepted values are ‘TCP’, ‘HTTP’, and ‘HTTPS’.
      • backend_port- (Required, Integer) The back-end protocol port number. The port number must be in the range of 1-65535.
      • frontend_protocol - (Required, String)The front-end protocol. Accepted values are ‘TCP’, ‘HTTP’, and ‘HTTPS’. No.
      • frontend_port- (Required, Integer) The front-end protocol port number. The port number must be in the range of 1-65535.
      • load_balancing_method- (Optional, String) The load-balancing algorithm. Accepted values are ‘round_robin’, ‘weighted_round_robin’, and ’least_connection’. The default is ‘round_robin’.
      • max_conn - (Optional, Integer)The maximum number of connections the listener can accept. The number must be 1-64000.
      • session_stickiness- (Optional, String) The SOURCE_IP for session stickiness.
      • tls_certificate_id - (Optional, Integer)The ID of the SSL/TLS certificate used for a protocol. This ID should be specified when front-end protocol has a value of HTTPS.
    • session_stickiness - (Optional, String) The SOURCE_IP or HTTP_COOKIE for session stickiness.No-

    • ssl_ciphers - (Optional, List) The comma-separated list of SSL Ciphers. You can find list of supported ciphers SSL_offload.

    • type- (Optional, Forces new resource, String) Specify whether this load balancer is a public or internal facing load balancer. Accepted values are PUBLIC or PRIVATE. The default is PUBLIC.

    • subnets - (Required, Forces new resource, Array) The subnet where the load balancer will be provisioned. Only one subnet is supported.

    • use_system_public_ip_pool - (Optional, Bool) Applicable for public load balancer only. It specifies whether the public IP addresses are allocated from system public IP pool or public subnet from the account order of the load balancer. The default value is true.

    • wait_time_minutes - (Required, Integer) The duration, expressed in minutes, to wait for the LBaaS instance to become available before declaring it as created. It is also the same amount of time waited for deletion to finish. The default value is 90.

    Create Lbaas Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Lbaas(name: string, args: LbaasArgs, opts?: CustomResourceOptions);
    @overload
    def Lbaas(resource_name: str,
              args: LbaasArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Lbaas(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              subnets: Optional[Sequence[float]] = None,
              description: Optional[str] = None,
              lbaas_id: Optional[str] = None,
              name: Optional[str] = None,
              protocols: Optional[Sequence[LbaasProtocolArgs]] = None,
              ssl_ciphers: Optional[Sequence[str]] = None,
              type: Optional[str] = None,
              use_system_public_ip_pool: Optional[bool] = None,
              wait_time_minutes: Optional[float] = None)
    func NewLbaas(ctx *Context, name string, args LbaasArgs, opts ...ResourceOption) (*Lbaas, error)
    public Lbaas(string name, LbaasArgs args, CustomResourceOptions? opts = null)
    public Lbaas(String name, LbaasArgs args)
    public Lbaas(String name, LbaasArgs args, CustomResourceOptions options)
    
    type: ibm:Lbaas
    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 LbaasArgs
    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 LbaasArgs
    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 LbaasArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LbaasArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LbaasArgs
    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 lbaasResource = new Ibm.Lbaas("lbaasResource", new()
    {
        Subnets = new[]
        {
            0,
        },
        Description = "string",
        LbaasId = "string",
        Name = "string",
        Protocols = new[]
        {
            new Ibm.Inputs.LbaasProtocolArgs
            {
                BackendPort = 0,
                BackendProtocol = "string",
                FrontendPort = 0,
                FrontendProtocol = "string",
                LoadBalancingMethod = "string",
                MaxConn = 0,
                ProtocolId = "string",
                SessionStickiness = "string",
                TlsCertificateId = 0,
            },
        },
        SslCiphers = new[]
        {
            "string",
        },
        Type = "string",
        UseSystemPublicIpPool = false,
        WaitTimeMinutes = 0,
    });
    
    example, err := ibm.NewLbaas(ctx, "lbaasResource", &ibm.LbaasArgs{
    	Subnets: pulumi.Float64Array{
    		pulumi.Float64(0),
    	},
    	Description: pulumi.String("string"),
    	LbaasId:     pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Protocols: ibm.LbaasProtocolArray{
    		&ibm.LbaasProtocolArgs{
    			BackendPort:         pulumi.Float64(0),
    			BackendProtocol:     pulumi.String("string"),
    			FrontendPort:        pulumi.Float64(0),
    			FrontendProtocol:    pulumi.String("string"),
    			LoadBalancingMethod: pulumi.String("string"),
    			MaxConn:             pulumi.Float64(0),
    			ProtocolId:          pulumi.String("string"),
    			SessionStickiness:   pulumi.String("string"),
    			TlsCertificateId:    pulumi.Float64(0),
    		},
    	},
    	SslCiphers: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Type:                  pulumi.String("string"),
    	UseSystemPublicIpPool: pulumi.Bool(false),
    	WaitTimeMinutes:       pulumi.Float64(0),
    })
    
    var lbaasResource = new Lbaas("lbaasResource", LbaasArgs.builder()
        .subnets(0)
        .description("string")
        .lbaasId("string")
        .name("string")
        .protocols(LbaasProtocolArgs.builder()
            .backendPort(0)
            .backendProtocol("string")
            .frontendPort(0)
            .frontendProtocol("string")
            .loadBalancingMethod("string")
            .maxConn(0)
            .protocolId("string")
            .sessionStickiness("string")
            .tlsCertificateId(0)
            .build())
        .sslCiphers("string")
        .type("string")
        .useSystemPublicIpPool(false)
        .waitTimeMinutes(0)
        .build());
    
    lbaas_resource = ibm.Lbaas("lbaasResource",
        subnets=[0],
        description="string",
        lbaas_id="string",
        name="string",
        protocols=[{
            "backend_port": 0,
            "backend_protocol": "string",
            "frontend_port": 0,
            "frontend_protocol": "string",
            "load_balancing_method": "string",
            "max_conn": 0,
            "protocol_id": "string",
            "session_stickiness": "string",
            "tls_certificate_id": 0,
        }],
        ssl_ciphers=["string"],
        type="string",
        use_system_public_ip_pool=False,
        wait_time_minutes=0)
    
    const lbaasResource = new ibm.Lbaas("lbaasResource", {
        subnets: [0],
        description: "string",
        lbaasId: "string",
        name: "string",
        protocols: [{
            backendPort: 0,
            backendProtocol: "string",
            frontendPort: 0,
            frontendProtocol: "string",
            loadBalancingMethod: "string",
            maxConn: 0,
            protocolId: "string",
            sessionStickiness: "string",
            tlsCertificateId: 0,
        }],
        sslCiphers: ["string"],
        type: "string",
        useSystemPublicIpPool: false,
        waitTimeMinutes: 0,
    });
    
    type: ibm:Lbaas
    properties:
        description: string
        lbaasId: string
        name: string
        protocols:
            - backendPort: 0
              backendProtocol: string
              frontendPort: 0
              frontendProtocol: string
              loadBalancingMethod: string
              maxConn: 0
              protocolId: string
              sessionStickiness: string
              tlsCertificateId: 0
        sslCiphers:
            - string
        subnets:
            - 0
        type: string
        useSystemPublicIpPool: false
        waitTimeMinutes: 0
    

    Lbaas 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 Lbaas resource accepts the following input properties:

    Subnets List<double>
    The subnet where this Load Balancer will be provisioned.
    Description string
    Description of a load balancer.
    LbaasId string
    (String) The unique identifier of the created policy.
    Name string
    The load balancer's name.
    Protocols List<LbaasProtocol>
    Protocols to be assigned to this load balancer.
    SslCiphers List<string>
    Type string
    Specifies if a load balancer is public or private
    UseSystemPublicIpPool bool
    "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
    WaitTimeMinutes double
    Subnets []float64
    The subnet where this Load Balancer will be provisioned.
    Description string
    Description of a load balancer.
    LbaasId string
    (String) The unique identifier of the created policy.
    Name string
    The load balancer's name.
    Protocols []LbaasProtocolArgs
    Protocols to be assigned to this load balancer.
    SslCiphers []string
    Type string
    Specifies if a load balancer is public or private
    UseSystemPublicIpPool bool
    "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
    WaitTimeMinutes float64
    subnets List<Double>
    The subnet where this Load Balancer will be provisioned.
    description String
    Description of a load balancer.
    lbaasId String
    (String) The unique identifier of the created policy.
    name String
    The load balancer's name.
    protocols List<LbaasProtocol>
    Protocols to be assigned to this load balancer.
    sslCiphers List<String>
    type String
    Specifies if a load balancer is public or private
    useSystemPublicIpPool Boolean
    "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
    waitTimeMinutes Double
    subnets number[]
    The subnet where this Load Balancer will be provisioned.
    description string
    Description of a load balancer.
    lbaasId string
    (String) The unique identifier of the created policy.
    name string
    The load balancer's name.
    protocols LbaasProtocol[]
    Protocols to be assigned to this load balancer.
    sslCiphers string[]
    type string
    Specifies if a load balancer is public or private
    useSystemPublicIpPool boolean
    "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
    waitTimeMinutes number
    subnets Sequence[float]
    The subnet where this Load Balancer will be provisioned.
    description str
    Description of a load balancer.
    lbaas_id str
    (String) The unique identifier of the created policy.
    name str
    The load balancer's name.
    protocols Sequence[LbaasProtocolArgs]
    Protocols to be assigned to this load balancer.
    ssl_ciphers Sequence[str]
    type str
    Specifies if a load balancer is public or private
    use_system_public_ip_pool bool
    "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
    wait_time_minutes float
    subnets List<Number>
    The subnet where this Load Balancer will be provisioned.
    description String
    Description of a load balancer.
    lbaasId String
    (String) The unique identifier of the created policy.
    name String
    The load balancer's name.
    protocols List<Property Map>
    Protocols to be assigned to this load balancer.
    sslCiphers List<String>
    type String
    Specifies if a load balancer is public or private
    useSystemPublicIpPool Boolean
    "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
    waitTimeMinutes Number

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Lbaas resource produces the following output properties:

    Datacenter string
    (String) The datacenter where the load balancer is provisioned. This is based on the subnet chosen while creating load-balancer.
    HealthMonitors List<LbaasHealthMonitor>
    (List) A nested block describes the health_monitors assigned to the load balancer. Nested health_monitors blocks have the following structure.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    ResourceName string
    The name of the resource
    ResourceStatus string
    The status of the resource
    Status string
    (String) Specifies the operation status of the load balancer as online or offline.
    Vip string
    (String) The virtual IP address of the load balancer.
    Datacenter string
    (String) The datacenter where the load balancer is provisioned. This is based on the subnet chosen while creating load-balancer.
    HealthMonitors []LbaasHealthMonitorType
    (List) A nested block describes the health_monitors assigned to the load balancer. Nested health_monitors blocks have the following structure.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    ResourceName string
    The name of the resource
    ResourceStatus string
    The status of the resource
    Status string
    (String) Specifies the operation status of the load balancer as online or offline.
    Vip string
    (String) The virtual IP address of the load balancer.
    datacenter String
    (String) The datacenter where the load balancer is provisioned. This is based on the subnet chosen while creating load-balancer.
    healthMonitors List<LbaasHealthMonitor>
    (List) A nested block describes the health_monitors assigned to the load balancer. Nested health_monitors blocks have the following structure.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceControllerUrl String
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceName String
    The name of the resource
    resourceStatus String
    The status of the resource
    status String
    (String) Specifies the operation status of the load balancer as online or offline.
    vip String
    (String) The virtual IP address of the load balancer.
    datacenter string
    (String) The datacenter where the load balancer is provisioned. This is based on the subnet chosen while creating load-balancer.
    healthMonitors LbaasHealthMonitor[]
    (List) A nested block describes the health_monitors assigned to the load balancer. Nested health_monitors blocks have the following structure.
    id string
    The provider-assigned unique ID for this managed resource.
    resourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceName string
    The name of the resource
    resourceStatus string
    The status of the resource
    status string
    (String) Specifies the operation status of the load balancer as online or offline.
    vip string
    (String) The virtual IP address of the load balancer.
    datacenter str
    (String) The datacenter where the load balancer is provisioned. This is based on the subnet chosen while creating load-balancer.
    health_monitors Sequence[LbaasHealthMonitor]
    (List) A nested block describes the health_monitors assigned to the load balancer. Nested health_monitors blocks have the following structure.
    id str
    The provider-assigned unique ID for this managed resource.
    resource_controller_url str
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resource_name str
    The name of the resource
    resource_status str
    The status of the resource
    status str
    (String) Specifies the operation status of the load balancer as online or offline.
    vip str
    (String) The virtual IP address of the load balancer.
    datacenter String
    (String) The datacenter where the load balancer is provisioned. This is based on the subnet chosen while creating load-balancer.
    healthMonitors List<Property Map>
    (List) A nested block describes the health_monitors assigned to the load balancer. Nested health_monitors blocks have the following structure.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceControllerUrl String
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceName String
    The name of the resource
    resourceStatus String
    The status of the resource
    status String
    (String) Specifies the operation status of the load balancer as online or offline.
    vip String
    (String) The virtual IP address of the load balancer.

    Look up Existing Lbaas Resource

    Get an existing Lbaas 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?: LbaasState, opts?: CustomResourceOptions): Lbaas
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            datacenter: Optional[str] = None,
            description: Optional[str] = None,
            health_monitors: Optional[Sequence[LbaasHealthMonitorArgs]] = None,
            lbaas_id: Optional[str] = None,
            name: Optional[str] = None,
            protocols: Optional[Sequence[LbaasProtocolArgs]] = None,
            resource_controller_url: Optional[str] = None,
            resource_name: Optional[str] = None,
            resource_status: Optional[str] = None,
            ssl_ciphers: Optional[Sequence[str]] = None,
            status: Optional[str] = None,
            subnets: Optional[Sequence[float]] = None,
            type: Optional[str] = None,
            use_system_public_ip_pool: Optional[bool] = None,
            vip: Optional[str] = None,
            wait_time_minutes: Optional[float] = None) -> Lbaas
    func GetLbaas(ctx *Context, name string, id IDInput, state *LbaasState, opts ...ResourceOption) (*Lbaas, error)
    public static Lbaas Get(string name, Input<string> id, LbaasState? state, CustomResourceOptions? opts = null)
    public static Lbaas get(String name, Output<String> id, LbaasState state, CustomResourceOptions options)
    resources:  _:    type: ibm:Lbaas    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:
    Datacenter string
    (String) The datacenter where the load balancer is provisioned. This is based on the subnet chosen while creating load-balancer.
    Description string
    Description of a load balancer.
    HealthMonitors List<LbaasHealthMonitor>
    (List) A nested block describes the health_monitors assigned to the load balancer. Nested health_monitors blocks have the following structure.
    LbaasId string
    (String) The unique identifier of the created policy.
    Name string
    The load balancer's name.
    Protocols List<LbaasProtocol>
    Protocols to be assigned to this load balancer.
    ResourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    ResourceName string
    The name of the resource
    ResourceStatus string
    The status of the resource
    SslCiphers List<string>
    Status string
    (String) Specifies the operation status of the load balancer as online or offline.
    Subnets List<double>
    The subnet where this Load Balancer will be provisioned.
    Type string
    Specifies if a load balancer is public or private
    UseSystemPublicIpPool bool
    "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
    Vip string
    (String) The virtual IP address of the load balancer.
    WaitTimeMinutes double
    Datacenter string
    (String) The datacenter where the load balancer is provisioned. This is based on the subnet chosen while creating load-balancer.
    Description string
    Description of a load balancer.
    HealthMonitors []LbaasHealthMonitorTypeArgs
    (List) A nested block describes the health_monitors assigned to the load balancer. Nested health_monitors blocks have the following structure.
    LbaasId string
    (String) The unique identifier of the created policy.
    Name string
    The load balancer's name.
    Protocols []LbaasProtocolArgs
    Protocols to be assigned to this load balancer.
    ResourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    ResourceName string
    The name of the resource
    ResourceStatus string
    The status of the resource
    SslCiphers []string
    Status string
    (String) Specifies the operation status of the load balancer as online or offline.
    Subnets []float64
    The subnet where this Load Balancer will be provisioned.
    Type string
    Specifies if a load balancer is public or private
    UseSystemPublicIpPool bool
    "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
    Vip string
    (String) The virtual IP address of the load balancer.
    WaitTimeMinutes float64
    datacenter String
    (String) The datacenter where the load balancer is provisioned. This is based on the subnet chosen while creating load-balancer.
    description String
    Description of a load balancer.
    healthMonitors List<LbaasHealthMonitor>
    (List) A nested block describes the health_monitors assigned to the load balancer. Nested health_monitors blocks have the following structure.
    lbaasId String
    (String) The unique identifier of the created policy.
    name String
    The load balancer's name.
    protocols List<LbaasProtocol>
    Protocols to be assigned to this load balancer.
    resourceControllerUrl String
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceName String
    The name of the resource
    resourceStatus String
    The status of the resource
    sslCiphers List<String>
    status String
    (String) Specifies the operation status of the load balancer as online or offline.
    subnets List<Double>
    The subnet where this Load Balancer will be provisioned.
    type String
    Specifies if a load balancer is public or private
    useSystemPublicIpPool Boolean
    "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
    vip String
    (String) The virtual IP address of the load balancer.
    waitTimeMinutes Double
    datacenter string
    (String) The datacenter where the load balancer is provisioned. This is based on the subnet chosen while creating load-balancer.
    description string
    Description of a load balancer.
    healthMonitors LbaasHealthMonitor[]
    (List) A nested block describes the health_monitors assigned to the load balancer. Nested health_monitors blocks have the following structure.
    lbaasId string
    (String) The unique identifier of the created policy.
    name string
    The load balancer's name.
    protocols LbaasProtocol[]
    Protocols to be assigned to this load balancer.
    resourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceName string
    The name of the resource
    resourceStatus string
    The status of the resource
    sslCiphers string[]
    status string
    (String) Specifies the operation status of the load balancer as online or offline.
    subnets number[]
    The subnet where this Load Balancer will be provisioned.
    type string
    Specifies if a load balancer is public or private
    useSystemPublicIpPool boolean
    "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
    vip string
    (String) The virtual IP address of the load balancer.
    waitTimeMinutes number
    datacenter str
    (String) The datacenter where the load balancer is provisioned. This is based on the subnet chosen while creating load-balancer.
    description str
    Description of a load balancer.
    health_monitors Sequence[LbaasHealthMonitorArgs]
    (List) A nested block describes the health_monitors assigned to the load balancer. Nested health_monitors blocks have the following structure.
    lbaas_id str
    (String) The unique identifier of the created policy.
    name str
    The load balancer's name.
    protocols Sequence[LbaasProtocolArgs]
    Protocols to be assigned to this load balancer.
    resource_controller_url str
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resource_name str
    The name of the resource
    resource_status str
    The status of the resource
    ssl_ciphers Sequence[str]
    status str
    (String) Specifies the operation status of the load balancer as online or offline.
    subnets Sequence[float]
    The subnet where this Load Balancer will be provisioned.
    type str
    Specifies if a load balancer is public or private
    use_system_public_ip_pool bool
    "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
    vip str
    (String) The virtual IP address of the load balancer.
    wait_time_minutes float
    datacenter String
    (String) The datacenter where the load balancer is provisioned. This is based on the subnet chosen while creating load-balancer.
    description String
    Description of a load balancer.
    healthMonitors List<Property Map>
    (List) A nested block describes the health_monitors assigned to the load balancer. Nested health_monitors blocks have the following structure.
    lbaasId String
    (String) The unique identifier of the created policy.
    name String
    The load balancer's name.
    protocols List<Property Map>
    Protocols to be assigned to this load balancer.
    resourceControllerUrl String
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceName String
    The name of the resource
    resourceStatus String
    The status of the resource
    sslCiphers List<String>
    status String
    (String) Specifies the operation status of the load balancer as online or offline.
    subnets List<Number>
    The subnet where this Load Balancer will be provisioned.
    type String
    Specifies if a load balancer is public or private
    useSystemPublicIpPool Boolean
    "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
    vip String
    (String) The virtual IP address of the load balancer.
    waitTimeMinutes Number

    Supporting Types

    LbaasHealthMonitor, LbaasHealthMonitorArgs

    Interval double
    (String) Interval in seconds to perform.
    MaxRetries double
    (String) Maximum retries.
    MonitorId string
    (String) Health Monitor UUID.
    Port double
    (String) The back-end port.
    Protocol string
    (String) The back-end protocol.
    Timeout double
    (String) Health check methods timeout in.
    UrlPath string
    (String) If monitor is "HTTP", it specifies the URL path.
    Interval float64
    (String) Interval in seconds to perform.
    MaxRetries float64
    (String) Maximum retries.
    MonitorId string
    (String) Health Monitor UUID.
    Port float64
    (String) The back-end port.
    Protocol string
    (String) The back-end protocol.
    Timeout float64
    (String) Health check methods timeout in.
    UrlPath string
    (String) If monitor is "HTTP", it specifies the URL path.
    interval Double
    (String) Interval in seconds to perform.
    maxRetries Double
    (String) Maximum retries.
    monitorId String
    (String) Health Monitor UUID.
    port Double
    (String) The back-end port.
    protocol String
    (String) The back-end protocol.
    timeout Double
    (String) Health check methods timeout in.
    urlPath String
    (String) If monitor is "HTTP", it specifies the URL path.
    interval number
    (String) Interval in seconds to perform.
    maxRetries number
    (String) Maximum retries.
    monitorId string
    (String) Health Monitor UUID.
    port number
    (String) The back-end port.
    protocol string
    (String) The back-end protocol.
    timeout number
    (String) Health check methods timeout in.
    urlPath string
    (String) If monitor is "HTTP", it specifies the URL path.
    interval float
    (String) Interval in seconds to perform.
    max_retries float
    (String) Maximum retries.
    monitor_id str
    (String) Health Monitor UUID.
    port float
    (String) The back-end port.
    protocol str
    (String) The back-end protocol.
    timeout float
    (String) Health check methods timeout in.
    url_path str
    (String) If monitor is "HTTP", it specifies the URL path.
    interval Number
    (String) Interval in seconds to perform.
    maxRetries Number
    (String) Maximum retries.
    monitorId String
    (String) Health Monitor UUID.
    port Number
    (String) The back-end port.
    protocol String
    (String) The back-end protocol.
    timeout Number
    (String) Health check methods timeout in.
    urlPath String
    (String) If monitor is "HTTP", it specifies the URL path.

    LbaasProtocol, LbaasProtocolArgs

    BackendPort double
    Backend Protocol port number. Should be in range (1, 65535)
    BackendProtocol string
    Backend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
    FrontendPort double
    Frontend Protocol port number. Should be in range (1, 65535)
    FrontendProtocol string
    Frontend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
    LoadBalancingMethod string
    Load balancing algorithm: 'round_robin', 'weighted_round_robin', 'least_connection'
    MaxConn double
    No. of connections the listener can accept. Should be between 1-64000
    ProtocolId string
    (String) The UUID of a load balancer protocol.
    SessionStickiness string
    Session stickness. Valid values is SOURCE_IP and HTTP_COOKIE
    TlsCertificateId double
    This references to SSL/TLS certificate for a protocol
    BackendPort float64
    Backend Protocol port number. Should be in range (1, 65535)
    BackendProtocol string
    Backend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
    FrontendPort float64
    Frontend Protocol port number. Should be in range (1, 65535)
    FrontendProtocol string
    Frontend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
    LoadBalancingMethod string
    Load balancing algorithm: 'round_robin', 'weighted_round_robin', 'least_connection'
    MaxConn float64
    No. of connections the listener can accept. Should be between 1-64000
    ProtocolId string
    (String) The UUID of a load balancer protocol.
    SessionStickiness string
    Session stickness. Valid values is SOURCE_IP and HTTP_COOKIE
    TlsCertificateId float64
    This references to SSL/TLS certificate for a protocol
    backendPort Double
    Backend Protocol port number. Should be in range (1, 65535)
    backendProtocol String
    Backend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
    frontendPort Double
    Frontend Protocol port number. Should be in range (1, 65535)
    frontendProtocol String
    Frontend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
    loadBalancingMethod String
    Load balancing algorithm: 'round_robin', 'weighted_round_robin', 'least_connection'
    maxConn Double
    No. of connections the listener can accept. Should be between 1-64000
    protocolId String
    (String) The UUID of a load balancer protocol.
    sessionStickiness String
    Session stickness. Valid values is SOURCE_IP and HTTP_COOKIE
    tlsCertificateId Double
    This references to SSL/TLS certificate for a protocol
    backendPort number
    Backend Protocol port number. Should be in range (1, 65535)
    backendProtocol string
    Backend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
    frontendPort number
    Frontend Protocol port number. Should be in range (1, 65535)
    frontendProtocol string
    Frontend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
    loadBalancingMethod string
    Load balancing algorithm: 'round_robin', 'weighted_round_robin', 'least_connection'
    maxConn number
    No. of connections the listener can accept. Should be between 1-64000
    protocolId string
    (String) The UUID of a load balancer protocol.
    sessionStickiness string
    Session stickness. Valid values is SOURCE_IP and HTTP_COOKIE
    tlsCertificateId number
    This references to SSL/TLS certificate for a protocol
    backend_port float
    Backend Protocol port number. Should be in range (1, 65535)
    backend_protocol str
    Backend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
    frontend_port float
    Frontend Protocol port number. Should be in range (1, 65535)
    frontend_protocol str
    Frontend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
    load_balancing_method str
    Load balancing algorithm: 'round_robin', 'weighted_round_robin', 'least_connection'
    max_conn float
    No. of connections the listener can accept. Should be between 1-64000
    protocol_id str
    (String) The UUID of a load balancer protocol.
    session_stickiness str
    Session stickness. Valid values is SOURCE_IP and HTTP_COOKIE
    tls_certificate_id float
    This references to SSL/TLS certificate for a protocol
    backendPort Number
    Backend Protocol port number. Should be in range (1, 65535)
    backendProtocol String
    Backend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
    frontendPort Number
    Frontend Protocol port number. Should be in range (1, 65535)
    frontendProtocol String
    Frontend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
    loadBalancingMethod String
    Load balancing algorithm: 'round_robin', 'weighted_round_robin', 'least_connection'
    maxConn Number
    No. of connections the listener can accept. Should be between 1-64000
    protocolId String
    (String) The UUID of a load balancer protocol.
    sessionStickiness String
    Session stickness. Valid values is SOURCE_IP and HTTP_COOKIE
    tlsCertificateId Number
    This references to SSL/TLS certificate for a protocol

    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