Create a Load Balancer
Create a new load balancer. The load balancer will be provisioned in the specified region and VPC. The creation is asynchronous — progress events are streamed back as Server-Sent Events (SSE).
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/jsonRequirednameRequiredstringName for the load balancer.
descriptionstringOptional description.
project_idRequiredstringA globally unique identifier for a project (where resource is placed) - or "default" for your default project. Projects are used as workspaces to organize things and separate resources for different independent purposes.
regionRequiredstringRegion where the load balancer will be provisioned.
vpc_idRequiredintegerID of the VPC to attach the load balancer to.
sizeRequiredstringLoad balancer size/flavor (not VM size).
visibilityRequiredstringWhether the load balancer is publicly accessible or private.
"public" | "private"Load balancer creation started. Progress is streamed as SSE events.