Tags are key-value pairs provided by Tencent Cloud for easy resource identification. You can use tags to categorize and manage cloud resources. Tencent Cloud will not use your tags, they are solely used by you to manage your resources. This document describes how to edit tags for file storage resources.
Note the following limits when editing tags:
numbers
, letters
, and +=.@-
. It cannot exceed 255 characters in length.empty strings or numbers
, letters
, and +=.@-
. It cannot exceed 127 characters in length.A company has purchased 6 file systems, of which the business group, scope and owners are as follows:
File System ID | Business Group | Business Scope | Owner |
---|---|---|---|
cfs-abcdef1 | E-commerce | Marketing campaigns | John Smith |
cfs-abcdef2 | E-commerce | Marketing campaigns | Chris |
cfs-abcdef3 | Games | Game A | Jane Smith |
cfs-abcdef4 | Games | Game B | Ada |
cfs-abcdef5 | Entertainment | Post-production | Chris |
cfs-abcdef6 | Entertainment | Post-production | John Smith |
Taking cfs-abcdef1 as an example, we can add the following 3 sets of tags to the file system:
Tag Key | Tag Value |
---|---|
dept | ecommerce |
business | mkt |
owner | John Smith |
Similarly, you can add tag key-value pairs to other file systems based on the business group, scope and owners.
Make sure you have a tag that you can use before creating a file system. If you do not have any tags, go to the Tag Console and create one.
Log in to the CFS Console.
In the File System List page, click Create.
In the “Create File System” pop-up window, find Tag down below, and click Add to add a tag to the file system. Only existing tags can be added in this step.
Click OK, and the tag will be bound to the created file system.
Note:For more information on creating file systems, see Creating File Systems and Mount Targets.
On the File System List page, locate the file system and click Edit Tag in the Operation column.
Add, modify or delete a tag as needed in the pop-up window.
Click OK.
To filter file systems by tag, follow the steps below:
business
tag key, do a search for Tag:business
. If you want to find file systems tagged with a business
tag key and mkt
tag value, do a search for Tag:business:mkt
.
Was this page helpful?