Skip to main content

DescribeTags

Description

Query the tag information of the RDS instance under the account.

Request Method

POST

Request Path

/apsara/route/Rds/DescribeTags

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
DBInstanceIdBODYstringNoNo sample value for this parameter.instance ID. pass this parameter and other filter conditions are invalid.
regionIdBODYstringYesNo sample value for this parameter.region id
RegionIdBODYstringYesNo sample value for this parameter.region.
versionBODYstringNo2016-01-01version of api
TagsBODYjson stringNoNo sample value for this parameter.Tag list to query, including TagKey and TagValue. TagKey cannot be empty, TagValue can be empty. format example: {"key1": "value1"}

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}