Load Balancer
Attach a VM to a Load Balancer in a specific location of a project
POST
/
project
/
{project_id}
/
location
/
{location}
/
load-balancer
/
{load_balancer_name}
/
attach-vm
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
project_id
string
requiredID of the project
location
string
requiredThe Ubicloud location/region
load_balancer_name
string
requiredName of the load balancer
Body
application/json
vm_id
string
requiredApid of VM to attach to Load Balancer
Response
200 - application/json
algorithm
string
requiredAlgorithm of the Load Balancer
dst_port
integer
requiredDestination port for the Load Balancer
health_check_endpoint
string
requiredHealth check endpoint URL
health_check_protocol
string
requiredHealth check endpoint protocol
hostname
string
requiredHostname of the Load Balancer
id
string
requiredID of the Load Balancer
name
string
requiredName of the Load Balancer
src_port
integer
requiredSource port for the Load Balancer
location
string
requiredLocation of the Load Balancer
subnet
string
requiredSubnet of the Load Balancer
vms
object[]
required