Queries the tag keys on resources.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the Bastionhost instance. |
cn-hangzhou |
| ResourceType |
string |
Yes |
The type of the resource. The only valid value is INSTANCE, which represents a Bastionhost instance. |
INSTANCE |
| PageSize |
integer |
No |
The number of entries per page. |
10 |
| PageNumber |
integer |
No |
The page number to return. |
1 |
| ResourceGroupId |
string |
No |
Response elements
|
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 |
Examples
Success response
JSON format
{
"RequestId": "50177258-E817-4D2F-A5C6-3FD7BC4806E3",
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 5,
"TagKeys": [
{
"TagCount": 2,
"TagKey": "key2"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.