tencent cloud

Configuring Resource Tag
Last updated: 2025-08-11 11:23:00
Configuring Resource Tag
Last updated: 2025-08-11 11:23:00

Overview

Tag is a marker provided by Tencent Cloud to identify cloud resources. It is a Key-Value pair. Tags can help you classify and manage TDMQ for RabbitMQ resources from various dimensionalities, such as business, purpose, and owner.
Notes:
Tencent Cloud will not use the tags you set. Tags are only used for your management of TDMQ for RabbitMQ resources.

Use Limits

Quantity Limit

One resource can bind up to 50 tags.

Naming Restrictions

Tag Key
Tag Value
Tag keys starting with qcs:, project:, or project are system-reserved tag keys, and creation of system-reserved tag keys is prohibited.
-
In UTF-8, a tag key must contain at least 1 and no more than 127 Unicode characters.
In UTF-8, a tag value must contain at least 1 and no more than 255 Unicode characters.
Support characters encoded in UTF-8 format, spaces, digits, and special characters. Does not support names starting or ending with a space.
Support in English: + - = . _ : / @ ( ) [ ] , ; >
Support in Chinese mode: + - = / @ ( ) [ ] :
Case-sensitive.

Usage Examples

Case Description

Case: A certain company has 6 TDMQ for RabbitMQ edition clusters on Tencent Cloud. The information of the user departments, business scopes and persons in charge of these 6 clusters is as follows:
Queue ID
Department
Business Scope
Owner
amqp-78383dp8p8w1
E-commerce
Marketing campaigns
Zhang San
amqp-78383dp8p8w2
E-commerce
Marketing campaigns
Wang Wu
amqp-78383dp8p8w3
Games
Game A
Li Si
amqp-78383dp8p8w4
Games
Game B
Wang Wu
amqp-78383dp8p8w5
Entertainment
Post-production
Wang Wu
amqp-78383dp8p8w6
Entertainment
Post-production
Zhang San
For the amqp-78383dp8p8w1 instance, you can add the following three sets of tags:
Tag Key
Tag Value
dept
ecommerce
business
mkt
owner
zhangsan
Similarly, you can also set appropriate tags for other resources based on their department, business scope, and owner information.

Set Tag in TDMQ for RabbitMQ Console

As detailed above, after designing the tag key and tag value, you can log in to the TDMQ for RabbitMQ console to set the tags.
1. Log in to the TDMQ for RabbitMQ console.
2. On the cluster management list page, select the region, check the clusters for which you want to edit tags, and click Edit Resource Tag at the top of the page.

3. In the pop-up "edit tag" window, set the tag.
For example, add three sets of tags to the amqp-78383dp8p8w1 cluster.

Notes:
If the existing tags do not meet your requirements, please go to Tag Management to create a tag.
4. Click Confirm. A prompt indicating successful modification will appear, and the bound tags can be viewed in the resource tag column of the cluster.

Filtering Resources by Tag Key

You can filter out clusters bound to a specific tag in the following steps:
1. Select tag in the search box at the top-right corner of the page.
2. Select the tag you want to search for in the window that pops up after Tag:, and click Confirm to perform the search.
3. For example: Select Tag: owner:zhangsan to filter out the cluster bound with the tag key owner:zhangsan.


Editing a Tag

1. On the cluster management list page, after selecting a region, check the needed cluster, and click Edit Resource Tag at the top of the page.
Notes:
Batch editing of tags is supported for up to 20 resources.
2. In the pop-up "edit tag" window, add, modify, or delete tags based on actual needs.

Unified Management of Resource Tags

Alternatively, you can manage resource tags in the unified management console. The detailed steps are as follows:
1. Log in to the tag console.
2. Select **Resource Tag** in the left sidebar, choose query conditions as needed, and select **Tencent Distributed Message Queue (TDMQ)** > **Cluster** under **Resource Type**.
3. Click Query Resource.
4. Check the needed resources in the results, click Edit Tag, and just bulk bind or unbind tags.


Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback