All Products
Search
Document Center

Cloud Monitor:DescribeProjectMeta

Last Updated:Jun 11, 2026

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

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

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, name adalah product. Contoh: {"name":"product","value":"ECS"}.

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_Service name abbreviation. For more information about namespaces, see Appendix 1: Metrics.

acs_cdn

Description

string

The description.

CDN

Labels

string

The tags. Tags are used to filter services.

Tags are returned in the following format: [{"name":"Tag key","value":"Tag value"}, {"name":"Tag key","value":"Tag value"}]. The following tags are commonly used:

  • alertUnit: the unit of the metric value in alerts. If the unit is small, the original metric value may be too large. In this case, you can use the alertUnit tag to specify an appropriate unit. This tag is used in CloudMonitor.

  • minAlertPeriod: the minimum time interval to report a new alert. The interval at which monitoring data is reported. The value is usually 1 minute.

  • metricCategory: the service specification. Example: kvstore_sharding. Some Alibaba Cloud services have multiple specifications that are defined in the same namespace. This parameter is used to identify the specifications.

  • is_alarm: indicates whether an alert rule can be configured. We recommend that you do not use the special tags in the CloudMonitor console.

[{"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.