Tags are used to mark domain names. You can filter domain names by tag. If a domain name no longer needs a tag, you can remove the tag from the domain name.
Limits
- You can add at most 20 tags to each domain name.
- The keys of tags that are added to the same domain name must be unique.
If two tags added to the same domain name have the same key but different values, the tag added later overwrites the one added earlier. For example, if you add tags
Key1:Value1
andKey1:Value2
to the domain nametest.example.com
, only the tagKey1:Value2
is added to the domain nametest.example.com
.
Add tags to domain names
You can add tags to domain names to facilitate the management of domain names.
- Log on to the DCDN console.
- In the left-side navigation pane, click Domain Names.
- Add tags to domain names.
- Add tags to an individual domain name
- On the Domain Names page, find the domain name to which you want to add tags and move your pointer over the Tag icon.
- In the message that appears, click Edit.
- In the Edit Tag dialog box, set the tag key and value, and click OKYou can Select Tag or Create Tag.
Parameter Description Key The tag key can be up to 64 Unicode characters in length, and cannot contain http://
orhttps://
. It cannot start withaliyun
oracs:
, or be an empty string.Value The value can be up to 128 Unicode characters in length, and cannot contain http://
orhttps://
. It cannot start withaliyun
oracs:
but can be an empty string.
- Add tags to multiple domain names at a time
- On the Domain Names page, select the domain names to which you want to add tags and choose .
- In the Add Tags dialog box, set the tag key and value, and click OK.
You can Select Tag or Create Tag.
Parameter Description Key The tag key can be up to 64 Unicode characters in length, and cannot contain http://
orhttps://
. It cannot start withaliyun
oracs:
, or be an empty string.Value The value can be up to 128 Unicode characters in length, and cannot contain http://
orhttps://
. It cannot start withaliyun
oracs:
but can be an empty string.
- Add tags to an individual domain name
Use tags to manage domain names
After you add tags to domain names, you can filter domain names by tag.
- Log on to the DCDN console.
- In the left-side navigation pane, click Domain Names.
- On the Domain Names page, click the Select Tag tab.
- Select one or more tags to filter domain names.
Query data of domain names by tag
After you add tags to domain names, you can use tags to filter domain names and query data such as data usage of the domain names.
- Log on to the DCDN console.
- Filter domain names and query data.
- View the data returned.
Remove tags from domain names
If a domain name no longer needs a tag, you can remove the tag from the domain name.
Related API operations
Feature | Description | API |
---|---|---|
Add tags | Adds tags to domain names to mark or group the domain names. | TagDcdnResources |
Use tags to manage domain names | Filters domain names by tag. You can use tags to group and manage domain names. | DescribeDcdnTagResources |
Removes tags | Removes tags from one or more domain names. | UntagDcdnResources |