Updated on 2024-12-11 GMT+08:00

Managing EIP Tags

Scenarios

Tags can be added to EIPs to facilitate EIP identification and administration. You can add a tag to an EIP when assigning the EIP. Alternatively, you can add a tag to an assigned EIP on the EIP details page. A maximum of 20 tags can be added to each EIP.

If your organization has created a tag policy for EIP, you need to add tags for EIP based on the tag policy. If a tag does not comply with the tagging rules, the EIP may fail to be created or the tag may fail to be added. Contact the organization administrator to learn more about the tag policy.

The Organizations service is in open beta test (OBT). To use organization rules, apply for OBT.

A tag consists of a key and value pair. Table 1 lists the tag key and value requirements.

Table 1 EIP tag requirements

Parameter

Requirement

Example Value

Key

  • Cannot be left blank.
  • Must be unique for each EIP.
  • Can contain a maximum of 36 characters.
  • Can contain letters, digits, underscores (_), and hyphens (-).

Ipv4_key1

Value

  • Can contain a maximum of 43 characters.
  • Can contain letters, digits, underscores (_), periods (.), and hyphens (-).

eip-01

Procedure

Searching for EIPs by tag key and value on the EIP list page
  1. Go to the EIP list page.
  2. In the search box above the EIP list, click anywhere in the box to set filters.

    Select the tag key and then the value as required. The system filters resources based on the tag you select.

Adding, deleting, editing, and viewing tags on the Tags tab of an EIP
  1. Go to the EIP list page.
  2. On the displayed page, locate the EIP whose tags you want to manage and click the EIP name.
  3. On the page showing EIP details, click the Tags tab and perform desired operations on tags.
    • View tags.

      On the Tags tab, you can view details about tags added to the current EIP, including the number of tags and the key and value of each tag.

    • Add a tag.

      Click Edit Tag in the upper left corner. In the displayed dialog box, click Add Tag, enter the tag key and value, and click OK.

    • Edit a tag.

      Click Edit Tag in the upper left corner. In the displayed dialog box, enter the tag key and value, and click OK.

      The tag key cannot be modified.

    • Delete a tag.

      Click Edit Tag in the upper left corner. In the displayed dialog box, click Delete in the row that contains the target tag, and click OK.