Nacos インスタンスの名前空間を照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
mse:ListEngineNamespaces |
list |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| InstanceId |
string |
任意 |
インスタンスの ID。 |
mse-cn-st21ri2**** |
| AcceptLanguage |
string |
任意 |
応答メッセージの言語。 有効な値:
|
zh |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
データ構造。 |
||
| HttpCode |
string |
HTTP ステータスコード。 |
202 |
| TotalCount |
integer |
返されたインスタンスの総数。 |
7 |
| RequestId |
string |
リクエスト ID。 |
062D13C5-DEA3-4921-8918-C49A0F1B**** |
| Message |
string |
返されたメッセージ。 |
The request was successfully processed. |
| PageSize |
integer |
1ページあたりのエントリー数。 |
10 |
| PageNumber |
integer |
返されたページ番号。 |
1 |
| Data |
array<object> |
データの詳細。 |
|
|
object |
データの詳細。 |
||
| Type |
integer |
名前空間のタイプ。 有効な値:
|
0 |
| NamespaceShowName |
string |
名前空間の名前。 |
public |
| Quota |
integer |
クォータ。 |
200 |
| Namespace |
string |
名前空間。 |
DEFAULT |
| NamespaceDesc |
string |
名前空間の説明。 |
mytest |
| ConfigCount |
integer |
クォータの値。 |
1 |
| ServiceCount |
string |
アクティブなサービスの数。 |
3 |
| SourceType |
string |
名前空間が作成されたソース。 |
mse |
| ErrorCode |
string |
リクエストが失敗した場合に返されるエラーコード。 |
mse-100-000 |
| Success |
boolean |
リクエストが成功したかどうかを示します。 有効な値:
|
true |
例
成功レスポンス
JSONJSON
{
"HttpCode": "202",
"TotalCount": 7,
"RequestId": "062D13C5-DEA3-4921-8918-C49A0F1B****",
"Message": "The request was successfully processed.\n",
"PageSize": 10,
"PageNumber": 1,
"Data": [
{
"Type": 0,
"NamespaceShowName": "public",
"Quota": 200,
"Namespace": "DEFAULT",
"NamespaceDesc": "mytest",
"ConfigCount": 1,
"ServiceCount": "3",
"SourceType": "mse"
}
],
"ErrorCode": "mse-100-000",
"Success": true
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | OperationNotSupport | The current cluster does not support this operation, %s. | |
| 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 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。