Enhanced Datasource Connection Tag Management
Scenario
A tag is a key-value pair customized by users and used to identify cloud resources. It helps users to classify and search for cloud resources. A tag consists of a tag key and a tag value.
If you use tags in other cloud services, you are advised to create the same tag key-value pairs for cloud resources used by the same business to keep consistency.
If your organization has configured tag policies for DLI, add tags to resources based on the policies. If a tag does not comply with the tag policies, resource creation may fail. Contact your organization administrator to learn more about tag policies.
DLI supports the following two types of tags:
- Resource tags: non-global tags created on DLI.
- Predefined tags: global tags created on Tag Management Service (TMS).
For more information about predefined tags, see Tag Management Service User Guide.
DLI allows you to add, modify, or delete tags for datasource connections.
Procedure
- In the left navigation pane of the DLI management console, choose Datasource Connections.
- In the Operation column of the link, choose More > Tags.
- The tag management page is displayed, showing the tag information about the current connection.
- Click Add/Edit Tag. The Add/Edit Tag dialog is displayed. Add or edit tag keys and values and click OK.
Figure 1 Adding/Editing a tag
Table 1 Tag parameters Parameter
Description
Tag key
You can perform the following operations:
- Click the text box and select a predefined tag key from the drop-down list.
To add a predefined tag, you need to create one on TMS and then select it from the Tag key drop-down list. You can click View predefined tags to go to the Predefined Tags page of the TMS console. Then, click Create Tag in the upper corner of the page to create a predefined tag.
For details, see Creating Predefined Tags in Tag Management Service User Guide.
- Enter a tag key in the text box.
NOTE:
A tag key can contain a maximum of 128 characters. Only letters, numbers, spaces, and special characters (_.:=+-@) are allowed, but the value cannot start or end with a space or start with _sys_.
Tag value
You can perform the following operations:
- Click the text box and select a predefined tag value from the drop-down list.
- Enter a tag value in the text box.
NOTE:
A tag value can contain a maximum of 255 characters. Only letters, numbers, spaces, and special characters (_.:=+-@) are allowed. The value cannot start or end with a space.
- Click the text box and select a predefined tag key from the drop-down list.
- Click OK.
- (Optional) To delete a tag, locate the row where the tag locates in the tag list and click Delete in the Operation column to delete the tag.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot