Tag¶
Scenarios¶
If you have a large number of cloud resources, you can assign 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 method:
Add a tag when you create a load balancer.
For detailed operations, see Creating a Dedicated Load Balancer and 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 in the upper left corner to display Service List and choose Network > Elastic Load Balancing.
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.
Note
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¶
You can add tags when you add listeners.
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 in the upper left corner to display Service List and choose Network > Elastic Load Balancing.
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.
Note
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¶
Log in to the management console.
In the upper left corner of the page, click and select the desired region and project.
Click in the upper left corner to display Service List and choose Network > Elastic Load Balancing.
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.
Note
The tag key cannot be changed.
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¶
Log in to the management console.
In the upper left corner of the page, click and select the desired region and project.
Click in the upper left corner to display Service List and choose Network > Elastic Load Balancing.
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 displayed dialog box, click Yes.
The operations for deleting a listener tag are not detailed here. Refer to the operations of deleting a load balancer tag.