Dasein Cloud implementation for vCloud. For more information on Dasein Cloud, see the Dasein Cloud home page at https://github.com/greese/dasein-cloud.
You’ll need two delete API calls to delete a machine image. One to delete the catalog item (pointer), and one to delete the resource entity (vApp Template).
Querying the catalog item will return hrefs that you can DELETE…
GET /api/query?type=catalogItem&format=records&filter=entityName==MyVAppTemplateName
Current environments where we have used this code still have catalog item pointers that point to deleted templates, so bonus points for cleaning up half deleted machine images.
In vCloud 1.5, the process we use to provision a VM results in a VM that vCloud believes not to have VMware tools on it. This happens in all 1.5 environments I can access, but none of the 5.1.
As a result, Dasein Cloud cannot build templates from these VMs.