Help Center/ VPC Endpoint/ User Guide/ VPC Endpoint Services/ Managing Tags of a VPC Endpoint Service
Updated on 2024-11-14 GMT+08:00

Managing Tags of a VPC Endpoint Service

Scenarios

After a VPC endpoint service is created, you can view its tags, or add, edit, or delete a tag.

Tags help identify VPC endpoint services. You can add up to 20 tags to each VPC endpoint service.

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.

Add a Tag

Perform the following operations to tag an existing VPC endpoint service:

  1. Log in to the management console.
  2. Click in the upper left corner and select the required region and project.
  1. Click Service List and choose Networking > VPC Endpoint.
  1. In the navigation pane on the left, choose Network Connectivity > VPC Endpoint > VPC Endpoint Services.
  2. In the VPC endpoint service list, locate the VPC endpoint service and click its name.
  3. On the displayed page, select the Tags tab.
  4. Click Add Tag.
  5. In the displayed Add Tag dialog box, enter a key and a value.
    Table 1 describes the tag requirements.
    Table 1 Tag requirements for VPC endpoint services

    Parameter

    Requirement

    Tag key

    • Cannot be left blank.
    • Must be unique for each resource.
    • Can contain a maximum of 36 characters.
    • Can contain only letters, digits, hyphens (-), and underscores (_).

    Tag value

    • Cannot be left blank.
    • Can contain a maximum of 43 characters.
    • Can contain only letters, digits, hyphens (-), and underscores (_).
  6. Click OK.

Edit a Tag

Perform the following operations to edit a tag of a VPC endpoint service:

  1. Log in to the management console.
  2. Click in the upper left corner and select the required region and project.
  3. Click Service List and choose Networking > VPC Endpoint.
  1. In the navigation pane on the left, choose Network Connectivity > VPC Endpoint > VPC Endpoint Services.
  2. In the VPC endpoint service list, locate the VPC endpoint service and click its name.
  3. On the displayed page, select the Tags tab.
  4. In the tag list, locate the tag and click Edit in the Operation column.
  5. Enter a new value.

    You can only edit tag values.

  6. Click OK.

Delete a Tag

Perform the following operations to delete a tag of a VPC endpoint service:

Deleted tags cannot be recovered. Exercise caution when performing this operation.

  1. Log in to the management console.
  2. Click in the upper left corner and select the required region and project.
  3. Click Service List and choose Networking > VPC Endpoint.
  1. In the navigation pane on the left, choose Network Connectivity > VPC Endpoint > VPC Endpoint Services.
  2. In the VPC endpoint service list, locate the VPC endpoint service and click its name.
  3. On the displayed page, select the Tags tab.
  4. In the tag list, locate the tag and click Delete in the Operation column.
  5. Click OK.