All Products
Search
Document Center

Edge Security Acceleration:DescribeDcdnTagResources

Last Updated:Oct 17, 2024

Queries the tags of one or more resources.

Operation description

Note You can call this operation up to 10 times per second per account.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ResourceTypestringYes

The type of the resource. Set the value to DOMAIN.

DOMAIN
ResourceIdarrayYes

The list of resource IDs. You can specify a maximum of 50 resource IDs.

stringYes

The ID of the resource.

example.com
Tagarray<object>No

The tags. You can specify a maximum of 20 tag values.

objectNo
KeystringNo

The key of the tag.

env
ValuestringNo

The value of the tag.

product

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

34AB41F1-04A5-496F-8C8D-634BDBE6A9FB
TagResourcesarray<object>

The tag of the instance.

TagResourceobject
ResourceIdstring

The ID of the resource.

example.com
Tagarray<object>

The tags of the snapshot.

Tagobject
Keystring

The key of the tag.

env
Valuestring

The value of the tag.

product

Examples

Sample success responses

JSONformat

{
  "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
No change history