Load Balancer

Update a load balancer

patch/project/{project_id}/location/{location}/load-balancer/{load_balancer_reference}

Request body

algorithmstring required

Algorithm of the Load Balancer

stackstring

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

dst_portinteger required

Destination port for the Load Balancer

health_check_endpointstring required

Health check endpoint URL

src_portinteger required

Source port for the Load Balancer

vmsstring[] required

List of VM apids for the Load Balancer

cert_enabledboolean nullable

Whether SSL certificates are enabled for the Load Balancer

Response

A Load Balancer

algorithmstring required

Algorithm of the Load Balancer

stackstring

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

dst_portinteger required

Destination port for the Load Balancer

health_check_endpointstring required

Health check endpoint URL

health_check_protocolstring required

Health check endpoint protocol

hostnamestring required

Hostname of the Load Balancer

idstring required

ID of the Load Balancer

locationstring required

Location of the Load Balancer

namestring required

Name of the Load Balancer

src_portinteger required

Source port for the Load Balancer

cert_enabledboolean

Whether SSL certificate is enabled

subnetstring required

Subnet of the Load Balancer

Example response

{
  "id": "1bhw8r4pn73t1m5f7rn7a5pej2",
  "vms": [
    {
      "id": "vmhfy8gff8c67hasb0eez2k1pd",
      "location": "eu-central-h1",
      "name": "my-vm-name"
    }
  ]
}