Lists the tag values for a specified tag key.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenest:ListTagValues |
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 that is used to start the next query. |
AAAAAfmTH5rcd4YFfob4P0uDAAc= |
| ResourceType |
string |
Yes |
The resource type. Valid values:
|
service |
| Key |
string |
Yes |
The tag key. |
ECS |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
The token that is used to start the next query. |
AAAAAVz7BQqj2xtiNSC3d3RAD38= |
| RequestId |
string |
The request ID. |
0631D623-D917-1C2D-ACD6-5B3B19XXXXXX |
| Values |
array |
The information about the tag values. |
|
|
string |
The tag value. |
[ 0 : "20211220" ] |
Examples
Success response
JSON format
{
"NextToken": "AAAAAVz7BQqj2xtiNSC3d3RAD38=",
"RequestId": "0631D623-D917-1C2D-ACD6-5B3B19XXXXXX",
"Values": [
" [\n 0 : \"20211220\"\n]"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.