Use tags to manage domain names

更新时间:
复制 MD 格式

and DCDN let you use tags to categorize accelerated domain names. You can add the same tag to multiple domain names that have similar properties to simplify management and search.

Limitations

You can add a maximum of 20 tags to each domain name.

Tagging rules

Each tag is a key-value pair in the format Key:Value. The following rules apply to tags:

  • Tags are case-sensitive.

  • The following rules apply to the key:

    • The key cannot start with aliyun or acs:, contain http:// or https://, or be an empty string.

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

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

    • A tag key must be unique for a given cloud resource.

  • The following rules apply to the value:

    • The value cannot contain http:// or https://. The value can be an empty string.

    • The 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 a tag

If a tag is no longer needed for a domain name, you can remove it.

  1. Select the domain names that you want to untag, and then choose Manage Tags > Delete Tags.

  2. On the Untag Resources in Batches page, select the tags that you want to remove.

  3. Click Untag n Tags.

  4. On the Domain Names page, click the refresh icon to verify that the tags have been removed.

Use tags

Note
  • If you select multiple tags, the query returns only the domain names that have all the selected tags.

  • If you filter by tags that have the same key but different values, the last selected value for that key is used for filtering. For example, if you first filter by the tag Key1:Value1 and then add a filter for Key1:Value2, the final result includes only domain names with the tag Key1:Value2.

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 > Resource 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 labels that help you categorize, search for, and aggregate cloud resources with shared characteristics, which simplifies resource management. For more information, see Tag overview.

  • To query all tags in an Alibaba Cloud account, call the DescribeDcdnUserTags operation.

  • For examples of grouping and managing domain names by tag, see Cases.