ZooKeeper ノードを削除します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
mse:DeleteZnode |
delete |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RequestPars |
string |
任意 |
JSON フォーマットの拡張リクエストパラメーター。 |
{} |
| ClusterId |
string |
必須 |
インスタンスの ID。 |
mse-09k1q11**** |
| Path |
string |
必須 |
ノードのパス。 |
/zookeeper |
| AcceptLanguage |
string |
任意 |
レスポンスの言語。有効な値:
|
zh |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
データ構造。 |
||
| HttpCode |
string |
返される HTTP ステータスコード。 |
200 |
| Message |
string |
返されるメッセージ。 |
The request is successfully processed. |
| RequestId |
string |
リクエスト ID。 |
DC34E4A3-5F1C-4E40-86EA-02EDF967**** |
| Data |
object |
データの詳細。 |
|
| Data |
string |
ノードのデータ。 |
cluster |
| Path |
string |
ノードのパス。 |
/ |
| Dir |
boolean |
ノード情報が返されたかどうかを示します。有効な値:
|
true |
| Name |
string |
ノード名。 |
mse-bc1a29b0-160230875****-reg-center-0-1 |
| ErrorCode |
string |
リクエストが失敗した場合に返されるエラーコード。 |
mse-100-000 |
| Success |
boolean |
リクエストが成功したかどうかを示します。有効な値:
|
true |
例
成功レスポンス
JSONJSON
{
"HttpCode": "200",
"Message": "The request is successfully processed.\n",
"RequestId": "DC34E4A3-5F1C-4E40-86EA-02EDF967****",
"Data": {
"Data": "cluster",
"Path": "/",
"Dir": true,
"Name": "mse-bc1a29b0-160230875****-reg-center-0-1"
},
"ErrorCode": "mse-100-000",
"Success": true
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | ZooKeeper.Timeout | ZooKeeper operation timeout. | |
| 400 | ZooKeeper.IllegalRequest.NoNode | The current instance does not have this Znode. | |
| 400 | IllegalRequest | Invalid request:%s | |
| 400 | InvalidParameter | Parameter error:%s | |
| 500 | InternalError | Console error. Try again later:%s | |
| 403 | NoPermission | You are not authorized to perform this operation:%s | |
| 404 | NotFound | Not found:%s |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。