Updated on 2023-06-20 GMT+08:00

Adding a Tag

Scenario

RAM allows you to add tags to resource shares.

You can add tags to new resource shares or to any existing resource shares on the resource share details page.

For details about how to use predefined tags, see Using Predefined Tags.

Adding a Tag to a New Resource Share

  1. Log in to the Huawei Cloud management console.
  2. Click in the upper left corner and choose Management & Governance > Resource Access Manager. The Resource Access Manager page is displayed.
  3. Choose Shared by Me > Resource Shares.
  4. Click Create Resource Share in the upper right corner of the page. Under Basic Information area on the displayed page, enter a tag key and a tag value, and click Add.
    Figure 1 Creating a resource share
    Figure 2 Adding a tag
  5. Complete other configurations of the resource share. For details, see Creating a Resource Share.

Adding a Tag to an Existing Resource Share

  1. Log in to the Huawei Cloud management console.
  2. Click in the upper left corner and choose Management & Governance > Resource Access Manager. The Resource Access Manager page is displayed.
  3. Choose Shared by Me > Resource Shares.
  4. Click the name of the resource share you want to view. The resource share details page is displayed.
  5. Click Add/Edit Tags. The Add/Edit Tags dialog box is displayed.
  6. Enter a tag key and a tag value, click Add, and click OK.
    Figure 3 Adding a tag on the details page

Using Predefined Tags

With predefined tags, you can plan and create tags in advance to meet service requirements, import or export them in batches, and quickly associate them with cloud resources.

If you want to add the same tag to multiple resource shares or resources, you can create a predefined tag on the TMS console and select the tag for the resource shares or resources. This frees you from having to repeatedly enter tag keys and values. You can perform the following steps to use predefined tags:

  1. Log in to the Huawei Cloud management console.
  2. Click in the upper left corner of the page and choose Management & Governance > Tag Management Service. The Tag Management Service page is displayed.
  3. Choose Predefined Tags in the navigation pane. In the right pane, click Create Tag. In the displayed dialog box, enter a tag key and a tag value. Then, click OK.
  4. Click in the upper left corner and choose Management & Governance > Resource Access Manager. The Resource Access Manager page is displayed.
  5. Select the predefined tag from the tag key and tag value drop-down lists when you add tags to a resource share.