Help Center/ DataArts Studio/ Preparations/ (Optional) Creating Instance Tags
Updated on 2022-09-15 GMT+08:00

(Optional) Creating Instance Tags

A tag is a key-value pair that identifies an instance. It consists of a key and a value.

DataArts Studio instance tags can be used in the following scenarios:

  • If there are a large number of cloud resources, you can add tags to them (including DataArts Studio instances) by user, maintainer, or usage. Then you can use Tag Management Service (TMS) to identify tags and manage cloud resources easily.
  • If there are multiple DataArts Studio instances, you can add tags to them by user, maintainer, or usage. Then you can search for and identify DataArts Studio instances by tag on the DataArts Studio instance list page.

Constraints

  • A DataArts Studio instance can have a maximum of 20 tags.
  • Each tag key must be unique. Only one tag value can be added to a tag key.

Procedure

  1. On the homepage of the DataArts Studio console, click Tags.

    Figure 1 Tags

  2. Click Add/Edit Tag. In the displayed dialog box, enter a tag key and a tag value and click Add.

    Figure 2 Add/Edit Tag
    Table 1 Tag parameters

    Parameter

    Description

    Tag Key

    DataArts Studio supports predefined tags and resource tags.
    • Predefined tags are created on TMS. They may suit your needs to manage multiple services by tag.

      To use a predefined tag, you must create one on TMS first. Then you can select it from the Tag key drop-down list. You can click View predefined tags to enter the Predefined Tag page of TMS. Then, click Create Tag to create a predefined tag. For details, see Creating Predefined Tags in Tag Management Service User Guide.

    • Resource tags are created when you add a tag. You do not need to define them in advance. Resource tags are suitable for you to manage DataArts Studio instances by tag.

      To use a resource tag, you can enter the tag key in the box. A tag key can contain a maximum of 36 characters, including letters, digits, hyphens (-), and underscores (_). The first and last characters cannot be spaces.

    Tag Value

    You can specify the tag value in either of the following ways:

    • Predefined tags: Click the text box and select a predefined tag value from the drop-down list.
    • Resource tags: Enter a tag value in the text box. A tag value can contain a maximum of 43 characters, including letters, digits, hyphens (-), underscores (_), and dots (.). The first and last characters cannot be spaces.