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

vROps API and Postman - multiple vm's

$
0
0

Using Postman.... is it possible to pass multiple vm's when making an API call to:

                     -find the resourceID's and only return the resourceID

                     -pass in the resourceID's to show the property "summary|parentvcenter" for each vm

 

Use case: We need to know the parent vcenter for 100 vm's located across multiple vcenters and multiple vROps instances via the API.... I know powershell will work, but what about Postman?  Thanks.

 

E.g.,

 

https://vrops/suite-api/api/resources?resourceKind=virtualmachine&name=server1,server2,server3=resourceID

 

Then

 

https://vrops/suite-api/api/resources/resourceID1,resourceID2,resourceID3/properties=summary-parentvcenter


Viewing all articles
Browse latest Browse all 175326

Latest Images

Trending Articles



Latest Images

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