All Products
Search
Document Center

Resource Management:Overview

Last Updated:Mar 18, 2024

createdby is a type of system tag that is provided by Alibaba Cloud and automatically added to resources. This type of tag is used to identify the creators of resources. createdby tags can help you analyze costs and bills and manage the costs of resources in an efficient manner.

Format of createdby tags

Tag key or value

Format

Tag key

acs:tag:createdby

Tag value

  • If the resource is created by using an Alibaba Cloud account, the tag value is in the customer:<AccountId> format. <AccountId> indicates the ID of the Alibaba Cloud account.

  • If the resource is created by using a RAM user, the tag value is in the sub:<RamUserId>:<RamUserName> format. <RamUserId> indicates the ID of the RAM user, and <RamUserName> indicates the username of the RAM user.

  • If the resource is created by an identity that assumes a RAM role by using a security Token Service (STS) token, the tag value varies based on the identity type:

    • If the identity is an Alibaba Cloud account, the tag value is in the assumedRoleUser:<RamRoleName>:<RolePlayerId> format. <RamRoleName> indicates the name of the RAM role that is assumed by the Alibaba Cloud account, and <RolePlayerId> indicates the ID of the Alibaba Cloud account.

    • If the identity is an Alibaba Cloud service, the tag value is in the assumedRoleUser:<RamRoleName>:<ServiceName> format. <RamRoleName> indicates the name of the RAM role that is assumed by the Alibaba Cloud service, and <ServiceName> indicates the name of the Alibaba Cloud service.

Use createdby tags

  1. Enable createdby tags on the Createdby Tag page of the Resource Management console.

    For more information, see Enable createdby tags.

  2. The system automatically adds createdby tags to newly created resources.

    The system automatically adds createdby tags to only resources that support createdby tags. For more information, see View the Alibaba Cloud services that support createdby tags.

  3. View createdby tags.

    For more information, see View createdby tags.

View the Alibaba Cloud services that support createdby tags

By using the console

  1. Log on to the Resource Management console.

  2. In the left-side navigation pane, choose Tag > Tag.

  3. On the Tags page, click the Resource Tagging Capabilities tab.

  4. View the Alibaba Cloud services and resource types that support createdby tags.

    查看创建者标签

    • In the CreatedBy Tag Bill Support column, you can check whether a resource type supports createdby tag-based cost allocation.

    • In the CreatedBy Tag Console Support column, you can check whether the createdby tags that are added to a type of resource are visible in the console of the service to which this type of resource belongs.

By calling an API operation

Call the ListSupportResourceTypes operation to view the Alibaba Cloud services and resource types that support createdby tags. You can determine the services and resource types based on the following values of the SupportCode parameter:

  • CREATED_BY_TAG_BILL_SUPPORT: indicates whether a resource type supports createdby tag-based cost allocation.

  • CREATED_BY_TAG_CONSOLE_SUPPORT: indicates whether the createdby tags that are added to a type of resource are visible in the console of the service to which this type of resource belongs.