Updated on 2024-06-20 GMT+08:00

Managing Tags

Tags facilitate DCS instance identification and management.

If your organization has configured tag policies for DCS, add tags to DCS instances based on the tag policies. If a tag does not comply with the policies, tag addition may fail. Contact your organization administrator to learn more about tag policies.

You can add tags to an instance when creating it or add, modify, or delete tags on the details page of a created instance. Each instance can have a maximum of 20 tags.

A tag consists of a tag key and a tag value. Table 1 lists the tag key and value requirements.

Table 1 Tag key and value requirements

Parameter

Requirements

Tag key

  • Cannot be left blank.
  • Must be unique for the same instance.
  • Consists of a maximum of 128 characters.
  • Can contain letters of any language, digits, spaces, and special characters _ . : = + - @
  • Cannot start or end with a space.
  • Cannot start with _sys_.

Tag value

  • Consists of a maximum of 255 characters.
  • Can contain letters of any language, digits, spaces, and special characters _ . : / = + - @
  • Cannot start or end with a space.

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner of the management console and select the region where your instance is located.
  3. In the navigation pane, choose Cache Manager.
  4. Click the name of the desired DCS instance to go to the details page.
  5. Choose Instance Configuration > Tags.
  6. Perform the following operations as required:

    • Add a tag
      1. Click Add/Edit Tag.

        If you have created predefined tags, select a predefined pair of tag key and value. To view or create predefined tags, click View predefined tags. Then you will be directed to the TMS console.

        You can also create new tags by specifying Tag key and Tag value.

      2. Click OK.
    • Modify a tag

      Click Add/Edit Tag. In the displayed Add/Edit Tag dialog box, delete the desired key, add the key again, enter a new tag value, and click Add.

    • Delete a tag

      In the row that contains the desired tag, click Delete. In the displayed dialog box, click Yes.