アプリケーショングループに属するリソースのクラウドサービスと、各クラウドサービスに属するリソースの数を照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
cms:DescribeMonitorGroupCategories |
get |
*MonitorGroup
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| GroupId |
integer |
必須 |
アプリケーショングループの ID。 |
123456 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
なし。 |
||
| Code |
integer |
HTTP ステータスコード。 説明
状態コード 200 は、リクエストが成功したことを示します。 |
200 |
| Message |
string |
返されたエラーメッセージ。 |
The specified resource is not found. |
| RequestId |
string |
リクエスト ID。 |
9E0347B0-EBC3-4769-A78D-D96F21C6BB52 |
| Success |
boolean |
リクエストが成功したかどうかを示します。 有効な値:
|
true |
| MonitorGroupCategories |
object |
アプリケーショングループ内のリソースが属するクラウドサービスと、そのクラウドサービスに属するリソースの数。 |
|
| GroupId |
integer |
アプリケーショングループの ID。 |
123456 |
| MonitorGroupCategory |
object |
||
| CategoryItem |
array<object> |
アプリケーショングループ内のリソースが属するクラウドサービスと、そのクラウドサービスに属するリソースの数。 |
|
|
object |
|||
| Count |
integer |
クラウドサービスに属するリソースの数。 |
1 |
| Category |
string |
クラウドサービス名の略語。 説明
クラウドサービス名の略語の取得方法の詳細については、DescribeProjectMeta 操作のレスポンスパラメーター |
ecs |
例
成功レスポンス
JSONJSON
{
"Code": 200,
"Message": "The specified resource is not found.",
"RequestId": "9E0347B0-EBC3-4769-A78D-D96F21C6BB52",
"Success": true,
"MonitorGroupCategories": {
"GroupId": 123456,
"MonitorGroupCategory": {
"CategoryItem": [
{
"Count": 1,
"Category": "ecs"
}
]
}
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | ParameterInvalid | Illegal parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | AccessForbidden | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。