tencent cloud

Feedback

Managing Resource with Tag

Last updated: 2024-01-03 14:21:46

    Overview

    A tag is a key-value pair provided by Tencent Cloud to identify a resource in the cloud. You can use tags to easily categorize and manage TDMQ for 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 TDMQ for Pulsar resources.

    Use limits

    The use limits of tags are as follows:
    Limit Type
    Description
    Quantity
    Each Tencent Cloud resource can have up to 50 tags.
    Tag key
    Do not create tag keys prefixed with qcloud, tencent, or project because they are reserved for the system.
    A tag key can contain up to 255 digits, letters, and symbols +=.@-.
    Tag value
    It can be either an empty string or a string of up to 127 digits, letters, and symbols +=.@-.

    Directions and Use Cases

    Use case

    A company has 6 TDMQ for Pulsar clusters, with the department, business scope, and owner information as described below:
    Queue ID
    Business Group
    Business Scope
    Owner
    pulsar-rgxj35jgo3d1
    E-commerce
    Marketing
    John
    pulsar-rgxj35jgo3d2
    E-commerce
    Marketing
    Harry
    pulsar-rgxj35jgo3d3
    Gaming
    Game A
    Jane
    pulsar-rgxj35jgo3d4
    Gaming
    Game B
    Harry
    pulsar-rgxj35jgo3d5
    Entertainment
    Post-production
    Harry
    pulsar-rgxj35jgo3d6
    Entertainment
    Post-production
    John
    You can add the following three tags to the pulsar-rgxj35jgo3d1 cluster:
    Tag Key
    Tag Value
    dept
    ecommerce
    business
    mkt
    owner
    john
    Similarly, you can also set appropriate tags for other resources based on their department, business scope, and owner information.

    Setting tags in the TDMQ for Pulsar console

    After designing the tag keys and values as detailed above, you can log in to the TDMQ for Pulsar console to set tags.
    1. Log in to the TDMQ for Pulsar console.
    2. On the Cluster Management page, select the target region and cluster 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 pulsar-rgxj35jgo3d1 cluster.
    
    Note:
    If existing tags cannot meet your needs, go to the [Tag] console(https://console.tencentcloud.com/tag/taglist!2ec512a4e347ea6fc304960dfe8b3d58) 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 cluster in its Resource Tag column.
    
    
    

    Filtering resources by tag key

    You can filter clusters bound to a specific tag in the following steps:
    1. Select Tag in the search box at the top-right corner of the page.
    2. In the pop-up window, select the tag you want to search for and click OK.
    For example, if you select Tag: owner:john, you can filter clusters bound to the tag key owner:john.
    
    
    
    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