Call DescribeDcdnTagResources to query tags for resources.
Operation description
Each user can call this operation up to 10 times per second.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnTagResources |
get |
domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
Yes |
The resource type. Set the value to DOMAIN. |
DOMAIN |
| ResourceId |
array |
Yes |
A list of resource IDs. You can specify up to 50 resource IDs. |
example.com |
|
string |
No |
The resource ID. |
example.com |
|
| Tag |
array<object> |
No |
A list of tags. You can specify up to 20 tags. |
|
|
object |
No |
|||
| Key |
string |
No |
The tag key. |
env |
| Value |
string |
No |
The tag value. |
product |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
34AB41F1-04A5-496F-8C8D-634BDBE6A9FB |
| TagResources |
array<object> |
The resource tags. |
|
|
object |
|||
| ResourceId |
string |
The resource ID. |
example.com |
| Tag |
array<object> |
The tags. |
|
|
object |
|||
| Key |
string |
The tag key. |
env |
| Value |
string |
The tag value. |
product |
Examples
Success response
JSON format
{
"RequestId": "34AB41F1-04A5-496F-8C8D-634BDBE6A9FB",
"TagResources": [
{
"ResourceId": "example.com",
"Tag": [
{
"Key": "env",
"Value": "product"
}
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.