Updated on 2024-06-13 GMT+08:00

Managing Network ACL Tags

Scenarios

Tags help you identify, classify, and search for network ACLs. You can perform the following operations to manage tags of network ACLs:

For details about tag rules, see Table 1.

Table 1 Network ACL naming requirements

Parameter

Requirements

Example Value

Tag key

  • For each resource, each tag key must be unique, and each tag key can have only one tag value.
  • Cannot be left blank.
  • Can contain a maximum of 128 characters.
  • Can consist of letters, digits, underscores (_), and hyphens (-).

test

Tag value

  • Can be left blank.
  • Can contain a maximum of 256 characters.
  • Can consist of letters, digits, underscores (_), periods (.), and hyphens (-).

01

Notes and Constraints

  • Each tag consists of a tag key and a tag value. Only the tag value can be edited.

    If you want to change the tag key, delete it and add one again.

  • Each cloud resource can have a maximum of 20 tags.

Adding Network ACL Tags

  1. Log in to the management console.
  1. Click in the upper left corner and select the desired region and project.
  2. Click in the upper left corner and choose Networking > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  3. In the navigation pane on the left, choose Access Control > Network ACLs.

    The network ACL list page is displayed.

  4. In the network ACL list, click the hyperlink of the network ACL name.

    The network ACL summary page is displayed.

  5. Click the Tags tab and then click Add Tag.

    The Add Tag dialog box is displayed.

  6. Configure the tag key and tag value as prompted, and click OK.

    You can view the added tag in the tag list.

Modifying Network ACL Tags

  1. Log in to the management console.
  1. Click in the upper left corner and select the desired region and project.
  2. Click in the upper left corner and choose Networking > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  3. In the navigation pane on the left, choose Access Control > Network ACLs.

    The network ACL list page is displayed.

  4. In the network ACL list, click the hyperlink of the network ACL name.

    The network ACL summary page is displayed.

  5. Click the Tags tab, locate the row that contains the tag you want to edit and click Edit in the Operation column.

    The Edit Tag dialog box is displayed.

  6. Edit the tag value and click OK.

    You can view the edited tag in the tag list.

Deleting Network ACL Tags

  1. Log in to the management console.
  1. Click in the upper left corner and select the desired region and project.
  2. Click in the upper left corner and choose Networking > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  3. In the navigation pane on the left, choose Access Control > Network ACLs.

    The network ACL list page is displayed.

  4. In the network ACL list, click the hyperlink of the network ACL name.

    The network ACL summary page is displayed.

  5. Click the Tags tab, locate the row that contains the tag you want to delete and click Delete in the Operation column.

    A confirmation dialog box is displayed.

  6. Confirm the information and click Yes.

    A deleted tag cannot be recovered.