Updated on 2024-07-29 GMT+08:00

Managing Tags

Tags facilitate DCS instance identification and management.

If tag policies for DCS have been set in your organization, add tags to DCS instances based on these 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

Requirement

Tag key

  • Cannot be left blank.
  • Must be unique for the same instance.
  • Cannot start or end with a space.
  • Consists of a maximum of 128 characters.
  • Can contain letters of any language, digits, spaces, and special characters _.:=+-@
  • 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 and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  1. Click the name of an instance.
  2. Choose Instance Configuration > Tags.

    View the tags of the instance.

  3. 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 predefined tags or create tags, click View predefined tags. You will be directed to the TMS console.

        You can also create new tags by entering 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 containing the tag to be deleted, click Delete in the Operation column. Then click Yes.