Mengkueri sumber daya dalam grup aplikasi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:DescribeMonitorGroupInstances |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 10. |
10 |
| PageNumber |
integer |
No |
Nomor halaman. Nilai default: 1. |
1 |
| GroupId |
integer |
Yes |
ID grup aplikasi. |
123**** |
| Category |
string |
No |
Singkatan nama layanan cloud. Nilai valid N: 1 hingga 200. Catatan
Untuk informasi lebih lanjut tentang cara memperoleh singkatan nama layanan cloud, lihat |
ecs |
| Keyword |
string |
No |
Kata kunci yang digunakan untuk mencari instance. Pencarian fuzzy berdasarkan nama instance didukung. |
test-s1 |
| InstanceIds |
string |
No |
ID instance. Anda dapat mengkueri beberapa instance dengan menentukan beberapa ID. |
i-bp12g4xbl4i0brkn**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
97F2A410-9412-499C-9AD1-76EF7EC02DF2 |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. |
true |
| Code |
integer |
Kode respons. Catatan
Kode status 200 menunjukkan bahwa permintaan berhasil. |
200 |
| Message |
string |
Pesan yang dikembalikan. |
success |
| PageNumber |
integer |
Nomor halaman. |
1 |
| PageSize |
integer |
Jumlah entri per halaman. |
10 |
| Total |
integer |
Jumlah total entri yang dikembalikan. |
12 |
| Resources |
object |
||
| Resource |
array<object> |
Informasi tentang sumber daya di grup aplikasi. |
|
|
object |
|||
| Category |
string |
The abbreviation of the service name. |
ecs |
| InstanceId |
string |
The instance ID. |
i-bp12g4xbl4i0brkn**** |
| InstanceName |
string |
The instance name. |
test-s1 |
| Id |
integer |
The resource ID. |
123**** |
| RegionId |
string |
The ID of the region where the instance resides. |
cn-hangzhou |
Contoh
Respons sukses
JSONformat
{
"RequestId": "97F2A410-9412-499C-9AD1-76EF7EC02DF2",
"Success": true,
"Code": 200,
"Message": "success",
"PageNumber": 1,
"PageSize": 10,
"Total": 12,
"Resources": {
"Resource": [
{
"Category": "ecs",
"InstanceId": "i-bp12g4xbl4i0brkn****",
"InstanceName": "test-s1",
"Id": 0,
"RegionId": "cn-hangzhou"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ParameterInvalid | %s | |
| 401 | AccessDeniedException | You donot have sufficient access to perform this action. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 402 | LimitExceeded | The quota for this customer had been reached. | |
| 403 | AccessForbidden | The X.509 certificate or cms access key ID provided does not exist in our records. | |
| 206 | %s | %s | |
| 404 | ResourceNotFound | The specified resource is not found. | |
| 503 | %s | %s | |
| 406 | %s | %s | |
| 429 | Throttli∂ngException | The request was denied due to request throttling. | |
| 409 | %s | %s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.