Deleting a Recovery Service Subnet

Recovery Service performs an automatic clean-up of Recovery Service subnets that are registered by the service but no longer used. Alternatively, use these steps to manually delete a Recovery Service subnet.

Automated Cleanup of Recovery Service Subnets Registered by the Service

After deleting a protected database, Recovery Service also removes the Recovery Service subnet if it was registered by the service and if these conditions are true:
  • You have not modified or updated the Recovery Service subnet after it was registered by the service
  • The Recovery Service subnet is in an Active life cycle state and it has no dependencies with any other protected database

Using the Console to Delete a Recovery Service Subnet

  1. On the Recovery Service subnets list page, select the Recovery Service subnet that you want to work with. See Listing Recovery Service Subnets for detailed steps to access the list page.
  2. From the Actions menu for the resource, select Delete.
  3. Confirm the deletion when prompted.

Using the CLI to Delete a Recovery Service Subnet

Use the oci recovery recovery-service-subnet delete command and required parameters to delete a Recovery Service subnet.

See Autonomous Recovery Service CLI Command Reference for a complete list of parameters and values for CLI commands.

Using the API to Delete a Recovery Service Subnet

Run the DeleteRecoveryServiceSubnet API operation to delete a Recovery Service subnet.