从网络型负载均衡服务器组中移除后端服务器。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
nlb:RemoveServersFromServerGroup |
delete |
*ServerGroup
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| ServerGroupId |
string |
是 |
服务器组 ID。 |
sgp-atstuj3rtoptyui**** |
| Servers |
array<object> |
是 |
后端服务器列表,单次调用最多支持传入 200 个服务器。 |
|
|
object |
否 |
后端服务器列表,单次调用最多支持传入 200 个服务器。 |
||
| ServerId |
string |
是 |
后端服务器 ID。
|
i-bp67acfmxazb4p**** |
| ServerType |
string |
是 |
后端服务器类型,取值:
|
Ecs |
| ServerIp |
string |
否 |
服务器 IP 地址。当服务器组为 Ip 类型时,必须指定 IP 地址。 |
192.168.6.6 |
| Port |
integer |
否 |
后端服务器使用的端口。端口范围 0~65535,不填则默认传入端口值 0。 |
443 |
| DryRun |
boolean |
否 |
是否只预检此次请求。取值:
|
false |
| ClientToken |
string |
否 |
客户端 Token,用于保证请求的幂等性。 从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。 说明
若您未指定,则系统自动使用 API 请求的 RequestId 作为 ClientToken 标识。每次 API 请求的 RequestId 不一样。 |
123e4567-e89b-12d3-a456-426655440000 |
| RegionId |
string |
否 |
网络型负载均衡实例所在的地域 ID。 您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-hangzhou |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
移除后端服务器。 |
||
| RequestId |
string |
请求 ID。 |
54B48E3D-DF70-471B-AA93-08E683A1B45 |
| ServerGroupId |
string |
服务器组 ID。 |
sgp-atstuj3rtoptyui**** |
| JobId |
string |
异步任务 ID。 |
72dcd26b-f12d-4c27-b3af-18f6aed5**** |
示例
正常返回示例
JSON格式
{
"RequestId": "54B48E3D-DF70-471B-AA93-08E683A1B45",
"ServerGroupId": "sgp-atstuj3rtoptyui****",
"JobId": "72dcd26b-f12d-4c27-b3af-18f6aed5****"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | Conflict.Lock | The Lock [%s] is conflict. | 指定的资源当前存在锁冲突。 |
| 400 | IncorrectStatus.serverGroup | The status of servergroup [%s] is incorrect. | 服务器组的状态无法进行当前操作,请检查服务器组当前是否处于其他操作下。 |
| 400 | IllegalParam.%s | The param of %s is illegal. | 参数%s非法 |
| 400 | SystemBusy | System is busy, please try again later. | 系统繁忙,请稍后重试 |
| 400 | IdempotenceSignatureMismatch | The idempotence token of request is same with the prev one, but the signature is different. | 请求的幂等令牌与上一个相同,但签名不同。 |
| 403 | Forbidden.NoPermission | Authentication is failed for NoPermission. | 因为账号没有权限,所以鉴权失败。 |
| 404 | ResourceNotFound.BackendServer | The specified resource of BackendServer is not found. | 找不到指定的后端服务器资源,请检查输入的参数。 |
| 404 | ResourceNotFound.serverGroup | The specified resource of serverGroup is not found. | 找不到指定的服务器组资源,请检查输入参数。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。