forked from docs/doc-exports
Reviewed-by: Muller, Martin <martin.muller@t-systems.com> Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com> Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
5.8 KiB
5.8 KiB
Modifying a Tag
Scenarios
You can change the value of a tag for an existing disk, but cannot change the key of a tag.
Tag Rules
A tag consists of a tag key and a tag value. Tag rules are described as follows: (Tag rules vary depending on regions. See the rules displayed on the console.)
- First set of rules:
- A tag key can contain a maximum of 36 characters. It can contain only letters, digits, special characters (.-_), and Unicode characters.
- A tag value can contain a maximum of 43 characters. It can contain only letters, digits, special characters (.-_), and Unicode characters.
- Second set of rules:
- A tag key can contain a maximum of 36 characters. It cannot contain special characters (=*<>\\,|/) or start or end with spaces.
- A tag value can contain a maximum of 43 characters. It cannot contain special characters (=*<>\\,|/) or start or end with spaces.
- Third set of rules:
- A tag key can contain a maximum of 128 characters. It cannot contain special characters (*<>\\/,|), start with _sys_, or start or end with spaces.
- A tag value can contain a maximum of 255 characters. It cannot contain special characters (*<>\\,|) or start or end with spaces.
Notes and Constraints
- A maximum of 10 tags can be added for an EVS disk.
- Tag keys of the same EVS disk must be unique.
Procedure
- Log in to the console.
- Click
in the upper left corner and select the desired region and project. - Choose Storage > Elastic Volume Service.
The Elastic Volume Service page is displayed.
- In the disk list, locate the desired disk and click the disk name.
The disk details page is displayed.
- Click the Tags tab.
- Locate the target tag and click Edit in the Operation column.
The Edit Tag page is displayed.
- Change the value of the tag and click OK.
Return to the tag list. If the tag value is changed, the modification is complete.
Parent topic: Managing EVS Tags