Mengkueri kunci tag pada sumber daya.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID Wilayah instans Host Bastion. |
cn-hangzhou |
| ResourceType |
string |
Yes |
Tipe sumber daya. Satu-satunya nilai valid adalah INSTANCE, yang merepresentasikan instans Host Bastion. |
INSTANCE |
| PageSize |
integer |
No |
Jumlah entri per halaman. |
10 |
| PageNumber |
integer |
No |
Nomor halaman yang akan dikembalikan. |
1 |
| ResourceGroupId |
string |
No |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
50177258-E817-4D2F-A5C6-3FD7BC4806E3 |
| PageNumber |
integer |
The returned page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
| TotalCount |
integer |
The total number of tag keys. |
5 |
| TagKeys |
array<object> |
An array of tag keys. |
|
|
object |
|||
| TagCount |
integer |
The number of resources with this tag key. |
2 |
| TagKey |
string |
The tag key. |
key2 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "50177258-E817-4D2F-A5C6-3FD7BC4806E3",
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 5,
"TagKeys": [
{
"TagCount": 2,
"TagKey": "key2"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.