Skip to main content
PATCH
Update a load balancer

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

Pattern: ^pj[0-9a-hj-km-np-tv-z]{24}$
Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

location
string
required

The Ubicloud location/region

Example:

"eu-central-h1"

load_balancer_reference
string
required

Load balancer ID or name Resource ID or name

Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$

Body

application/json
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

src_port
integer
required

Source port for the Load Balancer

vms
string[]
required

List of VM apids for the Load Balancer

stack
string

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

cert_enabled
boolean | null

Whether SSL certificates are enabled for the Load Balancer

Response

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

Pattern: ^1b[0-9a-hj-km-np-tv-z]{24}$
Example:

"1bhw8r4pn73t1m5f7rn7a5pej2"

location
string
required

Location of the Load Balancer

name
string
required

Name of the Load Balancer

src_port
integer
required

Source port for 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)

cert_enabled
boolean

Whether SSL certificate is enabled