Menghapus server backend.
Deskripsi operasi
Jika server backend yang ingin dihapus tidak terdapat dalam daftar server instans Classic Load Balancer (CLB), permintaan akan gagal, namun sistem tidak melaporkan 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 ditempatkan. |
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 |
ID instans CLB. |
lb-bp15lbk8uja8rvm4a**** |
| RequestId |
string |
ID permintaan. |
365F4154-92F6-4AE4-92F8-7FF34B540710 |
| BackendServers |
object |
||
| BackendServer |
array<object> |
Server backend. |
|
|
object |
|||
| Type |
string |
Tipe server backend. Nilai yang valid:
|
ecs |
| Weight |
integer |
Bobot server backend. Nilai yang valid: 0 hingga 100. |
100 |
| Description |
string |
Deskripsi kelompok server. |
BackendServer1 |
| ServerId |
string |
ID server backend. |
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.