This API is used to query the tag associated with a DB instance.
None
Name |
Type |
Description |
---|---|---|
tags |
List data structure. For details, see Table 3. |
Specifies the tag information. |
Name |
Type |
Description |
---|---|---|
key |
String |
Specifies the tag key. Its value cannot be empty and must be 1 to 36 Unicode characters in length. It cannot contain nonprintable ASCII characters (0–31) and the following special characters: *<>\= |
value |
String |
Specifies the tag value. Its value can be empty or 1 to 43 Unicode characters in length. It cannot contain nonprintable ASCII characters (0–31) and the following special characters: *<>\= |
{ "tags": [ { "key": "key1", "value": "value1" }, { "key": "key2", "value": "value3" } ] }
For details, see Abnormal Request Results.