Adds tags to AnalyticDB for MySQL clusters.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:TagResources |
create |
DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. Call DescribeRegions to query available regions. |
cn-hangzhou |
| ResourceType |
string |
Yes |
The type of the cluster. Set the value to ALIYUN::ADB::CLUSTER. |
ALIYUN::ADB::CLUSTER |
| ResourceId |
array |
Yes |
The cluster ID. To tag multiple clusters, click Add and enter additional cluster IDs. Note
|
am-bp1xxx.1 |
|
string |
No |
The cluster ID. To tag multiple clusters, click Add and enter additional cluster IDs. Note
|
am-bp1gfds6a32s9**** |
|
| Tag |
array<object> |
Yes |
The tags to add to the cluster. |
|
|
object |
No |
The tag object. |
||
| Key |
string |
No |
The tag key. To add multiple tags, click Add and enter additional key-value pairs. Note
Up to 20 tags per request. |
testkey1 |
| Value |
string |
No |
The tag value. To add multiple tags, click Add and enter additional key-value pairs. Note
Up to 20 tags per request. |
testvalue1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The tags. |
||
| RequestId |
string |
The request ID. |
863D51B7-5321-41D8-A0B6-A088B0450EFD |
Examples
Success response
JSON format
{
"RequestId": "863D51B7-5321-41D8-A0B6-A088B0450EFD"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.