Quantcast
Channel: VMware Communities : Discussion List - Virtual Disk Development Kit
Viewing all articles
Browse latest Browse all 2039

How to obtain requested storage for Vdc Storage Profile using DOT.NET API 5.1

$
0
0



Hi,


how can I get requested storage for a Vdc storage profile using DOT.NET API 5.1?

I obtain vdcStorageProfile data with this code:


VdcStorageProfile vdcStorageProfile = VdcStorageProfile.GetVdcStorageProfileByReference(client, storageProfileReferenceType);
vdcStorageProfile.Resource.Limit

 

There is only Limit value.

There isn't requested storage value...

 

I have checked ... and the missing data is not in the REST API

 

GET https://[CUT]/api/vdcStorageProfile/ HTTP/1.1

 

<?xml version="1.0" encoding="UTF-8"?>

<VdcStorageProfile >

    <Link rel="up" type="application/vnd.vmware.vcloud.vdc+xml" href="[CUT]"/>

    <Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="[CUT]"/>

    <Enabled>true</Enabled>

    <Units>MB</Units>

*    <Limit>0</Limit>*

    <Default>false</Default>

</VdcStorageProfile>

 

Thanks a lot.

Mardock


Viewing all articles
Browse latest Browse all 2039

Trending Articles