Updated on 2024-10-17 GMT+08:00

Configuring DCS Instance Tags

Tags facilitate DCS instance identification and management. Tags can be added in instance creation, or on the instance details page. A maximum of 20 tags are allowed for a DCS instance.

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.

A tag consists of a tag key and tag value. Table 1 describes the naming rules for them.

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.

Configuring Instance Tags

  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.