Remaining capacity for cluster via REST API

This post was originally published on this site

Hello,

 

We have automated the VM deployement via vRealize Orchestrator.

And now we do our capacity calculations ourselves via custom calculations in vRealize Orchestrator.

We calculate how many CPU/MEM we have left, per cluster, and then select the best cluster for deploying the VM on.

But now we want to use vRealize Operations Manager to do this task.

The numbers in there are very similar as our own calculations.

 

But I’m really struggling to find it via the API.

 

Anybody has an idea, or already does it via API?

 

 

The only info I can find related to the cluster via API is this:

<ops:badge type=“CAPACITY_REMAINING” color=“ORANGE” score=“1.3157894736842104”/>

 

Thanks!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.