Before You Begin
To identify all resources in the resource group that you are removing, type the following command:
# clresource show -v
# clresourcegroup offline resource-group
Specifies the name of the resource group to take offline.
# clresource disable resource
Specifies the name of the resource to disable.
For each resource, type the following command.
# clresource delete resource
Specifies the name of the resource to be removed.
# clresourcegroup delete resource-group
Specifies the name of the resource group to be removed.
# clresourcegroup show
This example shows how to remove a resource group (resource-group-1) after you have removed its resource (resource-1).
# clresourcegroup offline resource-group-1 # clresource disable resource-1 # clresource delete resource-1 # clresourcegroup delete resource-group-1
See also
The following man pages: