Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com> Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
9.3 KiB
Tag Management
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.
DLI allows you to add tags to Flink jobs. You can add tags to Flink jobs to identify information such as the project name, service type, and background. 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.
DLI supports the following two types of tags:
- Resource tags: indicate non-global tags created on DLI.
This section includes the following content:
Managing a Job Tag
DLI allows you to add, modify, or delete tags for jobs.
- In the left navigation pane of the DLI management console, choose > . The Flink Jobs page is displayed.
- Click the name of the job to be viewed. The Job Details page is displayed.
- Click Tags to display the tag information about the current job.
- Click Add/Edit Tag to open to the Add/Edit Tag dialog box.
- Configure the tag parameters in the Add/Edit Tag dialog box.
- Click OK.
- (Optional) In the tag list, locate the row where the tag you want to delete resides, click Delete in the Operation column to delete the tag.
Searching for a Job by Tag
If tags have been added to a job, you can search for the job by setting tag filtering conditions to quickly find it.
- In the left navigation pane of the DLI management console, choose > . The Flink Jobs page is displayed.
- In the upper right corner of the page, click the search box and select Tags.
- Choose a tag key and value as prompted. If no tag key or value is available, create a tag for the job. For details, see Managing a Job Tag.
- Choose other tags to generate a tag combination for job search.
- Click search icon. The target job will be displayed in the job list.
