ネットワークロードバランサー (NLB) インスタンスからサーバーグループを削除します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
nlb:RemoveServersFromServerGroup |
delete |
*ServerGroup
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ServerGroupId |
string |
必須 |
サーバーグループの ID。 |
sgp-atstuj3rtoptyui**** |
| Servers |
array<object> |
必須 |
バックエンドサーバー。1 回の呼び出しで最大 200 台のバックエンドサーバーを指定できます。 |
|
|
object |
任意 |
バックエンドサーバー。1 回の呼び出しで最大 200 台のバックエンドサーバーを指定できます。 |
||
| ServerId |
string |
必須 |
バックエンドサーバーの ID。
|
ecs-bp67acfmxazb4p**** |
| ServerType |
string |
必須 |
バックエンドサーバーのタイプ。有効な値:
|
Ecs |
| ServerIp |
string |
任意 |
サーバーの IP アドレス。サーバーグループのタイプが Ip の場合、ServerId パラメーターを IP アドレスに設定します。 |
192.168.6.6 |
| Port |
integer |
任意 |
バックエンドサーバーが使用するポート。有効な値:0~65535。このパラメーターを設定しない場合、デフォルト値の 0 が使用されます。 |
443 |
| DryRun |
boolean |
任意 |
ドライランを実行するかどうかを指定します。有効な値:
|
false |
| ClientToken |
string |
任意 |
リクエストのべき等性を保証するために使用されるクライアントトークン。 クライアントを使用してトークンを生成できます。トークンが異なるリクエスト間で一意であることを確認してください。ASCII 文字のみが許可されます。 説明
このパラメーターを設定しない場合、RequestId の値が使用されます。**** RequestId の値はリクエストごとに異なります。 |
123e4567-e89b-12d3-a456-426655440000 |
| RegionId |
string |
任意 |
Network Load Balancer (NLB) インスタンスがデプロイされているリージョンの ID。 DescribeRegions 操作を呼び出して、最新のリージョンリストをクエリできます。 |
cn-hangzhou |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
サーバーグループからバックエンドサーバーを削除します。 |
||
| RequestId |
string |
リクエスト ID。 |
54B48E3D-DF70-471B-AA93-08E683A1B45 |
| ServerGroupId |
string |
サーバーグループの ID。 |
sgp-atstuj3rtoptyui**** |
| JobId |
string |
非同期タスクの ID。 |
72dcd26b-f12d-4c27-b3af-18f6aed5**** |
例
成功レスポンス
JSONJSON
{
"RequestId": "54B48E3D-DF70-471B-AA93-08E683A1B45",
"ServerGroupId": "sgp-atstuj3rtoptyui****",
"JobId": "72dcd26b-f12d-4c27-b3af-18f6aed5****"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | Conflict.Lock | The Lock [%s] is conflict. | 日文说明1 |
| 400 | IncorrectStatus.serverGroup | The status of servergroup [%s] is incorrect. | |
| 400 | IllegalParam.%s | The param of %s is illegal. | |
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。