Menghapus server backend dari grup vServer.
Deskripsi operasi
Jika server backend yang ditentukan oleh parameter BackendServers tidak ada di dalam grup vServer, server backend tersebut akan diabaikan. Tidak ada pesan error yang dikembalikan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
slb:RemoveVServerGroupBackendServers |
update |
instance
*loadbalancer
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID region dari instans Server Load Balancer (SLB). |
cn-hangzhou |
| VServerGroupId |
string |
Yes |
ID grup vServer. |
rsp-cige6**** |
| BackendServers |
string |
Yes |
Server backend yang ingin Anda hapus. Konfigurasikan parameter berikut:
Catatan
Anda hanya dapat menentukan ENI dan instans elastic container sebagai server backend untuk instans SLB berperforma tinggi.
Contoh:
Catatan
Anda hanya dapat menambahkan server backend yang sedang berjalan ke instans SLB. Anda dapat menentukan maksimal 20 server backend. |
[{ "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" }] |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| VServerGroupId |
string |
ID grup vServer. |
rsp-cige6j**** |
| RequestId |
string |
ID permintaan. |
9DEC9C28-AB05-4DDF-9A78-6B0****** |
| BackendServers |
object |
||
| BackendServer |
array<object> |
Server backend. |
|
|
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**** |
Contoh
Respons sukses
JSONformat
{
"VServerGroupId": "rsp-cige6j****",
"RequestId": "9DEC9C28-AB05-4DDF-9A78-6B0******",
"BackendServers": {
"BackendServer": [
{
"Type": "eni",
"Weight": 100,
"Port": 80,
"ServerId": "eni-hhshhs****"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | LbStatusNotSupport | The status of specified loadbalancer does not support.. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.