v1

latestSwagger 2.02026-08-04232286653.5 KB
Internal Load Balancers

Updates a load balancer in the project and returns the async operation.

To disable health checking, pass "health_check": {"port": 0}.

patch/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.

Request body

namestring

New name for the load balancer.

Example request

{
  "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"
  },
  "name": "my-load-balancer"
}

Response

Example response

{
  "operation": {
    "completed_at": "2021-12-03T19:59:34Z",
    "metadata": "{}",
    "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
    "result": "{}",
    "started_at": "2021-12-03T19:58:34Z",
    "state": "IN_PROGRESS"
  }
}