- User Guide
- Managing NAT Gateway Tags
Managing NAT Gateway Tags¶
Application Scenarios¶
A NAT gateway tag identifies the NAT gateway. Tags can be added to NAT gateways to ease NAT gateway identification and administration. You can add a tag to a NAT gateway when creating the NAT gateway. Alternatively, you can add a tag to a created NAT gateway on the NAT gateway details page. A maximum of 20 tags can be added to each NAT gateway.
A tag consists of a key and value pair. Table 1 lists the tag key and value requirements.
Parameter | Requirement |
---|---|
Key |
|
Value |
|
Procedure¶
Search for NAT gateways by tag key and value on the page showing the NAT gateway List.
Log in to the management console.
Click in the upper left corner and select the desired region and project.
Under Network, click NAT Gateway.
In the upper right corner of the NAT gateway list, click Search by Tag.
In the displayed area, enter the tag key and value of the NAT gateway you are looking for. Both the tag key and value must be specified.
Click + to specify additional tag keys and values.
You can add a maximum of 20 tags to refine your search results. If you add more than one tag to search for NAT gateways, the tags are automatically joined with AND.
Click Search.
The system displays the NAT gateways you are looking for based on the entered tag keys and values.
Add, delete, edit, and view tags on the Tags tab of a NAT gateway.
Log in to the management console.
Click in the upper left corner and select the desired region and project.
Under Network, click NAT Gateway.
On the displayed page, locate the NAT gateway whose tags are to be managed and click the NAT gateway name. The page showing details about the NAT gateway is displayed.
Click the Tags tab and perform desired operations on tags.
View a tag.
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 dialog box, enter the key and value of the tag to be added, and click OK.
Note
You can use the predefined tags as prompted to simplify tag adding operations. For more information about predefined tags, see the Tag Management Service User Guide.
Modify a tag.
Locate the row that contains the tag to be edited 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 to be deleted and click Delete in the Operation column. In the displayed Delete Tag dialog box, click Yes.