Mengkueri layanan cloud tempat Sumber daya dalam kelompok aplikasi berada dan jumlah Sumber daya yang termasuk dalam setiap layanan cloud di kelompok aplikasi tersebut.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:DescribeMonitorGroupCategories |
get |
*MonitorGroup
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| GroupId |
integer |
Yes |
ID kelompok aplikasi. |
123456 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
None. |
||
| Code |
integer |
The HTTP status code. Catatan
The status code 200 indicates that the request was successful. |
200 |
| Message |
string |
The error message returned. |
The specified resource is not found. |
| RequestId |
string |
The request ID. |
9E0347B0-EBC3-4769-A78D-D96F21C6BB52 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| MonitorGroupCategories |
object |
The cloud services to which the resources in the application group belong and the number of resources that belong to the cloud service. |
|
| GroupId |
integer |
The ID of the application group. |
123456 |
| MonitorGroupCategory |
object |
||
| CategoryItem |
array<object> |
The cloud services to which the resources in the application group belong and the number of resources that belong to the cloud service. |
|
|
object |
|||
| Count |
integer |
The number of resources that belong to the cloud service. |
1 |
| Category |
string |
The abbreviation of the cloud service name. Catatan
For more information about how to obtain the abbreviation of a cloud service name, see |
ecs |
Contoh
Respons sukses
JSONformat
{
"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"
}
]
}
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.