Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 175326

vCloud Director - API - Create VDC - Error - Cannot find the provider VDC storage policy

$
0
0

I am working on an assignment to test the API’s of vCD using Postman, while testing creates an Organization VDC using Postman I am getting error message as com.vmware.vcloud.api.presentation.service.BadRequestException: Cannot find the provider VDC storage policy "urn:uuid:8acc7829-4e1a-447c-9a21-d2ee8235db5a. The Request URL is https://MyHost/api/admin/org/xxxxxxxx-ad2f-4e9d-b7d4-4832c843487c/vdcsparamsvdcsparams

Request Body:

<?xmlversion="1.0"encoding="UTF-8"?><CreateVdcParamsname="org26vdc1"xmlns="http://www.vmware.com/vcloud/v1.5"><Description>Example vDC</Description><AllocationModel>AllocationVApp</AllocationModel><ComputeCapacity><Cpu><Units>MHz</Units><Allocated>0</Allocated><Limit>0</Limit></Cpu><Memory><Units>MB</Units><Allocated>0</Allocated><Limit>0</Limit></Memory></ComputeCapacity><NicQuota>0</NicQuota><NetworkQuota>50</NetworkQuota><VdcStorageProfile><Enabled>true</Enabled><Units>MB</Units><Limit>0</Limit><Default>true</Default><ProviderVdcStorageProfilehref="https://MyHost/api/admin/pvdcStorageProfile/8acc7829-4e1a-447c-9a21-d2ee8235db5a"/></VdcStorageProfile><ResourceGuaranteedMemory>1.0</ResourceGuaranteedMemory><ResourceGuaranteedCpu>0.10</ResourceGuaranteedCpu><VCpuInMhz>2000</VCpuInMhz><IsThinProvision>true</IsThinProvision><NetworkPoolReferencehref="https://MyHost/api/admin/extension/networkPool/9c5d76f4-c70b-4fb6-848f-bac0dbbb0278"/><ProviderVdcReferencetype="application/vnd.vmware.admin.providervdc+xml"name="TestPvDC"href="https://MyHost/api/admin/providervdc/3bd02fe2-cb97-4a86-8f4e-6a79ee56842c"/><UsesFastProvisioning>false</UsesFastProvisioning></CreateVdcParams>


API Version 33.0 - Product v10.0, please assist.


Viewing all articles
Browse latest Browse all 175326

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>