Deleting a Compute Cloud@Customer Infrastructure in OCI

You must delete only an infrastructure that is not connected to a Compute Cloud@Customer infrastructure in your data center. An infrastructure that is not connected is in the Reject state.

If you need to disconnect an infrastructure, see Rejecting a Connection.

  • To delete an infrastructure, follow these steps:
    1. In the Oracle Cloud Console, open the navigation menu, select Hybrid & Multicloud, and then select Oracle Compute Cloud@Customer.

    2. In the list of infrastructures, find the one that you want to delete. If you don't see the infrastructure that you want, you might need to change compartments.

      The connection state must be Reject.

    3. From the Actions menu (An image of the three dot icon.) for the infrastructure, select Copy OCID. You need the OCID to confirm deletion of the infrastructure.

    4. From the Actions menu (An image of the three dot icon.) for the infrastructure, select Delete.

    5. Confirm deletion by pasting the OCID of the infrastructure.

    6. Select Delete.

  • Use the ccc infrastructure delete command and required parameters to delete an infrastructure:

    oci ccc infrastructure delete --infrastructure-id <infrastructure ocid> [OPTIONS]

    For a complete list of CLI commands, flags, and options, see the Command Line Reference.

  • Use the DeleteCccInfrastructure operation to delete a Compute Cloud@Customer infrastructure.

    For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.