You can use tags to tag, categorize, and perform cost allocation on resources, making it easier to search for and aggregate resources.
Resources that support attaching tags
In Express Connect, the resources that support attaching tags include:
The following uses physical ports as an example to describe how to manage and use the tag feature.
Add tags to an instance
Log on to the Express Connect console.
In the top navigation bar, select a 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 either 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
You can filter instances by tag to quickly locate resources.
Log on to the Express Connect console.
In the top navigation bar, select a 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 specify a complete key-value pair or 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 a region.
On the Physical Port page, follow these steps to remove tags from an instance.
Remove tags from a single instance
Use either 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.
API
TagResourcesForExpressConnect: Adds tags to Express Connect circuit instances.
UntagResourcesForExpressConnect: Removes tags from Express Connect resources.
ListTagResourcesForExpressConnect: Lists tags on Express Connect resources.