Queries the tag list of one or more specified cloud resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:ListTagCloudResources |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
Yes |
The cloud resource type. Valid values:
|
AppInstanceGroupId |
| ResourceIds |
array |
No |
The list of resource IDs. A maximum of 50 resource IDs are supported. You do not need to specify this parameter when the resource type is tenant ID. |
|
|
string |
Yes |
The resource ID. |
aig-001 |
|
| Scope |
string |
No |
The tag type. Valid values:
|
Custom |
| MaxResults |
integer |
No |
The number of entries per page. Maximum value: 1000. Default value: 50. |
50 |
| NextToken |
string |
No |
The token for the next query. |
ptnJAAAAAAAxNzE5OTEwNQ== |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
| NextToken |
string |
The token that determines whether the next query exists based on the NextToken value. |
AAAAAYRHtOLVQzCYj17y+OP7LZRrUJaF4rnBGQkWwMiVHlLZBB1w3Us37CVvhvyM0TXavA== |
| TotalCount |
integer |
The total number of entries. |
15 |
| ResourceTags |
array<object> |
The list of tags bound to the resources. |
|
|
array<object> |
The tag information bound to the resource. |
||
| ResourceType |
string |
The cloud resource type. Valid values:
|
AppInstanceGroupId |
| ResourceId |
string |
The resource ID. |
aig-0001 |
| Tags |
array<object> |
The list of tags. |
|
|
object |
The tag information. |
||
| Key |
string |
The tag key. |
Resolution |
| Value |
string |
The tag value. |
1080p |
| Scope |
string |
The tag type. Valid values:
|
Custom |
Examples
Success response
JSON format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
"NextToken": "AAAAAYRHtOLVQzCYj17y+OP7LZRrUJaF4rnBGQkWwMiVHlLZBB1w3Us37CVvhvyM0TXavA==",
"TotalCount": 15,
"ResourceTags": [
{
"ResourceType": "AppInstanceGroupId",
"ResourceId": "aig-0001",
"Tags": [
{
"Key": "Resolution",
"Value": "1080p",
"Scope": "Custom"
}
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServiceUnavailable | Service unavailable. Please try again later. | Service unavailable. Please try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.