v1

latestSwagger 2.02026-08-04232286653.5 KB
Load Balancers

Lists all external load balancers in the project and returns their details.

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

Path parameters

project_idstring required

ID of the project that owns the external load balancers.

Query parameters

locationstring

Filters results to external load balancers in this location.

vpc_network_idstring

Filters results to external load balancers in this VPC network.

namestring

Filters results to external load balancers with this name.

Response

Example response

{
  "items": [
    {
      "health_check_options": {
        "failure_count": 3,
        "interval": 10,
        "success_count": 2,
        "timeout": 5
      },
      "id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
      "listen_ports_and_backends": [
        {
          "backends": [
            {
              "ip": "192.168.1.2",
              "port": 8080,
              "status": "ONLINE"
            }
          ],
          "listen_port": 80
        }
      ],
      "location": "us-northcentral1-a",
      "name": "my-external-load-balancer",
      "project_id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
      "protocol": "tcp",
      "vip": "192.168.1.1",
      "vpc_id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab"
    }
  ]
}