tencent cloud

Feedback

Tag Management

Last updated: 2024-08-19 16:44:21

    Overview

    Tags are key-value pairs provided by Tencent Cloud to mark and identify resources in the cloud. They help you easily classify and manage the TDMQ for Apache Pulsar resources in many dimensions such as business, purpose, and owner.
    Note
    Tencent Cloud will not use the tags you set, and they will only be used for your management of the TDMQ for Apache Pulsar resources.

    Use Limits

    For the use limits of tags, see Use Limits.

    Operation Methods and Cases

    Case Description

    Case: A company has 6 TDMQ for Apache Pulsar clusters on Tencent Cloud, with the department, business scope, and owner information as described below:
    Queue ID
    Department
    Business Scope
    Owner
    pulsar-rgxj35jgo3d1
    E-commerce
    Marketing campaigns
    Tom
    pulsar-rgxj35jgo3d2
    E-commerce
    Marketing campaigns
    Harry
    pulsar-rgxj35jgo3d3
    Games
    Game A
    Jane
    pulsar-rgxj35jgo3d4
    Games
    Game B
    Harry
    pulsar-rgxj35jgo3d5
    Entertainment
    Post-production
    Harry
    pulsar-rgxj35jgo3d6
    Entertainment
    Post-production
    Tom
    Taking pulsar-rgxj35jgo3d1 as an example, we can add the following three sets of tags to this instance:
    Tag key
    Tag value
    dept
    ecommerce
    business
    mkt
    owner
    Tom
    
    Similarly, other queue resources can also set their corresponding tags based on their department, business scope, and owner.

    Setting Tags in the TDMQ for Apache Pulsar Console

    Taking the above scenario as an example, after you have designed the tag keys and tag values, you can log in to the TDMQ for Apache Pulsar console to set the tags.
    2. On the Cluster Management list page, select the region, check the clusters that need tag editing, and click Edit Resource Tags 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 cluster of pulsar-rgxj35jgo3d1.
    
    Note
    If the existing tags do not meet your requirements, please go to Tag Management to create new tags.
    4. Click OK. The system will display a successful modification prompt, and you can view the associated tags in the resource tag column of the cluster.
    

    Filtering Resources by Tag Key

    When you want to filter clusters that are bound to specific tags, use the following operations to filter them.
    1. In the search box at the top-right corner of the page, select Tag.
    2. In the window that pops up after Tag:, select the tag you want to search for, and click Confirm to search. For example: Select Tag: owner:zhangsan to filter out clusters bound to the tag key owner:zhangsan.
    

    Editing Tag

    1. On the cluster management list page, select the region, check the clusters that need tag editing, and click Edit Resource Tags at the top of the page.
    
    Note
    You can batch edit tags for up to 20 resources at a time.
    2. In the pop-up Edit Tag window, add, modify, or delete tags as needed.
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support