You can add tags to resources to facilitate resource management and search. This topic describes how to add tags to a VPN gateway.
Background
You can add up to 20 tags to each VPN gateway. Before you start, take note of the following limits:
- The keys of tags that are attached to the same VPN gateway must be unique.
- Tags must be attached to VPN gateways.
- Tag information is not shared across regions.
For example, in the China (Shanghai) region, you cannot view tags of instances that are created in the China (Hangzhou) region.
- You can modify the key and value of a tag, or remove the tag. If you delete a VPN gateway, all the tags that are attached to it are removed.
Procedure
- Log on to the VPN gateway console.
In the top navigation bar, select the region where the VPN gateway is deployed.
On the VPN Gateways page, find the VPN gateway, move the pointer over in the Tags column, and then click Edit.
In the Configure Tags dialog box, specify the key and value and click OK.
Parameter
Description
Tag Key
You can select or enter a tag key.
The tag key can be up to 64 characters in length and cannot start with
aliyun
oracs:
. It cannot containhttp://
orhttps://
.Tag Value
You can select or enter a tag value.
The tag value can be up to 128 characters in length and cannot start with
aliyun
oracs:
. It cannot containhttp://
orhttps://
.