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

Tags

Scenarios

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

  • You are advised to set predefined tags on the TMS console.
  • A tag consists of a key and value. You can add only one value for each key.
  • A maximum of 20 tags can be added for a DB instance.

Adding or Editing a Tag

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.

  3. Click in the upper left corner of the page and choose Databases > GaussDB.
  4. On the Instances page, click the instance name to go to the Basic Information page.
  5. In the navigation pane, choose Tags. On the displayed page, click Add/Edit Tag. In the displayed dialog box, enter a tag key and value, click Add, and click OK.

    Figure 1 Adding/Editing a tag

    • When you enter a tag key and value, the system automatically displays all tags (including predefined tags and resource tags) associated with all DB instances except the current one.
    • A tag key can contain up to 128 characters. Only letters, digits, spaces, and special characters (_.:=+-@) are allowed. It cannot start with _sys_ or a space, and cannot end with a space.
    • A tag value can contain up to 255 characters. Only letters, digits, spaces, and special characters (_.:/=+-@) are allowed.

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

Deleting a Tag

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.

  3. Click in the upper left corner of the page and choose Databases > GaussDB.
  4. On the Instances page, click the instance name to go to the Basic Information page.
  5. In the navigation pane on the left, click Tags, locate the tag to be deleted, and click Delete in the Operation column.

    Figure 2 Deleting a tag

  6. In the displayed dialog box, click OK.

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