Updated on 2024-11-26 GMT+08:00

Adding a Tag

Scenarios

You can add a tag for an existing EVS disk. You can also add tags when creating a disk.

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 20 tags can be added for an EVS disk.
  • Tag keys of the same EVS disk must be unique.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and choose Storage > Elastic Volume Service.

    The Elastic Volume Service page is displayed.

  3. In the disk list, locate the desired disk and click the disk name.

    The disk details page is displayed.

  4. Click the Tags tab.
  5. Click Add Tag.

    The Add Tag page is displayed.

  6. Enter a key and a value for a tag and click OK.

    • Key: This parameter is mandatory.
    • Value: This parameter is optional.

    The Tags tab is displayed, and you can view the newly added tag.