Updated on 2024-06-25 GMT+08:00

Tag Management

Tags are identifiers of DeHs and can help you quickly identify your DeHs.

You can add a tag to a DeH when creating a DeH. Alternatively, you can add a tag to a DeH on the Tags tab of the DeH details page. A maximum of 10 tags can be added to a DeH.

A tag consists of a tag key and a tag value. Table 1 lists the naming requirements for keys and values.

Table 1 Tag naming requirements

Parameter

Requirement

Example Value

Tag key

  • Cannot be left blank.
  • Must be unique for a specific DeH.
  • Contains a maximum of 36 characters.
  • Contains only digits, letters, hyphens (-), and underscores (_).

Organization

Tag value

  • Contains a maximum of 43 characters.
  • Contains only digits, letters, hyphens (-), and underscores (_).

Apache

Searching for DeHs

On the Dedicated Host page, you can search for the desired DeHs by tag key and tag value.

  1. Log in to the management console.
  2. Under Compute, click Dedicated Host.

    The Dedicated Host page is displayed.

  3. In the upper right corner of the DeH list, click Search by Tag to show the search page.
    Figure 1 Searching for DeHs by tag
  4. Enter the tag key and tag value of the target DeH. Click Search.

    The system automatically searches for your desired DeHs.

  5. Click to add a tag.

    You can add multiple tags to search for DeHs. The system will display DeHs that match all tags.

  6. Click Search.

    The system searches for DeHs based on tag keys or tag values.