Get a load balancer type

Get a load balancer type by its name. You can get a deprecated type only when it has a replacement.

GET https://{availability_zone}.betterstackcloud.com/v1/load-balancer-types/{name}
name string required

The name of the type to get, such as LB1.

Authorization string required

Bearer $TOKEN

200 OK
{
  "name": "Example load balancer type",
  "max_connections": 1,
  "max_services": 1,
  "max_targets": 1,
  "max_certificates": 1,
  "availability": "global",
  "replacement": "example"
}

Returns the load balancer type.

id string

The ID of the load balancer type.

name string

The type's name, such as LB1. Send it as type when you create or rescale a load balancer.

max_connections integer

The most connections a load balancer of this type accepts at once.

max_services integer

The most services a load balancer of this type can have.

max_targets integer

The most targets a load balancer of this type can have. Each server that a target's tag selector matches counts toward the limit.

max_certificates integer

The most different certificates a load balancer of this type can present across its services.

availability string

Whether you can order the type.
Valid values:
global: You can order the type.
unavailable: The type is deprecated. Load balancers that have it keep running, but you can't create or rescale a load balancer to it.

replacement string or null

The name of the type to use instead of this deprecated one, or null for a type you can order.