Help Center/ GaussDB/ User Guide/ Managing GaussDB Tags
Updated on 2024-11-11 GMT+08:00

Managing GaussDB 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.

Editing Tags

  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 name of the target instance to go to the Basic Information page.
  5. In the navigation pane, choose Tags. On the displayed page, click Edit Tag. In the displayed dialog box, click Add Tag, enter a tag key and value, and click OK.

    Figure 1 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. It cannot start with _sys_ or a space, and cannot end with a space. Only letters, digits, spaces, and the following special characters are allowed: _.:=+-@
    • A tag value can contain up to 255 characters. Only letters, digits, spaces, and the following 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, choose Tags. On the displayed page, click Edit Tag, locate the tag to be deleted, and click Delete. Then, click OK.

    Figure 2 Deleting a tag

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