Overview
A tag is a key-value pair provided by Tencent Cloud to identify a resource in the cloud.
You can use tags to classify TMP resources based on various factors such as service, usage, and owner. With tags, you can quickly sift through the resource pool and find the corresponding resources. The values of tag keys do not mean anything to Tencent Cloud semantically and will be parsed and matched strictly according to the string. Tencent Cloud will not use your set tags, which are used only for resource management.
Below is a specific use case to show how a tag is used.
Use Case Background
A company owns 10 TMP 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.
Setting Tag
To facilitate management, the company categorizes its TMP resources with tags and defines the following tag key-value pairs:
|
| Ecommerce, gaming, and entertainment |
| Marketing, game A, game B, and post-production |
| |
These tags are bound to TMP instances in the following way:
Using Tag
Filter out the TMP instances in the charge of Harry
Filter out the TMP instances where the OPS owner is "Harry". For detailed directions, please see Using Tag.
Filter out the TMP instances in the charge of Jane in the gaming department
Filter out the TMP instances where the department is "gaming" and OPS owner is "Jane". For detailed directions, please see Using Tag.
Was this page helpful?