Tags

Tag Management Service (TMS) enables you to use tags on the console to manage resources. TMS works with other cloud services to manage tags. TMS manages tags globally. Other cloud services manage only their own tags.

Precautions

  • A tag consists of a key and value. You can add only one value for each key.

  • Each instance can have up to 20 tags.

Adding a tag

  1. Log in to the DDM console.

  2. On the Instances page, locate the required instance and click its name.

  3. In the navigation pane on the left, click Tags.

  4. Click Add Tag.

  5. In the displayed dialog box, enter a tag key and value and click OK.

    The tag key and value must comply with the following rules.

    Table 1 Parameter description

    Item

    Description

    Tag key

    This parameter is mandatory and cannot be null. The key:

    • Must be unique for each instance.

    • Can only consist of digits, letters, underscores (_), hyphens (-), and at sign (@).

    • Can include 1 to 36 characters.

    • Cannot be an empty string or start with _sys_.

    Tag value

    This parameter is mandatory. The value:

    • Is an empty string by default.

    • Can only consist of digits, letters, underscores (_), hyphens (-), and at sign (@).

    • Can contain 0 to 43 characters.

  6. View and manage the tag on the Tags page.

Editing a Tag

  1. Log in to the DDM console.

  2. On the Instances page, locate the required instance and click its name.

  3. On the Tags page, locate the tag that you want to edit and click Edit in the Operation column. In the displayed dialog box, change the tag value and click OK.

    Only the tag value can be edited.

  4. View and manage the tag on the Tags page.

Deleting Tags

  1. Log in to the DDM console.

  2. On the Instances page, locate the required instance and click its name.

  3. In the navigation pane, choose Tags. On the displayed page, locate the tag that you want to delete and click Delete in the Operation column. In the displayed dialog box, click Yes.

  4. Check that the tag is no longer displayed on the Tags page.

Searching for Instances by Tag

After tags are added, you can search for instances by tag to quickly find specific types of instances.

  1. Log in to the DDM console.

  2. On the Instances page, click Search by Tag in the upper right corner of the instance list.

  3. Enter a tag key and a tag value and click Search.

  4. View the instance found.