Quantcast
Channel: VMware Communities : Popular Discussions - vCloud Director PowerCLI
Viewing all articles
Browse latest Browse all 13334

Get vDC Storage Policy quota

$
0
0

Hello.

 

I want to retrieve the storage policies quota assigned to an Org vDC using PowerCLI.

 

I initially tried to retrieve this information using $orgvDC.StorageLimitGB but this gives me the sum of the storage profiles quotas (I want the information per storage profile).

 

I managed to retrieve the vDC's storage profiles this way:

 

foreach ($vDCStorageProfilein$orgvDC.ExtensionData.VdcStorageProfiles) {

 

  }

 

I assume it is possible as there is a "limit" element in the API documentation but I can't find how to retrieve this limit for each storage profile.

 

Any idea?


Viewing all articles
Browse latest Browse all 13334

Trending Articles



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