Menghapus server backend.
Deskripsi operasi
If the backend servers that you want to remove are not in the server list of the Classic Load Balancer (CLB) instance, the request fails. However, the system does not report an error.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
slb:RemoveBackendServers |
update |
*loadbalancer
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah tempat instans CLB di-deploy. |
cn-hangzhou |
| LoadBalancerId |
string |
Yes |
ID instans CLB. |
lb-bp15lbk8uja8rvm4a**** |
| BackendServers |
string |
Yes |
Server backend yang ingin Anda hapus.
Anda dapat menentukan maksimal 20 server backend dalam setiap panggilan. Contoh:
|
[{"ServerId":"i-bp1fq61enf4loa5i****", "Type": "ecs","Weight":"100"}] |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| LoadBalancerId |
string |
The ID of the CLB instance. |
lb-bp15lbk8uja8rvm4a**** |
| RequestId |
string |
The request ID. |
365F4154-92F6-4AE4-92F8-7FF34****** |
| BackendServers |
object |
||
| BackendServer |
array<object> |
The backend servers. |
|
|
object |
|||
| Type |
string |
The type of backend server. Valid values:
|
ecs |
| Weight |
integer |
The weight of the backend server. Valid values: 0 to 100. |
100 |
| Description |
string |
The description of the server group. |
BackendServer1 |
| ServerId |
string |
The ID of the backend server. |
i-bp1fq61enf4loa5i**** |
Contoh
Respons sukses
JSONformat
{
"LoadBalancerId": "lb-bp15lbk8uja8rvm4a****",
"RequestId": "365F4154-92F6-4AE4-92F8-7FF34******",
"BackendServers": {
"BackendServer": [
{
"Type": "ecs",
"Weight": 100,
"Description": "BackendServer1",
"ServerId": "i-bp1fq61enf4loa5i****"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | SystemBusy | The system is busy. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.