Creating a Backend Server Group
API Format
|
Method |
URI |
Description |
|---|---|---|
|
POST |
/v2.0/lbaas/pools |
Adds a backend server group. |
Procedure
- Set the request header. Set the header in Postman and place the obtained token in the header.

- Under Body, set the request body.

- Enter the URL.
https://elb.cn-east-2.myhuaweicloud.com/v2.0/lbaas/pools
- Send the request. Set the POST request method and click Send to wait for response from the server.
{ "pool": { "lb_algorithm": "ROUND_ROBIN", "protocol": "HTTP", "description": "", "admin_state_up": true, "loadbalancers": [ { "id": "abe3ee34-1882-408f-a2ba-1ce7e428d6e3" } ], "tenant_id": "0d0bf0e8fb564cc9abbe526dbdca9248", "session_persistence": null, "healthmonitor_id": null, "listeners": [ { "id": "ecb4d58e-3b09-4a9d-9ad2-159b21e13f83" } ], "members": [], "id": "752c3773-a046-4966-a5d6-0ad7f9a49d0a", "name": "" } }
Sample Code
Request body in 2
{
"pool": {
"lb_algorithm": "ROUND_ROBIN",
"listener_id": "{{listener_id}}",
"protocol": "HTTP",
"admin_state_up": true
}
}
Last Article: Adding a Listener
Next Article: Adding Backend Servers
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.