This topic provides an overview of domain name tags. Each tag is represented by a string of characters. In Alibaba Cloud CDN, you cannot define tags, but you can attach tags to domain names, detach tags from domain names, and use tags to group or filter domain names.
Limits
Before you manage tags, we recommend that you understand the following limits on the
tags:
- Each tag is a key-value pair.
- Up to 20 tags can be attached to a domain name.
- For the same domain name, the key for each tag must be unique. If two tags have the
same key but different values, the later tag overwrites the earlier tag. For example,
if you configure the
Key1:Value1
tag and then theKey1:Value2
tag for thetest.example.com
domain name, only theKey1:Value2
tag is attached to the domain name. - A key cannot start with
aliyun
oracs:
, containhttp://
orhttps://
, or be left unspecified. - A value cannot contain
http://
orhttps://
, but can be left unspecified. - A key must be 1 to 64 Unicode characters in length.
- A value must be 0 to 128 Unicode characters in length.
- Tags are case-sensitive.
Features
You can use tags to manage domain names. The following table lists the features supported
by tags.
Feature | Description |
---|---|
Attach tags to a domain name | Attach tags to one or more domain names to identify or group the domain names. |
Detach tags from a domain name | Detach tags from one or more domain names. |
Manage domain names by tag | Manage domain names based on their tags. |
Query domain names by tag | Query the domain names to which specific tags are attached. |