Help Center/ Direct Connect/ User Guide/ Global DC Gateways/ Managing Global DC Gateway Tags
Updated on 2025-09-23 GMT+08:00

Managing Global DC Gateway Tags

Scenario

After a global DC gateway is created, you can add tags to it, or edit, view or delete its tags.

A tag is an identifier of a global DC gateway and consists of a key and a value. You can add 20 tags to a global DC gateway.

If a predefined tag has been created on TMS, you can directly select the corresponding tag key and value.

For details about predefined tags, see Predefined Tag Overview.

Adding a Tag

Add a tag to an existing global DC gateway.

  1. Go to the Global DC Gateways page.
  2. In the upper left corner of the page, click and select a region and project.
  3. Click the name of the global DC gateway that you want to add a tag to.
  4. On the Tags tab, click Edit Tag.
  5. On the Edit Tag page, click Add and enter the tag key and value.
    Table 1 describes the tag key and value requirements.
    Table 1 Tag naming requirements

    Parameter

    Requirements

    Key

    • Cannot be left blank.
    • Must be unique for each resource.
    • Can contain a maximum of 128 characters.
    • Cannot start or end with a space, or start with _sys_. Only letters, digits, spaces, and the following special characters are allowed: _.:=+-@

    Value

    • Can be left blank.
    • Can contain a maximum of 255 characters.
    • Can contain letters, digits, spaces, and the following special characters: _.:/=+-@
  6. Click OK.

Editing a Tag

Modify the value of a tag added to a global DC gateway.

  1. Go to the Global DC Gateways page.
  2. In the upper left corner of the page, click and select a region and project.
  3. Click the name of the global DC gateway whose tag you want to edit.
  4. On the Tags tab, click Edit Tag.
  5. On the Edit Tag page, locate the tag to be modified and enter the new tag key and value.
  6. Click OK.

Deleting a Tag

Delete a tag from a global DC gateway.

Deleted tags cannot be recovered.

  1. Go to the Global DC Gateways page.
  2. In the upper left corner of the page, click and select a region and project.
  3. Click the name of the global DC gateway that you want to delete a tag from.
  4. On the Tags tab, click Edit Tag.
  5. In the tag list, locate the tag you want to delete and click Delete.
  6. Click OK.