VMware Cloud Community
frefal
Enthusiast
Enthusiast

vCD plugin VDC storage policy RequestedMB

I am going thru the API Explorer trying to figure out a way to get the RequestedMB storage for a particular VDC storage policy. Getting the set limit is possible. the requested value is displayed via the vCloud Director web interface so I assume that I can pull it out via Orchestrator aswell.

Sadly profile.requested does not exist;

sprofiles = vdc.getStorageProfiles();

    for each (profile in sprofiles) {

      System.log(profile.limit);

  }

It seems that you can use query services to obtains this info for a provider VDC, but not for an org VDC.

Anyone that can provide me with a hint?

Reply
0 Kudos
0 Replies