Tag
Scenarios
If you have a large number of cloud resources, you can assign different tags to these resources to quickly identify them. You can also query, modify, or delete the tags to help manage your resources.
Tagging classic load balancers and their listeners is not supported.
Adding a Tag to a Load Balancer
You can use either of the following methods to add a tag to a load balancer:
- 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.
- Log in to the management console.
- In the upper left corner of the page, click
and select the desired region and project. - Click Service List. Under Network, click Elastic Load Balance.
- Locate the load balancer and click its name.
- Under Tags, click Add Tag.
- In the Add Tag dialog box, enter a tag key and value and click OK.
- A maximum of 10 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:
- Log in to the management console.
- In the upper left corner of the page, click
and select the desired region and project. - Click Service List. Under Network, click Elastic Load Balance.
- Locate the load balancer and click its name.
- Click Listeners, locate the listener, and click its name.
- Under Tags, click Add Tag.
- In the Add Tag dialog box, enter a tag key and value and click OK.
- A maximum of 10 tags can be added to a listener.
- Each tag is a key-value pair, and the tag key is unique.
Modifying a Tag
- Log in to the management console.
- In the upper left corner of the page, click
and select the desired region and project. - Click Service List. Under Network, click Elastic Load Balance.
- Locate the load balancer and click its name.
- Click Tags, select the tag to be edited, and click Edit in the Operation column. In the Edit Tag dialog box, change the tag value.
The tag key cannot be changed.
- Click OK.
The preceding steps describe how to modify a load balancer tag. The operations for modifying a listener tag are basically the same.
Deleting a Tag
- Log in to the management console.
- In the upper left corner of the page, click
and select the desired region and project. - Click Service List. Under Network, click Elastic Load Balance.
- Locate the load balancer and click its name.
- Click Tags, select the tag to be deleted, and click Delete in the Operation column.
- In the Delete Tag dialog box, click Yes.
The preceding steps describe how to delete a load balancer tag. The operations for deleting a listener tag are basically the same.
Last Article: Querying a Listener by Certificate
Next Article: IP Address Group
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.