Last updated: 2020-02-17 18:14:37PDF
The CMQ resource tag was re-Activate on September 9, 2019, and the resource tag you have configured is automatically compatible.
The resource tag, which is a key-value pair (Key-Value), is a tag provided by Tencent Cloud to identify resources on the cloud.
You can use resource tags to classify and manage CMQ message queue resources according to various dimensions (such as business, purpose, owner, etc.), and the corresponding resources can be easily filtered through resource tags. The resource tag key-value pair does not have any semantic meaning to Tencent Cloud and will be parsed and matched strictly according to the string.
The following is a specific case to introduce the use of resource tags.
A company has 10 CMQ message queue instances on Tencent Cloud, belonging to three departments: e-commerce, games and entertainment, serving marketing activities, game A, game B, post-production and other businesses. The corresponding responsible persons of OPS in the three departments are John Smith, Jane Smith and Wang Wu.
Set resource label
In order to facilitate management, the company uses resource tags to classify and manage the corresponding CMQ message queue resources, defining the following resource tag key / value.
|Resource tag key||Tag value|
|Sector||E-commerce, games, entertainment|
|Business||Marketing campaign, Game A, Game B, Post-production|
|OPS in charge||John Smith, Jane Smith, Wang Wu|
Bind these resources tag key / value to CMQ. The relationship between resource and resource tag key / value is shown in the following table:
|Id||Sector||Business||OPS in charge|
|Queue-pale1||E-commerce vendor||Marketing campaign||Wang Wu|
|Queue-pale12||E-commerce vendor||Marketing campaign||Wang Wu|
|Queue-pale13||Game||Game A||John Smith|
|Queue-pale13||Game||Game B||John Smith|
|Queue-pale14||Game||Game B||John Smith|
|Queue-pale15||Game||Game B||Jane Smith|
|Queue-pale16||Game||Game B||Jane Smith|
|Queue-pale17||Game||Game B||Jane Smith|
Use asset tags
Select the CMQ instance that Wang Wu is responsible for
According to the screening rules, you can select the CMQ resources in which the person in charge of OPS is "Wang Wu". For specific screening methods, please refer to Use asset tags .
Filter out the CMQ instance that Jane Smith is in charge of in the game department.
According to the screening rules, you can screen out the CMQ resources in which the department is "Game" and the person in charge of OPS is "Jane Smith". For specific screening methods, please refer to Use asset tags .