VMware Cloud Community
sanzende
Contributor
Contributor

How to delete custom resource and remove item from items tab?

I am trying to remove the custom resource which I defined earlier but it is not allowing and giving me the error below.

"Cannot delete a custom resource that is in use. Referenced in: Resource"

For that I tried to remove an entry from the "Items" tab which would have any association, but there too I do not have any option to remove. I had provisioned a resource from the service blueprint and created a resource action "Delete a volume" without the selection of "Disposal" and hence the entry in "Items" tab still remains. How do I cleanup this now?

Thanks & Regards

Sandeep Zende

Tags (3)
0 Kudos
1 Reply
CalmCloud
Enthusiast
Enthusiast

I assume you created a custom resource from a dynamic type

1. Delete "Dynamic Types" object

     You have to create a resource action with "disposing" action selected. Then execute the action on all "Dynamic Types" object to remove reference from VRA.

dynamicDiposal.png

2. Remove all references to the custom object. Select the custom resource and in "Where used" tab there should not be any reference to the custom resource in "Service Blueprints" or "Resource Actions"

dynamicReference.png

Then you should be able to delete the custom resource.

0 Kudos