This operation lists existing tag keys.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenest:ListTagKeys |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| NextToken |
string |
No |
The token to start the next query. |
AAAAAfu+XtuBE55iRLHEYYuojI4= |
| ResourceType |
string |
Yes |
The resource type. Valid values:
|
service |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
The token to start the next query. |
AAAAAZ9FmxgN6wKfeK/GOKRnnjU= |
| RequestId |
string |
The ID of the request. |
8872ACE6-0297-54A4-8AAD-3A8623EC6C5D |
| Keys |
array |
A list of tag keys. |
|
|
string |
A list of tag keys. |
[ 0 : "lzqtest-huhehaote" 1 : "lzqros" 2 : "aaa" ] |
Examples
Success response
JSON format
{
"NextToken": "AAAAAZ9FmxgN6wKfeK/GOKRnnjU=",
"RequestId": "8872ACE6-0297-54A4-8AAD-3A8623EC6C5D",
"Keys": [
" [\n 0 : \"lzqtest-huhehaote\"\n 1 : \"lzqros\"\n 2 : \"aaa\"\n]"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.