Queries the tags that are added to the members in a resource directory.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
NextToken | string | No | The token that is used to start the next query. | caeba0bbb2be03f84eb48b699f0a**** |
MaxResults | integer | No | The number of entries to return on each page. Valid values: 1 to 100. Default value: 10. | 10 |
Tag | object [] | No | The tags. This parameter specifies a filter condition for the query. You can specify a maximum of 20 tags. | |
Key | string | No | The key of the tag. | k1 |
Value | string | No | The value of the tag. | v1 |
ResourceId | array | No | The Alibaba Cloud account IDs of the members. This parameter specifies a filter condition for the query. Note
If you want to query the tags that are added to the members in a resource directory, you must configure both the ResourceId and ResourceType parameters and set the ResourceType parameter to Account in your request.
| |
string | No | The Alibaba Cloud account ID of a member. This parameter specifies a filter condition for the query. Note
If you want to query the tags that are added to the members in a resource directory, you must configure both the ResourceId and ResourceType parameters and set the ResourceType parameter to Account in your request.
| 1098*** | |
ResourceType | string | Yes | The type of the objects whose tags you want to query. This parameter specifies a filter condition for the query. Valid values:
| Account |
Response parameters
Examples
Sample success responses
JSON
format
{
"NextToken": "caeba0bbb2be03f84eb48b699f0a****",
"RequestId": "8054B059-6B36-53BF-AA45-B8C9A0ED05AB",
"TagResources": [
{
"TagValue": "k1",
"ResourceId": "1098***",
"TagKey": "k1",
"ResourceType": "Account"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|