Lists the tag values of a specified 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 pagination token that is used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists. |
caeba0bbb2be03f84eb48b699f0***** |
| ResourceType |
string |
Yes |
The type of the resource. Set the value to ALIYUN::WAF::DEFENSERESOURCE. |
ALIYUN::WAF::DEFENSERESOURCE |
| InstanceId |
string |
Yes |
The ID of the Web Application Firewall (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 key of the tag that you want to query. |
demoKey |
| RegionId |
string |
Yes |
The region in which the WAF instance resides. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the resource group. |
rg-aekzwwk****cv5i |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
The pagination token that is used in the next request to retrieve a new page of results. If this parameter is empty, no next page exists. |
caeba0bbb2be03f84eb48b699f0***** |
| RequestId |
string |
The request ID. |
705114BB-EAEF-5CC4-8837-F1D4****BB5B |
| Values |
array |
The tag values that are associated with the specified tag key. |
|
|
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.