Updated on 2024-07-30 GMT+08:00
Tagging an Image
Scenarios
You can use tags to classify images. You can add, modify, or delete image tags, or search for required images by tag in the image list.
- When adding predefined tags to an image or searching for an image using predefined tags, you must have permission to access the Tag Management Service (TMS).
- If your organization has pre-configured tag policies for images, you need to add tags to your images based on the policies. If you do not comply with the tag policies, images may fail to be created. Contact the organization administrator to learn more about the tag policies.
- Each tag consists of a key and a value. The key contains a maximum of 36 characters, and the value contains a maximum of 43 characters. The key cannot be left blank or be an empty string. The value cannot be left blank but can be an empty string.
- An image can have a maximum of 10 tags.
Constraints
An image can have a maximum of 10 tags.
Add, Delete, and Modify Image Tags
- Access the IMS console.
- Log in to the management console.
- Under Compute, click Image Management Service.
The IMS console is displayed.
- Click the Private Images tab and click the image name to display the image details.
- Click the Tags tab, locate the target tag, and click Edit in the Operation column. In the displayed dialog box, modify the tag.
- Click the Tags tab, locate the target tag, and click Delete in the Operation column. In the displayed dialog box, click Yes.
- Click the Tags tab and then Add Tag. In the displayed dialog box, add a tag.
Search for Private Images by Tag
- Access the IMS console.
- Log in to the management console.
- Under Compute, click Image Management Service.
The IMS console is displayed.
- Click the Private Images tab and click the search box above the private image list. Specify tag keys and values under Resource Tag to search for private images.
Figure 1 Searching for images by tag
- Neither the tag key nor tag value can be empty. When the tag key and tag value are matched, the system automatically shows your desired private images.
- You can add multiple tags to search for shared images. The system will display private images that match all tags.
Parent topic: Managing Private Images
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot