從指定的虛擬伺服器組中移除後端伺服器。
介面說明
如果 BackendServers 中參數的某些後端伺服器不存在於這個虛擬伺服器組中,會直接忽略,不會報錯。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
slb:RemoveVServerGroupBackendServers |
update |
instance
*loadbalancer
|
|
無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
Server Load Balancer執行個體的地區 ID。 |
cn-hangzhou |
| VServerGroupId |
string |
是 |
虛擬伺服器組 ID。 |
rsp-cige6**** |
| BackendServers |
string |
是 |
後端伺服器列表,包含以下參數:
說明
只有效能保障型執行個體支援添加 eni 和 eci 類型的後端伺服器。
樣本說明如下:
說明
必須是狀態為運行中的後端伺服器才可以加入Server Load Balancer執行個體,每次調用最多可添加 20 個後端伺服器。 |
[{ "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" }] |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| VServerGroupId |
string |
虛擬伺服器組 ID。 |
rsp-cige6j**** |
| RequestId |
string |
請求 ID。 |
9DEC9C28-AB05-4DDF-9A78-6B0****** |
| BackendServers |
object |
||
| BackendServer |
array<object> |
後端伺服器列表。 |
|
|
object |
後端伺服器列表。 |
||
| Type |
string |
後端伺服器類型,取值:
|
eni |
| Weight |
integer |
後端伺服器的權重。 |
100 |
| Port |
integer |
後端伺服器使用的連接埠。 |
80 |
| ServerId |
string |
後端伺服器執行個體 ID。 |
eni-hhshhs**** |
樣本
正常返回樣本
JSON格式
{
"VServerGroupId": "rsp-cige6j****",
"RequestId": "9DEC9C28-AB05-4DDF-9A78-6B0******",
"BackendServers": {
"BackendServer": [
{
"Type": "eni",
"Weight": 100,
"Port": 80,
"ServerId": "eni-hhshhs****"
}
]
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | LbStatusNotSupport | The status of specified loadbalancer does not support.. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。