ZooKeeper ノードの子ノードを照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
mse:ListZnodeChildren |
list |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| Path |
string |
必須 |
ノードのパス。 |
/zookeeper |
| ClusterId |
string |
必須 |
インスタンスの ID。 |
mse-09k1q11**** |
| AcceptLanguage |
string |
任意 |
応答の言語。有効な値:
|
zh |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
データ構造。 |
||
| Message |
string |
返されるメッセージ。 |
The request is successfully processed. |
| RequestId |
string |
リクエストの ID。 |
BDB6CE0B-9CAF-41B5-9FEA-E08BE8E2**** |
| Data |
array<object> |
データの詳細。 |
|
|
object |
|||
| Data |
string |
ノードのデータ。 |
cluster |
| Path |
string |
ノードのパス。 |
/zookeeper |
| Dir |
boolean |
ノード情報が返されたかどうかを示します。有効な値:
|
true |
| Name |
string |
ノードの名前。 |
mse-bc1a29b0-160230875****-reg-center-0-1 |
| ErrorCode |
string |
リクエストが失敗した場合に返されるエラーコード。 |
mse-100-000 |
| Success |
boolean |
リクエストが成功したかどうかを示します。有効な値:
|
true |
例
成功レスポンス
JSONJSON
{
"Message": "The request is successfully processed.\n",
"RequestId": "BDB6CE0B-9CAF-41B5-9FEA-E08BE8E2****",
"Data": [
{
"Data": "cluster",
"Path": "/zookeeper",
"Dir": true,
"Name": "mse-bc1a29b0-160230875****-reg-center-0-1"
}
],
"ErrorCode": "mse-100-000",
"Success": true
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | ZooKeeper.IllegalRequest | ZooKeeper operation is illegal. | |
| 400 | ZooKeeper.IllegalRequest.NoAuth | No permission to operate current Znode. | |
| 400 | ZooKeeper.IllegalRequest.NodeExist | The current instance already has this Znode. | |
| 400 | ZooKeeper.IllegalRequest.NoNode | The current instance does not have this Znode. | |
| 400 | ZooKeeper.Timeout | ZooKeeper operation timeout. | |
| 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 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。