Updated on 2024-09-24 GMT+08:00

Creating a Resource Label

You can define resource labels for your exclusive use. Labels cannot be shared among system users.

You can add labels to host or application resources when or after you add host or application resources. A host or application can have a maximum of 10 labels by default.

You can configure labels when you add host resources or add application resources. This topic describes how to add labels after host and application resources are added to your bastion host. Labels can be added through the resource management or operation modules. As an example, the following content walks you through how to add labels to a host resource in the Host module.

Prerequisites

You have the obtained the operation permissions for the Host, Application Publish, Host Operations, and App Operations modules.

Adding a Label

  1. Log in to your bastion host.
  2. Choose Resource > Host in the navigation pane on the left.
  3. Select the host you want to add a label and click Add Label. The Add Label dialog box is displayed.
  4. Type label information in the Label field and press Enter to create a customized label, or select an existing label from the Label drop-down list.
  5. Click OK. You can go to the Host page in the Resource module or the Host Operation page in the Operation module to view the new label of the managed host.
  6. Search for resources by label on. Go to the host or application list page in the Resource module, select a label from the drop-down list in the Label column to search for resources.