The CMQ resource tagging feature was relaunched on September 9, 2019, which is automatically compatible with previously configured resource tags.
A resource tag is a key-value pair provided by Tencent Cloud to identify a resource in the cloud.
You can use resource tags to classify CMQ resources based on various factors such as service, usage, and person in charge. With resource tags, you can quickly sift through the resource pool and find the corresponding resources. The values of resource tag keys do not mean anything to Tencent Cloud semantically and will be parsed and matched strictly according to the string.
Below is a specific use case to show how a resource tag is used.
A company owns 10 CMQ instances in Tencent Cloud. Distributed in three departments (ecommerce, gaming, and entertainment), these instances are used to serve internal business lines such as marketing, game A, game B, and post-production. The OPS owners of the three departments are John, Jane, and Harry, respectively.
To facilitate management, the company categorizes its CMQ resources with resource tags and defines the following resource tag key-value pairs:
|Resource Tag Key||Tag Value|
|Department||Ecommerce, gaming, and entertainment|
|Business||Marketing, game A, game B, and post-production|
|OPS owner||John, Jane, and Harry|
These resource tags are bound to CMQ instances in the following way:
Filter out the CMQ instances in the charge of Harry
Filter out the CMQ instances where the OPS owner is "Harry". For detailed directions, please see Using Resource Tags.
Filter out the CMQ instances in the charge of Jane in the gaming department
Filter out the CMQ instances where the department is "gaming" and OPS owner is "Jane". For detailed directions, please see Using Resource Tags.