Reviewed-by: Kucerak, Kristian <kristian.kucerak@t-systems.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
13 KiB
Managing VPC Tags
Scenarios
A VPC tag identifies a VPC. Tags can be added to VPCs to facilitate VPC identification and management. You can add a tag to a VPC when creating the VPC, or you can add a tag to a created VPC on the VPC details page. A maximum of 20 tags can be added to each VPC.
A tag consists of a key and value pair. Table 1 lists the tag key and value requirements.
Parameter |
Requirements |
Example Value |
---|---|---|
Key |
|
vpc_key1 |
Value |
|
vpc-01 |
Procedure
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project.
- On the console homepage, under Network, click Virtual Private Cloud.
- In the navigation pane on the left, click Virtual Private Cloud.
- In the upper right corner of the VPC list, click Search by Tag.
- In the displayed area, enter the tag key and value of the VPC you are looking for.
Both the tag key and value must be specified. The system automatically displays the VPCs you are looking for if both the tag key and value are matched.
- Click + to add more tag keys and values.
You can add multiple tag keys and values to refine your search results. If you add more than one tag to search for VPCs, the VPCs containing all specified tags will be displayed.
- Click Search.
The system displays the VPCs you are looking for based on the entered tag keys and values.
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project.
- On the console homepage, under Network, click Virtual Private Cloud.
- In the navigation pane on the left, click Virtual Private Cloud.
- On the Virtual Private Cloud page, locate the VPC whose tags are to be managed and click the VPC name.
The page showing details about the particular VPC is displayed.
- Click the Tags tab and perform desired operations on tags.
- View tags.
On the Tags tab, you can view details about tags added to the current VPC, including the number of tags and the key and value of each tag.
- Add a tag.
Click Add Tag in the upper left corner. In the displayed Add Tag dialog box, enter the tag key and value, and click OK.
- Edit a tag.
Locate the row that contains the tag you want to edit and click Edit in the Operation column. In the Edit Tag dialog box, change the tag value and click OK.
- Delete a tag.
Locate the row that contains the tag you want to delete, and click Delete in the Operation column. In the displayed dialog box, click Yes.
- View tags.