Managing Tags
Tag Management Service (TMS) enables you to manage resources using tags on the management console. TMS works with other cloud services to manage global tags, and other cloud services manage their own tags.
Adding tags to GeminiDB Cassandra instances helps you better identify and manage them. An instance can be tagged when or after it is created.
After an instance is tagged, you can search for the tag key or value to quickly query the instance details.
Precautions
- You are advised to set predefined tags on the TMS console.
- A tag consists of a key and value. You can add only one value for each key. For details about the naming rules of tag keys and tag values, see Table 1.
- A maximum of 20 tags can be added for each instance.
- The tag name must comply with the naming rules described in Table 1.
Table 1 Naming rules Parameter
Requirement
Example Value
Tag key
- Cannot be left blank.
- Must be unique for each instance.
- Contains a maximum of 36 characters.
- Can only consist of digits, letters, underscores (_), and hyphens (-).
Organization
Tag value
- Can be left blank.
- Contains a maximum of 43 characters.
- Can only consist of digits, letters, underscores (_), periods (.), and hyphens (-).
nosql_01
Adding a Tag
- Log in to the GeminiDB console.
- In the service list, choose Databases > GeminiDB Cassandra API.
- On the Instances page, locate the instance that you want to add tags to and click its name. The Basic Information page is displayed.
- In the navigation pane on the left, click Tags.
- On the Tags page, click Add Tag. In the displayed dialog box, enter a tag key and value, and click OK.
- View and manage tags on the Tags page.
Editing a Tag
- Log in to the GeminiDB console.
- In the service list, choose Databases > GeminiDB Cassandra API.
- On the Instances page, locate the instance whose tags you want to edit and click its name. The Basic Information page is displayed.
- In the navigation pane on the left, click Tags.
- On the Tags page, locate the tag that you want to edit and click Edit in the Operation column. In the displayed dialog box, change the tag value and click OK.
Only the tag value can be edited.
- View and manage tags on the Tags page.
Deleting a Tag
- Log in to the GeminiDB console.
- In the service list, choose Databases > GeminiDB Cassandra API.
- On the Instances page, locate the instance whose tags you want to delete and click its name. The Basic Information page is displayed.
- In the navigation pane on the left, click Tags.
- On the Tags page, locate the tag that you want to delete and click Delete in the Operation column. In the displayed dialog box, click Yes.
- Check whether the deleted tag is displayed on the Tags page.
Searching by tag
- Log in to the GeminiDB console.
- In the service list, choose Databases > GeminiDB Cassandra API.
- On the Instances page, select Tags in the search box.
Figure 1 Selecting tags
- Select the tag to be queried and click OK to query information about instances associated with the tag.
Figure 2 Searching by 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