tencent cloud

Feedback

Querying Resources by Tag

Last updated: 2024-12-10 15:19:40

    Overview

    After binding tags to Tencent Cloud resources, you can use tags to quickly query resources. This document describes three methods to query resources by tag.

    Prerequisites

    You have created a tag and bound resources to it. For detailed instructions, please see Creating Tags and Binding Resources.

    Directions

    Note:
    Click the tabs below to view different querying methods.
    Via ag Console > Resource Tag
    Via Tag Console > Tag List
    Via Console of Tencent Cloud Service
    1. Log in to the Tag console.
    2. Click Resource Tag on the left sidebar.
    3. Set the filter criteria as follows.
    Region (required): You can select all or multiple regions.
    Resource type (required): You can select all or multiple resource types from the drop-down list, which includes Tencent Cloud services and resources that support tagging. For details, please see Tagging-enabled Services.
    Tag: Select one or multiple tag keys and values. If multiple tag keys and values are selected, the results will be a union of the resources bound to each selected tag.
    Project: Click More to show the project filter criterion and select a project. You can query only services that support project management by this criterion.
    4. Click Query resource, and the resources will be listed below.
    
    
    1. Log in to the Tag console.
    2. Click Tag List on the left sidebar.
    3. In the tag list, find the target tag, and click the digit in the Count of Resources column to view the resources bound to the tag.
    
    The resources will be displayed as below:
    
    
    You can log in to the console of a Tencent Cloud service that supports tagging and query resources under the service by tag. The directions below use CVM as an example.
    1. Log in to the CVM console.
    2. On the left sidebar, click Instances.
    3. Click the search box and select Tag key.
    4. Type a tag key and value to query the CVM instances bound to the tag.
    
    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