Removes backend servers from a vServer group.
Operation description
If the backend servers specified by the BackendServers parameter do not exist in the vServer group, the backend servers are ignored. No error message is returned.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
slb:RemoveVServerGroupBackendServers |
update |
instance
*loadbalancer
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the Server Load Balancer (SLB) instance. |
cn-hangzhou |
| VServerGroupId |
string |
Yes |
The ID of the vServer group. |
rsp-cige6**** |
| BackendServers |
string |
Yes |
The backend servers that you want to remove. Configure the following parameters:
Note
You can specify ENIs and elastic container instances as backend servers only for high-performance SLB instances.
Examples:
Note
You can add only running backend servers to SLB instances. You can specify at most 20 backend servers. |
[{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "192.168.**.**", "Port":"80","Description":"test-112" },{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "172.166.**.**", "Port":"80","Description":"test-113" }] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| VServerGroupId |
string |
The ID of the vServer group. |
rsp-cige6j**** |
| RequestId |
string |
The request ID. |
9DEC9C28-AB05-4DDF-9A78-6B0****** |
| BackendServers |
object |
||
| BackendServer |
array<object> |
The backend servers. |
|
|
object |
|||
| Type |
string |
The type of the backend server. Valid values:
|
eni |
| Weight |
integer |
The weight of the backend server. |
100 |
| Port |
integer |
The port that is used by the backend server. |
80 |
| ServerId |
string |
The ID of the backend server. |
eni-hhshhs**** |
Examples
Success response
JSON format
{
"VServerGroupId": "rsp-cige6j****",
"RequestId": "9DEC9C28-AB05-4DDF-9A78-6B0******",
"BackendServers": {
"BackendServer": [
{
"Type": "eni",
"Weight": 100,
"Port": 80,
"ServerId": "eni-hhshhs****"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | LbStatusNotSupport | The status of specified loadbalancer does not support.. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.