Deleting a DRG
Delete a Dynamic Routing Gateway (DRG) in Oracle Cloud Infrastructure.
Prerequisites:
- The DRG can't be attached to a VCN.
- The DRG can't be connected to another network by way of Site-to-Site VPN, FastConnect, or remote peering.
- The DRG can't be listed as a target in a route rule.
To delete a DRG, follow these steps:
- On the Dynamic Routing Gateways list page, find the DRG that you want to work with. If you need help finding the list page or the DRG, see Listing DRGs.
- From the for the DRG you want to delete, select Terminate.
- When prompted, confirm the deletion.
The DRG is in the Terminating state for a short period while it's being deleted. The DRG route tables and DRG route distributions contained in the DRG are also deleted.
Use the network drg delete command and required parameters to delete a DRG:
oci network drg delete --drg-id ocid [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the DeleteDrg operation to delete a DRG.