ibm.Lbaas
Explore with Pulumi AI
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 of1-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 of1-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 be1-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 whenfront-end protocol
has a value ofHTTPS
.
session_stickiness
- (Optional, String) TheSOURCE_IP
orHTTP_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 is90
.
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)
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.
- Lbaas
Id string - (String) The unique identifier of the created policy.
- Name string
- The load balancer's name.
- Protocols
List<Lbaas
Protocol> - Protocols to be assigned to this load balancer.
- Ssl
Ciphers List<string> - Type string
- Specifies if a load balancer is public or private
- Use
System boolPublic Ip Pool - "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
- Wait
Time doubleMinutes
- Subnets []float64
- The subnet where this Load Balancer will be provisioned.
- Description string
- Description of a load balancer.
- Lbaas
Id string - (String) The unique identifier of the created policy.
- Name string
- The load balancer's name.
- Protocols
[]Lbaas
Protocol Args - Protocols to be assigned to this load balancer.
- Ssl
Ciphers []string - Type string
- Specifies if a load balancer is public or private
- Use
System boolPublic Ip Pool - "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
- Wait
Time float64Minutes
- subnets List<Double>
- The subnet where this Load Balancer will be provisioned.
- description String
- Description of a load balancer.
- lbaas
Id String - (String) The unique identifier of the created policy.
- name String
- The load balancer's name.
- protocols
List<Lbaas
Protocol> - Protocols to be assigned to this load balancer.
- ssl
Ciphers List<String> - type String
- Specifies if a load balancer is public or private
- use
System BooleanPublic Ip Pool - "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
- wait
Time DoubleMinutes
- subnets number[]
- The subnet where this Load Balancer will be provisioned.
- description string
- Description of a load balancer.
- lbaas
Id string - (String) The unique identifier of the created policy.
- name string
- The load balancer's name.
- protocols
Lbaas
Protocol[] - Protocols to be assigned to this load balancer.
- ssl
Ciphers string[] - type string
- Specifies if a load balancer is public or private
- use
System booleanPublic Ip Pool - "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
- wait
Time numberMinutes
- 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[Lbaas
Protocol Args] - 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_ boolpublic_ ip_ pool - "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
- wait_
time_ floatminutes
- subnets List<Number>
- The subnet where this Load Balancer will be provisioned.
- description String
- Description of a load balancer.
- lbaas
Id 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.
- ssl
Ciphers List<String> - type String
- Specifies if a load balancer is public or private
- use
System BooleanPublic Ip Pool - "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
- wait
Time NumberMinutes
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.
- Health
Monitors List<LbaasHealth Monitor> - (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.
- Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Name string - The name of the resource
- Resource
Status string - The status of the resource
- Status string
- (String) Specifies the operation status of the load balancer as
online
oroffline
. - 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.
- Health
Monitors []LbaasHealth Monitor Type - (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.
- Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Name string - The name of the resource
- Resource
Status string - The status of the resource
- Status string
- (String) Specifies the operation status of the load balancer as
online
oroffline
. - 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.
- health
Monitors List<LbaasHealth Monitor> - (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.
- resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Name String - The name of the resource
- resource
Status String - The status of the resource
- status String
- (String) Specifies the operation status of the load balancer as
online
oroffline
. - 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.
- health
Monitors LbaasHealth Monitor[] - (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.
- resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Name string - The name of the resource
- resource
Status string - The status of the resource
- status string
- (String) Specifies the operation status of the load balancer as
online
oroffline
. - 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[LbaasHealth Monitor] - (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_ strurl - 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
oroffline
. - 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.
- health
Monitors 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.
- resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Name String - The name of the resource
- resource
Status String - The status of the resource
- status String
- (String) Specifies the operation status of the load balancer as
online
oroffline
. - 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.
- 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.
- Health
Monitors List<LbaasHealth Monitor> - (List) A nested block describes the health_monitors assigned to the load balancer. Nested
health_monitors
blocks have the following structure. - Lbaas
Id string - (String) The unique identifier of the created policy.
- Name string
- The load balancer's name.
- Protocols
List<Lbaas
Protocol> - Protocols to be assigned to this load balancer.
- Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Name string - The name of the resource
- Resource
Status string - The status of the resource
- Ssl
Ciphers List<string> - Status string
- (String) Specifies the operation status of the load balancer as
online
oroffline
. - Subnets List<double>
- The subnet where this Load Balancer will be provisioned.
- Type string
- Specifies if a load balancer is public or private
- Use
System boolPublic Ip Pool - "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.
- Wait
Time doubleMinutes
- 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.
- Health
Monitors []LbaasHealth Monitor Type Args - (List) A nested block describes the health_monitors assigned to the load balancer. Nested
health_monitors
blocks have the following structure. - Lbaas
Id string - (String) The unique identifier of the created policy.
- Name string
- The load balancer's name.
- Protocols
[]Lbaas
Protocol Args - Protocols to be assigned to this load balancer.
- Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Name string - The name of the resource
- Resource
Status string - The status of the resource
- Ssl
Ciphers []string - Status string
- (String) Specifies the operation status of the load balancer as
online
oroffline
. - Subnets []float64
- The subnet where this Load Balancer will be provisioned.
- Type string
- Specifies if a load balancer is public or private
- Use
System boolPublic Ip Pool - "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.
- Wait
Time float64Minutes
- 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.
- health
Monitors List<LbaasHealth Monitor> - (List) A nested block describes the health_monitors assigned to the load balancer. Nested
health_monitors
blocks have the following structure. - lbaas
Id String - (String) The unique identifier of the created policy.
- name String
- The load balancer's name.
- protocols
List<Lbaas
Protocol> - Protocols to be assigned to this load balancer.
- resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Name String - The name of the resource
- resource
Status String - The status of the resource
- ssl
Ciphers List<String> - status String
- (String) Specifies the operation status of the load balancer as
online
oroffline
. - subnets List<Double>
- The subnet where this Load Balancer will be provisioned.
- type String
- Specifies if a load balancer is public or private
- use
System BooleanPublic Ip Pool - "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.
- wait
Time DoubleMinutes
- 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.
- health
Monitors LbaasHealth Monitor[] - (List) A nested block describes the health_monitors assigned to the load balancer. Nested
health_monitors
blocks have the following structure. - lbaas
Id string - (String) The unique identifier of the created policy.
- name string
- The load balancer's name.
- protocols
Lbaas
Protocol[] - Protocols to be assigned to this load balancer.
- resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Name string - The name of the resource
- resource
Status string - The status of the resource
- ssl
Ciphers string[] - status string
- (String) Specifies the operation status of the load balancer as
online
oroffline
. - subnets number[]
- The subnet where this Load Balancer will be provisioned.
- type string
- Specifies if a load balancer is public or private
- use
System booleanPublic Ip Pool - "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.
- wait
Time numberMinutes
- 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[LbaasHealth Monitor Args] - (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[Lbaas
Protocol Args] - Protocols to be assigned to this load balancer.
- resource_
controller_ strurl - 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
oroffline
. - 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_ boolpublic_ ip_ pool - "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_ floatminutes
- 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.
- health
Monitors List<Property Map> - (List) A nested block describes the health_monitors assigned to the load balancer. Nested
health_monitors
blocks have the following structure. - lbaas
Id 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.
- resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Name String - The name of the resource
- resource
Status String - The status of the resource
- ssl
Ciphers List<String> - status String
- (String) Specifies the operation status of the load balancer as
online
oroffline
. - subnets List<Number>
- The subnet where this Load Balancer will be provisioned.
- type String
- Specifies if a load balancer is public or private
- use
System BooleanPublic Ip Pool - "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.
- wait
Time NumberMinutes
Supporting Types
LbaasHealthMonitor, LbaasHealthMonitorArgs
- Interval double
- (String) Interval in seconds to perform.
- Max
Retries double - (String) Maximum retries.
- Monitor
Id 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.
- Url
Path string - (String) If monitor is "HTTP", it specifies the URL path.
- Interval float64
- (String) Interval in seconds to perform.
- Max
Retries float64 - (String) Maximum retries.
- Monitor
Id 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.
- Url
Path string - (String) If monitor is "HTTP", it specifies the URL path.
- interval Double
- (String) Interval in seconds to perform.
- max
Retries Double - (String) Maximum retries.
- monitor
Id 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.
- url
Path String - (String) If monitor is "HTTP", it specifies the URL path.
- interval number
- (String) Interval in seconds to perform.
- max
Retries number - (String) Maximum retries.
- monitor
Id 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.
- url
Path 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.
- max
Retries Number - (String) Maximum retries.
- monitor
Id 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.
- url
Path String - (String) If monitor is "HTTP", it specifies the URL path.
LbaasProtocol, LbaasProtocolArgs
- Backend
Port double - Backend Protocol port number. Should be in range (1, 65535)
- Backend
Protocol string - Backend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
- Frontend
Port double - Frontend Protocol port number. Should be in range (1, 65535)
- Frontend
Protocol string - Frontend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
- Load
Balancing stringMethod - Load balancing algorithm: 'round_robin', 'weighted_round_robin', 'least_connection'
- Max
Conn double - No. of connections the listener can accept. Should be between 1-64000
- Protocol
Id string - (String) The UUID of a load balancer protocol.
- Session
Stickiness string - Session stickness. Valid values is SOURCE_IP and HTTP_COOKIE
- Tls
Certificate doubleId - This references to SSL/TLS certificate for a protocol
- Backend
Port float64 - Backend Protocol port number. Should be in range (1, 65535)
- Backend
Protocol string - Backend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
- Frontend
Port float64 - Frontend Protocol port number. Should be in range (1, 65535)
- Frontend
Protocol string - Frontend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
- Load
Balancing stringMethod - Load balancing algorithm: 'round_robin', 'weighted_round_robin', 'least_connection'
- Max
Conn float64 - No. of connections the listener can accept. Should be between 1-64000
- Protocol
Id string - (String) The UUID of a load balancer protocol.
- Session
Stickiness string - Session stickness. Valid values is SOURCE_IP and HTTP_COOKIE
- Tls
Certificate float64Id - This references to SSL/TLS certificate for a protocol
- backend
Port Double - Backend Protocol port number. Should be in range (1, 65535)
- backend
Protocol String - Backend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
- frontend
Port Double - Frontend Protocol port number. Should be in range (1, 65535)
- frontend
Protocol String - Frontend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
- load
Balancing StringMethod - Load balancing algorithm: 'round_robin', 'weighted_round_robin', 'least_connection'
- max
Conn Double - No. of connections the listener can accept. Should be between 1-64000
- protocol
Id String - (String) The UUID of a load balancer protocol.
- session
Stickiness String - Session stickness. Valid values is SOURCE_IP and HTTP_COOKIE
- tls
Certificate DoubleId - This references to SSL/TLS certificate for a protocol
- backend
Port number - Backend Protocol port number. Should be in range (1, 65535)
- backend
Protocol string - Backend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
- frontend
Port number - Frontend Protocol port number. Should be in range (1, 65535)
- frontend
Protocol string - Frontend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
- load
Balancing stringMethod - Load balancing algorithm: 'round_robin', 'weighted_round_robin', 'least_connection'
- max
Conn number - No. of connections the listener can accept. Should be between 1-64000
- protocol
Id string - (String) The UUID of a load balancer protocol.
- session
Stickiness string - Session stickness. Valid values is SOURCE_IP and HTTP_COOKIE
- tls
Certificate numberId - 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_ strmethod - 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_ floatid - This references to SSL/TLS certificate for a protocol
- backend
Port Number - Backend Protocol port number. Should be in range (1, 65535)
- backend
Protocol String - Backend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
- frontend
Port Number - Frontend Protocol port number. Should be in range (1, 65535)
- frontend
Protocol String - Frontend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
- load
Balancing StringMethod - Load balancing algorithm: 'round_robin', 'weighted_round_robin', 'least_connection'
- max
Conn Number - No. of connections the listener can accept. Should be between 1-64000
- protocol
Id String - (String) The UUID of a load balancer protocol.
- session
Stickiness String - Session stickness. Valid values is SOURCE_IP and HTTP_COOKIE
- tls
Certificate NumberId - 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.