Updated on 2024-12-09 GMT+08:00

Deleting a Virtual Gateway Attachment

Scenarios

This section describes how to delete a virtual gateway attachment from an enterprise router.

Notes and Constraints

  • Deleting a VPC attachment will also delete its associations, propagations, and propagated routes in the route table.
  • If flow logging is enabled for a VPC attachment, flow logging will be disabled, but collected flow logs will not be deleted.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Click Service List and choose Networking > Enterprise Router.

    The Enterprise Router page is displayed.

  4. Search for the target enterprise router by name.
  5. Go to the Attachments tab using either of the following methods:

    • In the upper right corner of the enterprise router, click Manage Attachment.
    • Click the enterprise router name and click Attachments.

    A virtual gateway attachment cannot be directly deleted on the Attachments tab.

    A virtual gateway attachment will be automatically deleted after you perform the following operations to delete the virtual gateway and its virtual interfaces.

  6. Locate the target virtual gateway attachment and click the attached resource.

    Example: vgw-demo

    The virtual gateway attachment details page is displayed.

  7. On the details page, click the virtual gateway.

    The virtual gateway list is displayed.

  8. Check whether the virtual gateway has virtual interfaces.

    • If the virtual gateway has virtual interfaces, delete the virtual interfaces first.

      For details, see section "Deleting a Virtual Interface" in the Direct Connect User Guide.

    • If the virtual gateway has no virtual interfaces, go to 9.

  9. Locate the target virtual gateway and click Delete in the Operation column.

    A confirmation dialog box is displayed.

  10. Click OK.

    A deleted virtual gateway cannot be recovered.