Help Center> Direct Connect> User Guide> Connections> Managing Connection Tags
Updated on 2024-06-20 GMT+08:00

Managing Connection Tags

Scenarios

After a connection is created, you can view its tags or add, edit or delete a tag.

A tag is the identifier of a connection and consists of a key and a value. You can add 20 tags to a connection.

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

For details about predefined tags, see Predefined Tag Overview.

If you have configured tag policies for Direct Connect, you need to add tags to your connections based on the tag policies. If you add a tag that does not comply with the tag policies, connections may fail to be created. Contact your administrator to learn more about tag policies.

Adding a Tag

Add a tag to an existing connection.

  1. Log in to the management console.
  2. On the console homepage, click in the upper left corner and select the desired region and project.
  3. Hover on to display Service List and choose Networking > Direct Connect.
  4. In the navigation pane on the left, choose Direct Connect > Connections.
  5. Locate the connection and click its name to switch to the Summary page.
  6. Click the Tags tab.
  7. Click Add Tag.
  8. In the displayed dialog box, enter a key and a value.

    If you have configured tag policies for Direct Connect, you need to add tags to your connections based on the tag policies. If you add a tag that does not comply with the tag policies, connections may fail to be created. Contact your administrator to learn more about tag policies.

    Table 1 describes the tag key and value requirements.

    Table 1 Tag key and value requirements

    Parameter

    Requirements

    Key

    • Cannot be left blank.
    • Must be unique for each resource.
    • Can contain a maximum of 36 characters.
    • Can contain only letters, digits, hyphens, and underscores.

    Value

    • Can be left blank.
    • Can contain a maximum of 43 characters.
    • Can contain only letters, digits, periods, hyphens, and underscores.
  9. Click OK.

Editing a Tag

Modify the value of a tag added to a connection.

  1. Log in to the management console.
  2. On the console homepage, click in the upper left corner and select the desired region and project.
  3. Hover on to display Service List and choose Networking > Direct Connect.
  4. In the navigation pane on the left, choose Direct Connect > Connections.
  5. Locate the connection and click its name to switch to the Summary page.
  6. Click the Tags tab.
  7. In the tag list, locate the tag you want to modify and click Edit in the Operation column.
  8. Enter a new value.
  9. Click OK.

Deleting a Tag

Delete a tag from a connection.

Deleted tags cannot be recovered.

  1. Log in to the management console.
  2. On the console homepage, click in the upper left corner and select the desired region and project.
  3. Hover on to display Service List and choose Networking > Direct Connect.
  4. In the navigation pane on the left, choose Direct Connect > Connections.
  5. Locate the connection and click its name to switch to the Summary page.
  6. Click the Tags tab.
  7. In the tag list, locate the tag you want to delete and click Delete in the Operation column.
  8. Click Yes.