Deleting a DRG Attachment
Detach a Dynamic Routing Gateway (DRG) from a resource in Oracle Cloud Infrastructure.
You detach a DRG from a Virtual Cloud Network (VCN) by deleting the DrgAttachment
resource. This doesn't require deleting the VCN.
When you delete a virtual circuit, IPSec tunnel, or remote peering connection (RPC) resource, the corresponding attachment to the DRG is automatically deleted. These resources can't be detached from a DRG without deleting the resource itself.
Use the network drg-attachment delete command and required parameters to delete a DRG attachment:
oci network drg-attachment delete --drg-attachment-id ocid ... [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the DeleteDrgAttachment operation to delete a DRG attachment.