Express Connect circuits, shared ports, Virtual Border Routers (VBRs), and VBR-to-VPC connections support tagging. Tags help you label and classify these resources for easier searching and aggregation. The following examples use an instance on the Physical Connection page.
Background
A tag is a label that you assign to an instance. Each tag consists of a key-value pair. For more information about tag usage and limits, see What is a tag?
You can add a tag to an instance during or after instance creation. To add a tag during creation, see the following topics:
Add tags to an instance
-
Log on to the Express Connect Console.
-
In the top navigation bar, select the target region.
-
On the Physical Port page, follow these steps to add tags to an instance.
-
Add a tag to a single instance
-
You can add a tag to a single instance by using one of the following methods.
Tag status
Method 1
Method 2
The target instance has no tags.
-
Find the target Express Connect circuit instance and move the pointer over the
icon in the Tag column. -
Click Associate in the pop-up box.
-
Find the target Express Connect circuit instance and click its ID.
-
On the instance details page, in the Basic Information section, click the
icon to the right of Tags.
The target instance already has tags.
-
Find the target Express Connect circuit instance and move the pointer over the
icon in the Tag column. -
Click Edit in the pop-up box.
-
-
In the Edit Tags dialog box, configure the tags, and then click OK.
Parameter
Description
Key
Select an existing tag key or enter a new one.
A tag key can be up to 128 characters in length. It cannot start with
aliyunoracs:, and cannot containhttp://orhttps://.Value
Select an existing tag value or enter a new one.
A tag value can be up to 128 characters in length. It cannot contain
http://orhttps://.
-
-
Add tags to multiple instances
-
Select the target instances. In the lower-left corner of the page, choose .
-
In the Edit Tags dialog box, specify a Key and a Value, and then click OK.
-
-
Filter instances by tags
After you add tags, you can filter instances by tag.
-
Log on to the Express Connect Console.
-
In the top navigation bar, select the target region.
-
On the Physical Port page, click Label filtering.
-
In the Label filtering dialog box, select or enter a tag key and a tag value.
You can select or enter a complete key-value pair, or you can select or enter only a tag key.
Remove tags from an instance
If a tag is shared across multiple instances, removing it from one instance does not affect the others.
-
Log on to the Express Connect Console.
-
In the top navigation bar, select the target region.
-
On the Physical Port page, follow these steps to remove tags from an instance.
-
Remove tags from a single instance
-
Use one of the following methods to access the tag editing options.
Method
Procedure
Method 1
-
Find the target Express Connect circuit instance and move the pointer over the
icon in the Tag column. -
Click Edit in the pop-up box.
Method 2
-
Find the target Express Connect circuit instance and click its ID.
-
On the instance details page, in the Basic Information section, click the
icon to the right of Tag.
-
-
In the Edit Tags dialog box, find the tag you want to delete, click the
icon next to it, and then click OK.
-
-
Remove tags from multiple instances
-
Select the target instances. In the lower-left corner of the page, choose .
-
In the Delete Tags for Multiple Resources dialog box, select the tags to delete, and then click Untag.
-
-
Related APIs
-
TagResourcesForExpressConnect: Adds tags to specified Express Connect circuit instances.
-
UntagResourcesForExpressConnect: Removes tags from specified Express Connect resources.
-
ListTagResourcesForExpressConnect: Lists tags added to Express Connect resources.