All Products
Search
Document Center

CDN:DescribeTagResources

Last Updated:Aug 28, 2026

Queries the tags attached to specified CDN domain resources.

Operation description

The maximum call rate for this operation is 10 times per second per user.

Debugging

Debug

Run this operation directly in OpenAPI Explorer to skip manual signature calculation. After a successful run, OpenAPI Explorer generates SDK code samples automatically.

Authorization information

OperationAccess levelResource typeCondition keyAssociated operation
cdn:DescribeTagResourcesget*All Resourcesnonenone

The following describes the columns in the table above:

  • Operation: The value to use in the Action element of a RAM policy to grant a RAM user or RAM role permission to call this API operation.

  • Access level: The access level of the operation. Levels are read, write, and list.

  • Resource type: The type of resource on which the RAM user or RAM role can be authorized. Bold entries are required resource types. If permissions cannot be granted at the resource level, All Resources is used.

  • Condition key: Condition keys defined by the cloud service.

  • Associated operation: Other operations that the RAM user or RAM role must have permission to perform in order to complete this operation.

Request parameters

ParameterTypeRequiredDescriptionExample
ResourceTypestringYesThe resource type. Set the value to DOMAIN.DOMAIN
ResourceIdarrayYesThe IDs of the resources to query. Each ID is an accelerated domain name. You can specify up to 50 IDs per request.
ResourceId.NstringYesAn accelerated domain name.example.com
Tagarray\<object\>NoThe tags to filter by. You can specify up to 20 tags per request.
Tag.N.KeystringNoThe key of tag N. Valid values of N: 1 to 20.key
Tag.N.ValuestringNoThe value of tag N. Valid values of N: 1 to 20.value

Response parameters

ParameterTypeDescriptionExample
RequestIdstringThe request ID.34AB41F1-04A5-496F-8C8D-634BDBE6A9FB
TagResourcesarray\<object\>The tags attached to the specified resources.
TagResources.TagResourceobjectThe tag information for a resource.
TagResources.TagResource.ResourceIdstringThe ID of the resource.example.com
TagResources.TagResource.Tagarray\<object\>The key-value pairs of the tags attached to the resource.
TagResources.TagResource.Tag.KeystringThe tag key.env
TagResources.TagResource.Tag.ValuestringThe tag value.product

Examples

Sample success responses

JSON format

{
  "RequestId": "34AB41F1-04A5-496F-8C8D-634BDBE6A9FB",
  "TagResources": [
    {
      "ResourceId": "example.com",
      "Tag": [
        {
          "Key": "env",
          "Value": "product"
        }
      ]
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-12-18API description updateView change details