Updated on 2025-08-07 GMT+08:00

Managing Tags

Scenarios

This section describes how to use tags to search for desktops, and how to add, edit, and delete tags.

Adding/Editing a Tag

  1. Log in to the console.
  2. In the navigation pane, choose Desktops > Desktops.

    The Desktops page is displayed.

Adding tags to one desktop

  1. Click to expand the basic desktop information.
  2. Click Tag.
  3. Click Add/Edit Tag.

    The page for adding or editing tags is displayed.

  4. Enter a tag key and tag value, and click Add. See Table 1.

    You can add a maximum of 20 tags to a desktop.

    Table 1 Tag naming rules

    Parameter

    Rule

    Tag Key

    • This field cannot be left blank.
    • The value can contain up to 36 characters.
    • A tag key can contain letters, digits, spaces, and special characters (_.:=+-@), but cannot start or end with a space or start with _sys_.
    • Each tag key must be unique on the same desktop.

    Tag Value

    • The value can contain up to 43 characters.
    • A tag value can contain letters, digits, spaces, and special characters (_.:/=+-@).

  5. Click OK.

Batch adding tags to multiple desktops

  1. In the desktop list, select the desired desktops.
  2. Choose More > O&M Operations > Add Tag. The page for adding tags is displayed.
  3. Set the tag key and tag value by referring to Table 1.
  4. Click OK.

Searching for a Desktop by Tag

  1. Log in to the console.
  2. Choose Desktops > Desktops. The Desktops page is displayed.

    • Enter a tag key in the search box above the desktop list, and select the tag key and its tag value under Resource Tag for search.
    • In the search box above the desktop list, select the tag key and its tag value under Resource Tag for search.
      • This query only applies to existing keys and values.
      • A maximum of 10 different tags can be combined for search.

Deleting a Tag

  1. Log in to the console.
  2. Choose Desktops > Desktops. The Desktops page is displayed.
  3. Click to expand the basic desktop information.
  4. Click Tag.
  5. Click Delete in the Operation column on the right of the tag.
  6. Click OK.

    Deleted tags cannot be recovered.