Memanggil operasi DescribeProjectMeta untuk mengkueri daftar layanan cloud yang mendukung metrik pemantauan deret waktu di CloudMonitor.
Deskripsi operasi
Obtains the information about the connected cloud services, including the description, namespace, and tags of each service.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Labels |
string |
No |
Tag. Tag digunakan untuk memfilter alert, dan setiap alert dapat ditandai dengan tag khusus. Hanya pemfilteran berdasarkan produk yang didukung. Artinya, Catatan
Jangan gunakan tag khusus untuk konsol CloudMonitor di Alibaba Cloud. |
[{"name":"product","value":"ECS"}] |
| PageNumber |
integer |
No |
Nomor halaman. Nilai valid: 1 hingga 100. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai valid: 1 hingga 10000. Nilai default: 30. Catatan
Alibaba Cloud tidak membatasi parameter ini. Untuk mendapatkan semua hasil, atur ukuran halaman ke nilai besar. |
30 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
4C2061B2-3B1B-43BF-A4A4-C53426F479C0 |
| Success |
boolean |
Indicates whether the operation was successful. Valid values: true and false. The value true indicates success, and the value false indicates failure. |
true |
| Code |
string |
The status code. Catatan
The value 200 indicates success. |
200 |
| Message |
string |
The error message. |
The Request is not authorization. |
| PageSize |
string |
The number of entries per page. |
5 |
| PageNumber |
string |
The page number. |
1 |
| Total |
string |
The total number of entries. |
12 |
| Resources |
object |
||
| Resource |
array<object> |
The information about the cloud service. |
|
|
object |
|||
| Namespace |
string |
The namespace of the cloud service. Format: |
acs_cdn |
| Description |
string |
The description. |
CDN |
| Labels |
string |
The tags. Tags are used to filter services. Tags are returned in the following format:
|
[{"metricCategory":ecs}] |
Contoh
Respons sukses
JSONformat
{
"RequestId": "4C2061B2-3B1B-43BF-A4A4-C53426F479C0",
"Success": true,
"Code": "200",
"Message": "The Request is not authorization.",
"PageSize": "5",
"PageNumber": "1",
"Total": "12",
"Resources": {
"Resource": [
{
"Namespace": "acs_cdn",
"Description": "CDN",
"Labels": "[{\"metricCategory\":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. | The specified resource is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.