Create an ECI with tags

API operation:CreateContainerGroup

Parameter: Tag

If you specify tags when you call this operation, the Elastic Container Instance (ECI) will be created with the tags.

Console

Query the tags of an ECI

API operation:DescribeContainerGroups

You can call this operation to query the tags of an ECI. The value of the returned Tag parameter indicates a configured tag.

Console

Find the target ECI and click the tag icon. The tags configured for the ECI appears.

Update the tags of an ECI

API operation:UpdateContainerGroup

You can call this operation to update the tags of an ECI by setting the Tag parameter.

Console

Find the target ECI and click Modify in the Actions column. On the page that appears, update the tags of the ECI as required.
After the changes are submitted, view the updated tags on the Container Group page.

Delete a tag from an ECI

Currently, you cannot delete a tag from an ECI. You can only delete an ECI. Tags are deleted together with the ECI.

API operation:DeleteContainerGroup

When you call this operation to delete an ECI, the tags of the ECI are also deleted.

Use tags

1. Use tags to filter ECIs.

API operation:DescribeContainerGroups

You can call this operation to filter ECIs by tags.

2. Use tags to authenticate Resource Access Management (RAM) users.

For more information, see Authenticate RAM users based on tags.