tencent cloud

TDMQ for CMQ

Release Notes and Announcements
Release Notes
Announcements
Product Introduction
Overview
Features
Strengths
Use Cases
Use Limits
Basic Concepts
Purchase Guide
Billing Overview
Purchase Methods
Pricing Overview
Payment Overdue
Refund
Getting Started
Getting Started with Queue Model
Getting Started with Topic Model
Operation Guide
Queue Service
Topic Subscription
Access Management (CAM)
Tag Management
Alarm Configuration
Message Query and Trace
Practical Tutorial
Message Deduplication
Push/Pull Selection
Success Stories
Online Image Processing
Qidian.com
Development Guide
HTTP Endpoint Subscription
General References
API Documentation
API Documentation
API 2.0 to 3.0 Switch Guide
SDK Documentation
HTTP Data Flow SDK
HTTP Control Flow SDK
SDK Parameter Configuration Description
FAQs
Features
Operations
Service Level Agreement
Contact Us
Glossary

Managing Resource with Tag

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2024-01-03 10:17:36

Overview

Tag is a key-value pair provided by Tencent Cloud to identify a resource in the cloud. It can help you easily categorize and manage TDMQ for CMQ resources in many dimensions such as business, purpose, and owner.
Note:
Tencent Cloud will not use the tags you set, and they are only used for your management of TDMQ for CMQ resources.

Use Limits

You need to pay attention to the following use limits of tags:
Limit
Description
Quantity
One Tencent Cloud resource can have up to 50 tags.
Tag key
You cannot place qcloud, tencent, or project at the beginning of a tag key as they are reserved by the system.
A tag key can contain up to 255 digits, letters, and special symbols (+=.@-).
Tag value
It can contain up to 127 digits, letters, and special symbols (+=.@-) or be an empty string.

Directions and Use Cases

Use case

A company has 6 TDMQ for CMQ queues, with the department, business scope, and owner information as described below:
Queue ID
Department
Business Scope
Owner
cmqq-372ovdpw8ob1
Ecommerce
Marketing
John
cmqq-372ovdpw8ob2
Ecommerce
Marketing
Harry
cmqq-372ovdpw8ob3
Gaming
Game A
Jane
cmqq-372ovdpw8ob4
Gaming
Game B
Harry
cmqq-372ovdpw8ob5
Entertainment
Post-production
Harry
cmqq-372ovdpw8ob6
Entertainment
Post-production
John
You can add the following three tags to the cmqq-372ovdpw8ob1 queue:
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.

Setting tag in TDMQ for CMQ console

After designing the tag keys and values as detailed above, you can log in to the TDMQ for CMQ console to set tags.
1. Log in to the TDMQ for CMQ console.
2. On the Queue Service page, select the target region and queue and click Edit Resource Tag at the top of the page.
3. Set tags in the Edit Tag pop-up window.
For example, add three tags for the cmqq-372ovdpw8ob1 queue.
Note:
If existing tags cannot meet your needs, go to Tag Management to create more.
4. Click OK, and you will be prompted that the tags have been modified successfully. You can view the tags bound to a queue in its Resource Tag column.

Filtering resource by tag key

You can filter out queues bound to a specific tag in the following steps:
1. Select Tag in the search box at the top-right corner of the Queue Service page.
2. In the window that pops up, select the tag you want to search for and click OK. For example, if you select Tag: owner:zhangsan, you can filter out queues bound to the tag key owner:zhangsan.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan