Resource Center/Network Service/Network Service Operations/Load Balancing Operations
POSTLoad Balancing OperationsSince 4.0.0SynchronousAuth Required
AddBackendServerToServerGroup
AddBackendServerToServerGroup
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
serverGroupUuidStringRequiredThe UUID of the server group for load balancing.
Body Fields
paramsObjectRequiredRequest body parameter object.
vmNicsListOptional. The NIC of the backend server.
serversListOptional. The IP address of the backend server.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/load-balancers/servergroups/{serverGroupUuid}/backendservers
/zstack/v1/load-balancers/servergroups/{serverGroupUuid}/backendservers
Request Example
curl -X POST 'http://{host}/zstack/v1/load-balancers/servergroups/{serverGroupUuid}/backendservers' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"vmNics":["<vmNics>"],"servers":["<servers>"]},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{}Change History
This API has no change history records yet.
