GET
/
project
/
{project_id}
/
location
/
{location}
/
load-balancer
/
id
/
{load_balancer_id}
curl --request GET \
  --url https://api.ubicloud.com/project/{project_id}/location/{location}/load-balancer/id/{load_balancer_id} \
  --header 'Authorization: Bearer <token>'
{
  "algorithm": "<string>",
  "stack": "<string>",
  "dst_port": 123,
  "health_check_endpoint": "<string>",
  "health_check_protocol": "<string>",
  "hostname": "<string>",
  "id": "1bhw8r4pn73t1m5f7rn7a5pej2",
  "name": "<string>",
  "src_port": 123,
  "location": "<string>",
  "subnet": "<string>",
  "vms": [
    {
      "id": "vmhfy8gff8c67hasb0eez2k1pd",
      "ip4": "127.0.0.1",
      "ip4_enabled": true,
      "ip6": "2606:4700:3108::ac42:2835",
      "location": "eu-central-h1",
      "name": "my-vm-name",
      "size": "<string>",
      "state": "<string>",
      "storage_size_gib": 123,
      "unix_user": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

ID of the project

Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

location
string
required

The Ubicloud location/region

Example:

"eu-central-h1"

load_balancer_id
string
required

ID of the load balancer

Example:

"1bhw8r4pn73t1m5f7rn7a5pej2"

Response

200
application/json
A Load Balancer
algorithm
string
required

Algorithm of the Load Balancer

dst_port
integer
required

Destination port for the Load Balancer

health_check_endpoint
string
required

Health check endpoint URL

health_check_protocol
string
required

Health check endpoint protocol

hostname
string
required

Hostname of the Load Balancer

id
string
required

ID of the Load Balancer

Example:

"1bhw8r4pn73t1m5f7rn7a5pej2"

name
string
required

Name of the Load Balancer

src_port
integer
required

Source port for the Load Balancer

location
string
required

Location of the Load Balancer

subnet
string
required

Subnet of the Load Balancer

vms
object[]
required
stack
string

Networking stack of the Load Balancer (ipv4, ipv6, or dual)