Decomissioning Servers via SDK - Retrieving Child Objects

I'm working on some decommissioning automation and I am required to delete servers via Vedsdk when servers are deleted in our cloud provider.


If I attempt to delete a server that still has children, I get the following error:


Via the GUI, I can just say "Delete all child objects" in the popup.

I assume I have to loop through child objects and delete those first, is there a way to get a list of child objects?


Please sign in to leave a comment.