View resource tags


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
RegionId String Yes cn-hangzhou

Instance region

ResourceType String Yes ALIYUN::DRDS::INSTANCE

The DRDS INSTANCE resource type. Valid value: ALIYUN::DRDS::INSTANCE.

Action String No ListTagResources

The system parameter. Valid values: ListTagResources

NextToken String No 6 ab4640 a-479b-41d0-ad3c-c6e888******

The paged token.

ResourceId.N RepeatList No drdshzs******

DRDS instance id

Tag.N.Key String No test

Tag Key

Tag.N.Value String No 1

Tag Value

Response parameters

Prameter Type Sample response Description
NextToken String 6 ab4640 a-479b-41d0-ad3c-c6e888******

The paged token.

RequestId String Cost

The ID of the request.

Success Boolean true

The result of the operation.

TagResources Array

The list of resource tag results.


The list of resource tag results.

ResourceId String drdshz******

The id of the DRDS instance.

ResourceType String ALIYUN::DRDS::INSTANCE

Resource DRDS type

TagKey String test

Tag Key

TagValue String 1

Tag Value


Sample request

http(s)://[Endpoint]/? Action=ListTagResources
& <Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.