Create a Backend
Create a new backend on the given load balancer.
A backend defines a pool of servers that receive traffic from a frontend. It controls load balancing algorithm, health checks, sticky sessions, and which servers (VMs or Elastic Servers) are part of the pool.
Authorization
AuthorizationRequiredBearer <token>OAuth Authentication
OpenScaler API uses OAuth, a standard for secure authorization. To access the API, obtain a token via the OpenScaler Platform.
Use the access_token in the Authorization header for requests:
Always keep your token secure and do not share it with anyone.
In: header
Request Body
application/jsonRequirednameRequiredstringUnique name for this backend.
modeRequiredstringProtocol mode.
Value in:
"http" | "tcp"balancing_methodRequiredstringLoad balancing algorithm.
Value in:
"roundrobin" | "leastconn" | "first"portRequiredinteger | stringPort that backend servers listen on.
serversRequiredobject | objectoptionsobjectOptional backend-level settings.
Path Parameters
lb_idRequiredstringA unique identifier for a load balancer instance.
Backend created successfully.