Deleting and restoring resources
When you no longer require the resources, you can them from the Resource Tree page and restore the deleted resources from the Recycle Bin page.
Before you begin
About this task
- Go to pane.
- Turn on Enable Deployment History Cleanup.
- Set up the time and duration in Daily Cleanup Start Time and Daily Cleanup Duration fields.
You can restore the resources to their previous locations in the resource tree. However, after resources are deleted from the Recycle Bin, they cannot be restored. When restored, the resources are restored as a child resource of the original parent resource. If the parent was moved, the resource is restored to the parent's new location.
If the deleted resource is mapped to an environment, the resource is deleted from the environment also. In case you still require the deleted resource, you must restore the resource, and map it to the environment again.
Deleting resources
Procedure
-
Open the Resource Tree page.
In addition to the Resource Tree page, resources might be displayed in several ways, such as by adding resources to an environment.
-
Select the check box that is associated with the resource to delete.
You can select multiple resources.
-
From the Actions list, click Delete.
Subresources that are associated with the selected resources are deleted also.
Results
Restoring binned resources
About this task
Note:
- You cannot restore a resource if the parent is also deleted. In this case, restore the parent resource along with the child resource.
- Resources that are part of resource template and dynamic resources, if deleted, are not binned.
Procedure
- Open the Recycle Bin page.
-
Select the check box that is associated with the resource to restore.
You can select multiple resources.
- From the Actions list, click Restore.