Creates and attaches tags to one or more ApsaraDB for ClickHouse clusters.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. Note
Call the DescribeRegions operation to query region IDs. |
cn-hangzhou |
| ResourceId |
array |
Yes |
The resource ID. |
|
|
string |
No |
The ID of the cluster to which you want to attach tags. You can specify up to 50 cluster IDs. Note
Call the DescribeDBClusters operation to query information about all clusters in the destination region, including cluster IDs. |
cc-bp1t9lbb7a4z7**** |
|
| ResourceType |
string |
Yes |
The resource type. The value must be DBCLUSTER. |
DBCLUSTER |
| Tag |
array<object> |
Yes |
The list of tags. |
|
|
object |
No |
The custom tag. |
||
| Key |
string |
No |
The tag key. You can add up to 20 tag keys. |
testkey1 |
| Value |
string |
No |
The value of the tag key. You can add up to 20 tag values. |
testvalue1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| 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.