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.
Tor delete a DRG, follow these steps:
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.