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

Tag

Scenarios

If you have a large number of cloud resources, you can add different tags to the resources to quickly identify them and use these tags to easily manage your resources.

Adding a Tag to a Load Balancer

You can add a tag to a load balancer in the following methods:

  • Add a tag when you create a load balancer.

    For detailed operations and parameters, see Creating a Shared Load Balancer.

  • Add a tag to an existing load balancer.
    1. Log in to the management console.
    2. In the upper left corner of the page, click and select the desired region and project.
    3. Click in the upper left corner to display Service List and choose Networking > Elastic Load Balance.
    4. On the Load Balancers page, locate the load balancer and click its name.
    5. Under Tags, click Add Tag.
    6. In the Add Tag dialog box, enter a tag key and value and click OK.
      • A maximum of 20 tags can be added to a load balancer.
      • Each tag is a key-value pair, and the tag key is unique.

Adding a Tag to a Listener

To add a tag to an existing listener, perform the following steps:

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Click in the upper left corner to display Service List and choose Networking > Elastic Load Balance.
  4. On the Load Balancers page, locate the load balancer and click its name.
  5. Click Listeners, locate the listener, and click its name.
  6. Under Tags, click Add Tag.
  7. In the Add Tag dialog box, enter a tag key and value and click OK.
    • A maximum of 20 tags can be added to a listener.
    • Each tag is a key-value pair, and the tag key is unique.

Modifying a Tag of a Load Balancer

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Click in the upper left corner to display Service List and choose Networking > Elastic Load Balance.
  4. On the Load Balancers page, locate the load balancer and click its name.
  5. Click Tags, select the tag to be edited, and click Edit in the Operation column. In the Edit Tag dialog box, enter a tag value.

    The tag key cannot be changed.

  6. In the Add Tag dialog box, enter a tag key and value and click OK.

The operations for modifying a listener tag are not detailed here. Refer to the operations of modifying a load balancer tag.

Deleting a Tag from a Load Balancer

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Click in the upper left corner to display Service List and choose Networking > Elastic Load Balance.
  4. On the Load Balancers page, locate the load balancer and click its name.
  5. Click Tags, select the tag to be deleted, and click Delete in the Operation column.
  6. In the displayed dialog box, click OK.

The operations for deleting a listener tag are not detailed here. Refer to the operations of deleting a load balancer tag.