v1

latestSwagger 2.02026-08-04232286653.5 KB
Internal Load Balancers

Returns details for a single load balancer in the project.

get/projects/{project_id}/networking/internal-load-balancers/{load_balancer_id}

Path parameters

project_idstring required

ID of the project that owns the load balancer.

load_balancer_idstring required

ID of the load balancer.

Response

algorithmstring required

Load balancing algorithm used to distribute traffic across destinations (for example, random).

idstring required

ID of the load balancer.

locationstring required

Location of the load balancer.

namestring required

Name of the load balancer.

protocolsstring[] required

Network protocols the load balancer handles. One of: tcp, udp.

typestring

Type of the load balancer (for example, internal_ipv4).

Example response

{
  "algorithm": "random",
  "destinations": [
    {
      "cidr": "10.1.2.3/24",
      "resource_id": "306aa10d-5570-4e47-88c9-46bf11bd8737"
    }
  ],
  "health_check": {
    "failure_count": "3",
    "interval": "60",
    "port": "8080",
    "success_count": "2",
    "timeout": "20"
  },
  "id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
  "ips": [
    {
      "private_ipv4": {
        "address": "10.1.2.3"
      },
      "public_ipv4": {
        "address": "121.0.0.0",
        "id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
        "type": "dynamic"
      }
    }
  ],
  "location": "us-northcentraleast1-a",
  "name": "my-load-balancer",
  "network_interfaces": [
    {
      "network": "dbaafd53-96ea-4754-9cce-78e7f08ac151",
      "subnet": "09ae8411-0fbb-411c-898c-2b8f19622ae1"
    }
  ],
  "type": "internal_ipv4"
}