I am trying to remove unused VdcStorageProfiles from a VDC. Does anyone have an example of getting this to work?
I happen to be using the .NET SDK, but can use rest calls to remove if required.
I tried using the SDK method VdcAdmin.UpdateAdminVdcStorageProfiles but it does not seem to work currently (or is not working as expected) [also this method seems very odd for the API, a big change from how delete's are normally done.
Thanks for any assistance.
Running into the same issue. Did you ever find what was wrong?
cfor ,jrwise
I believe using REST API guide you can Create, Retrieve, Update and Delete the objects. Below are few related REST API call which can help you over this:
POST /admin/vdc/{id}/vdcStorageProfiles Add or remove virtual datacenter storage classes.
GET /admin/vdcStorageProfile/{id} Returns the representation of a vDC storage profile
Reference Link:
Using the vCloud API Schema Reference
Let me know if this helps!
Cheers.
Hi,
How to change the storage limit of VDC Storage Quota?
I have tested that above API can only add storageProfile to VDC
Thanks!