调用DescribeMonitorGroupCategories接口查询指定应用分组的资源列表和每个云服务的资源数量。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
GroupId | long | 是 | 应用分组 ID。 | 123456 |
返回参数
示例
正常返回示例
JSON
格式
{
"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 status code | 错误码 | 错误信息 | 描述 |
---|
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | ParameterInvalid | Illegal parameters. | - |
403 | AccessForbidden | User not authorized to operate on the specified resource. | - |
404 | ResourceNotFound | The specified resource is not found. | 未找到指定资源。 |
500 | InternalError | The request processing has failed due to some unknown error. | - |
访问错误中心查看更多错误码。