Managing Virtual Gateway Tags
Scenario
After a virtual gateway is created, you can add tags to it, or edit, view or delete its tags.
A tag is the identifier of a virtual gateway and consists of a key and a value. You can add 20 tags to a virtual gateway.
If a predefined tag has been created on TMS, you can directly select the corresponding tag key and value.
For details about predefined tags, see Predefined Tag Overview.
If you have configured tag policies for Direct Connect, you need to add tags to your virtual gateways based on the tag policies. If you add a tag that does not comply with the tag policies, virtual gateways may fail to be created. Contact your administrator to learn more about tag policies.
Adding a Tag
Add a tag to an existing virtual gateway.
- Go to the Virtual Gateways page.
- In the upper left corner of the page, click
and select a region and project. - In the virtual gateway list, locate the virtual gateway and click its name to go to the details page of the virtual gateway.
- In the lower part of the page, click Edit Tag.
- On the Edit Tag page, click Add.
Enter the tag key and value as prompted.
If you have configured tag policies for Direct Connect, you need to add tags to your virtual gateways based on the tag policies. If you add a tag that does not comply with the tag policies, virtual gateways may fail to be created. Contact your administrator to learn more about tag policies.
Table 1 describes the tag key and value requirements.Table 1 Tag naming requirements Parameter
Requirements
Key
- Cannot be left blank.
- Must be unique for each resource.
- Can contain a maximum of 128 characters.
- Cannot start or end with a space, or start with _sys_. Only letters, digits, spaces, and the following special characters are allowed: _.:=+-@
Value
- Can be left blank.
- Can contain a maximum of 255 characters.
- Can contain letters, digits, spaces, and the following special characters: _.:/=+-@
- Click OK.
Editing a Tag
Modify the value of a tag added to a virtual gateway.
- Go to the Virtual Gateways page.
- In the upper left corner of the page, click
and select a region and project. - In the virtual gateway list, locate the virtual gateway and click its name to go to the details page of the virtual gateway.
- In the lower part of the page, click Edit Tag.
- On the Edit Tag page, reset the tag key and value.
- Click OK.
Deleting a Tag
Delete a tag from a virtual gateway.
Deleted tags cannot be recovered.
- Go to the Virtual Gateways page.
- In the upper left corner of the page, click
and select a region and project. - In the virtual gateway list, locate the virtual gateway and click its name to go to the details page of the virtual gateway.
- In the lower part of the page, click Edit Tag.
- In the tag list, locate the tag you want to delete and click Delete.
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