All Products
Search
Document Center

VPN Gateway:Add tags to a VPN gateway

Last Updated:Nov 06, 2023

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

  1. Log on to the VPN gateway console.
  2. In the top navigation bar, select the region where the VPN gateway is deployed.

  3. On the VPN Gateways page, find the VPN gateway, move the pointer over 标签图标 in the Tags column, and then click Edit.

  4. 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 or acs:. It cannot contain http:// or https://.

    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 or acs:. It cannot contain http:// or https://.