Adding a Label for a Resource
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 Labels for Host Resources
- Log in to your bastion host.
- Choose Resource > Host in the navigation pane on the left.
- Select the host you want to add a label and click Add Label at the bottom of the host list. The Add Label dialog box is displayed.
- Enter the custom label content, confirm the content, and click OK. Return to the Host or Host Operations page to view the new label of the host.
- Search for resources by label. Go to the resource list page in the Resource module, select a label from the drop-down list in the Label column to search for resources.
Adding Labels for Application Resources
- Log in to your bastion host.
- Choose Resource > Application to go to the application publish list page.
- Select the application resource you want to add a label and click Add Label at the bottom of the resource list. The Add Label dialog box is displayed.
- Enter the custom label content, confirm the content, and click OK. Return to the Application page under Resource and view the label of the application resource.
Adding Labels for Container Resources
- Log in to your bastion host.
- Choose Resource > Cloud Service. The Cloud Service Management page is displayed.
- Select the container resource you want to add a label and click Add Label at the bottom of the resource list. The Add Label dialog box is displayed.
- Enter the custom label content, confirm the content, and click OK. Return to the Container tab and view the label of the container resource.
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