All Products
Search
Document Center

Resource Management:Delete a resource group

Last Updated:Mar 14, 2024

If you no longer require a resource group, you can delete the resource group. The default resource group cannot be deleted.

Prerequisites

The resource group that you want to delete does not contain resources. If the resource group contains resources, transfer the resources to another resource group or release the resources. For more information, see Transfer resources across resource groups.

Procedure

  1. Log on to the Resource Management console.

  2. In the left-side navigation pane, choose Resource Group > Resource Group.

  3. On the Resource Group page, find the desired resource group and click its name in the Resource Group Name column.

  4. Click the Settings tab. In the Delete section of this tab, click Delete.

  5. In the Delete message, click OK.

    Warning

    After a resource group is deleted, it cannot be recovered. Proceed with caution when you delete a resource group.

Result

After the preceding steps are performed, the system checks whether the resource group contains resources. This process takes three days. The resource group remains in the Deleting state during this period. Take note of the following items:

  • The system changes the identifier of a resource group in the Deleting state in the following format: <Original identifier of the resource group>-<ID of the resource group>-<Date when the resource group was deleted>. For example, if a delete operation was performed on the resource group whose identifier is TestGroup on August 12, 2021, the identifier of the resource group is changed to TestGroup-rg-aekzcobqwwj****-20210812.

  • If the system detects that a resource group in the Deleting state still contains resources, the resource group fails to be deleted, and the system attempts to roll back the new identifier of the resource group to the original identifier. If the original identifier is already used by another resource group, the system retains the new identifier. If you still want to delete the resource group, you must delete resources from the resource group and delete the resource group again.

  • A resource group in the Deleting state does not occupy your resource group quota.