All Products
Search
Document Center

ApsaraDB for ClickHouse:TagResources

Last Updated:Dec 10, 2025

Creates and attaches tags to one or more ApsaraDB for ClickHouse clusters.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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.