All Products
Search
Document Center

Dynamic Content Delivery Network:Use tags to manage domain names

Last Updated:Feb 02, 2024

Dynamic Content Delivery Network (DCDN) allows you to use tags to classify accelerated domain names. If you have multiple domain names, you can add a tag to domain names that have the same attributes. This facilitates the management and search of domain names.

Limits

You can add up to 20 tags to each domain name.

Tag rules

Each tag consists of a key-value pair. The following limits apply to tags:

  • Tags are case-sensitive.

  • The following limits apply to keys:

    • A key cannot start with aliyun or acs:, contain http:// or https://, or be left unspecified.

    • A key cannot contain the following special characters -.! @#$%?/^&*)(+={}[]",'<>~ยท'?:;_..

    • A key can be up to 64 Unicode characters in length.

    • A key must be unique for a resource.

  • The following limits apply to values:

    • A value cannot contain http:// or https://, but can be left unspecified.

    • A value can be up to 128 Unicode characters in length.

Add tags

Add tags to a single domain name

  1. Log on to the DCDN console.

  2. In the left-side navigation pane, click Domain Names.

  3. Open the Configure Tags dialog box.

    • Method 1: Find the domain name to which you want to add tags, move your pointer over the 1 icon in the Tags column, and then click Edit in the tooltip.

    • Method 2: On the Domain Names page, find the domain name to which you want to add tags and click Configure in the Actions column. On the Basic Settings page, click the image..png icon next to Tags.

  4. In the Configure Tags dialog box, create a new tag or select an existing tag.

    Note

    For information about rules of creating tags, see Tag rules.

    • Tag Key: Select an existing tag key or enter a tag key. You can use fuzzy match to search for tag keys. A maximum of 10 tag keys can be specified at a time.

    • Tag Value: Select an existing tag value or enter a tag value. You can leave this parameter empty.

  5. Click OK.

Add tags to multiple domain names at a time

  1. On the Domain Names page, select the domain names to which you want to add tags and choose Tags > Add Tag.

  2. In the Configure Tags dialog box, create a new tag or select an existing tag.

    Note

    For information about rules of creating tags, see Tag rules.

    • Tag Key: Select an existing tag key or enter a tag key. You can use fuzzy match to search for tag keys. A maximum of 10 tag keys can be specified at a time.

    • Tag Value: Select an existing tag value or enter a tag value. You can leave this parameter empty.

  3. Click OK.

Remove tags from domain names

If a tag no longer applies to your domain name, you can remove the tag from the domain name.

  1. Select the domain name from which you want to remove tags and choose Manage Tags > Delete Tags.

  2. In the Delete Tags for Multiple Resources dialog box, select the tags that you want to remove.

  3. Click Unbind n tags.

  4. On the Domain Names page, click the refresh icon to check whether the tags are removed.

Use tags

Note
  • If you select multiple tags, only the domain names to which all the selected tags are added are returned.

  • If you query a domain name by using two tags that have the same key but different values, the new value overwrites the old value. For example, if you query a domain name by using a tag Key1:Value1 and then using a tag Key1:Value2, only the domain name to which the tag Key1:Value2 is added is queried.

Use tags to manage domain names

  1. On the Domain Names page, click Filter by Tag.

  2. Select a tag that you want to use to filter domain names. You can repeat this step to select multiple tags for filtering. This allows you to manage and configure domain names that have the same attributes.

Use tags to filter business monitoring data

  1. In the left-side navigation pane, choose Monitoring > Monitoring or Monitoring > Real-time Monitoring.

  2. Click Filter by Tag.

  3. Select tags that you want to use for filtering and click Search.

References

  • Tags are used to identify resources. Tags allow you to categorize, search for, and aggregate resources that have the same characteristics from different dimensions. This facilitates resource management. For more information, see Tag overview.

  • To query all tags in an Alibaba Cloud account, you can only call DescribeDcdnUserTags.

  • For more information about how to use tags to group and manage domain names, see Cases.