Queries the tag values for a specific tag key.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:ListTagValues |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NextToken |
string |
No |
The token that is used to start the next query. |
caeba0bbb2be03f84eb48b699f0***** |
| ResourceType |
string |
Yes |
The resource type. Set the value to ALIYUN::WAF::DEFENSERESOURCE. |
ALIYUN::WAF::DEFENSERESOURCE |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
Call the DescribeInstance operation to query the ID of the WAF instance. |
waf_v2_public_cn-lbj****x10g |
| Key |
string |
Yes |
The tag key. |
demoKey |
| RegionId |
string |
Yes |
The region where the WAF instance resides. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-aekzwwk****cv5i |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
The token that is used to start the next query. If this parameter is empty, no more results exist. |
caeba0bbb2be03f84eb48b699f0***** |
| RequestId |
string |
The request ID. |
705114BB-EAEF-5CC4-8837-F1D4****BB5B |
| Values |
array |
The list of tag values. |
|
|
string |
The tag value. |
TagValue1 |
Examples
Success response
JSON format
{
"NextToken": "caeba0bbb2be03f84eb48b699f0*****\n",
"RequestId": "705114BB-EAEF-5CC4-8837-F1D4****BB5B",
"Values": [
"TagValue1"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.