Mengkueri informasi statistik label aset.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeGroupedTags |
get |
*All resources
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| MachineTypes |
string |
No |
Jenis aset yang akan dikueri. Jika Anda tidak menentukan jenis aset, informasi tag untuk semua jenis aset akan dikueri. Nilai valid:
|
ecs |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
Kode status HTTP permintaan. |
200 |
| RequestId |
string |
ID permintaan. Ini adalah pengenal unik yang dibuat oleh Alibaba Cloud untuk permintaan dan dapat digunakan untuk memecahkan masalah. |
151F6EB6-D5F3-417A-AF7B-4D84975DB586 |
| Success |
boolean |
Apakah permintaan berhasil. Nilai valid:
|
true |
| Count |
integer |
Parameter ini tidak digunakan lagi dan dapat diabaikan. |
0 |
| GroupedFileds |
array<object> |
Informasi statistik label aset. |
|
|
object |
|||
| Name |
string |
Nama tag. |
InternetIp |
| Count |
string |
Jumlah aset yang terkait dengan tag. |
152 |
| TagId |
integer |
ID tag. |
3252366 |
Contoh
Respons sukses
JSONformat
{
"HttpStatusCode": 200,
"RequestId": "151F6EB6-D5F3-417A-AF7B-4D84975DB586",
"Success": true,
"Count": 0,
"GroupedFileds": [
{
"Name": "InternetIp",
"Count": "152",
"TagId": 3252366
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | no permission | You do not have the access permissions on this service. |
| 500 | ServerError | ServerError | A service error occurred. Try again later. |
| 403 | NoPermission | caller has no permission | The current operation is not authorized. Use the Alibaba Cloud account to grant the permission in the RAM console, and then perform the operation again. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.