Deleting a DRG NAT Policy

Delete a DRG NAT policy after you remove its rules and disassociate it from any attachments that still reference it.

Before deleting the DRG NAT policy, ensure the following:

  • No DRG attachments still use the policy.
  • The policies rules are no longer needed.
    1. On the DRG NAT policies list page, find the DRG NAT policy that you want to work with. If you need help finding the list page or the cluster, see Listing DRG NAT Policies.
    2. From the Actions menu (three dots) for the DRG NAT policy, select Delete.
    3. When prompted, confirm the deletion.
    The DRG NAT policy is in the Deleting state for a short period while it's being deleted. The DRG NAT rules contained within the policy are also deleted.
  • Use the oci network drg-nat-policy delete command and required parameters to delete a DRG NAT policy:

    oci network drg-nat-policy delete --drg-nat-policy-id <drg-nat-policy_ocid> [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the DeleteDrgNatPolicy operation to delete a DRG NAT policy.