Create a Frontend
Create a new frontend on the given load balancer.
A frontend is the entry point for incoming traffic. It defines which ports to listen on, what protocol to use, and optional ACL rules to route traffic to different backends.
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 frontend.
modeRequiredstringProtocol mode.
"tcp" | "http"default_backendstringName of the default backend to use when no ACL matches.
bindsRequiredarray<object>List of port/SSL bind configurations.
aclsarray<object>List of ACL rules for conditional routing.
backendsarray<object>Backend routing rules driven by ACLs.
optionsobjectOptional frontend-level settings.
Path Parameters
lb_idRequiredstringA unique identifier for a load balancer instance.
Frontend created successfully.