Adding a Resource Tag¶
On the TMS console, you can add one or more tags to one or more cloud resources. For details, see the following procedure. You can add up to 20 key-value pairs to each cloud resource.
Adding a Tag to One Resource¶
Sign in to the management console.
Under Management & Deployment, select Tag Management Service.
Set the resource search options.
For details, see Searching for Resources.
Click Search.
Click Edit in the upper right part of the Search Result area so that you can edit tag values in the list.
(Optional) Set tag key display
If tag keys to be modified are not displayed in the list, perform the following steps:
In the upper right corner of the Search Result area, click .
Select target tag keys from the drop-down list.
You are advised to display no more than 10 keys.
Note
For details about how to create a tag key, see Creating a Key.
Locate the target resource, and click in the tag key column.
In the tag key column, resources that have not been tagged, Not tagged is displayed and the icon is also displayed.
Enter a tag value as needed or leave it blank.
Click .
Then you can use added tags to manage resources.
Note
To add more tags to the cloud resource, repeat the preceding steps. You can also select a target resource in the list, click Manage Tag above the list to add one or more tags as needed. For details, see Adding a Tag to Multiple Resources.
Adding a Tag to Multiple Resources¶
To add one or more tags to multiple cloud resources, perform the following steps:
Sign in to the management console.
Under Management & Deployment, select Tag Management Service.
Set the resource search options.
For details, see Searching for Resources.
Click Search.
Select target resources and click Manage Tag above the list.
In the Add Tag area, add keys and values to create tags.
You can also directly select existing tags from the drop-down list.
Note
To add different tags to multiple cloud resources, see Adding a Tag to One Resource.
Click OK.
Then you can use added tags to manage resources.