- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Get VM Info with REST-API
Dear all,
I'm starting to use the REST-APIs to get information regarding our VMs and I'm interested to get also the Description/Annotation/Notes of a desired VM.
Does anybody knows how can I query and also update such information using REST-API ?
Thanks a lot in advance
Max
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do you intend to make the REST calls?
From which language or application?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using Talend to create a job to call the REST-APIs using HTTPS and JSON structure to collect the desired VM info and use it for reporting and ticketing
Max
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Max,
Which tool you're going to use to fetch VM details? eg. vsphere, vrops, vcloudDirector...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm connecting to vsphere using REST-API
Max
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Max,
Here's the Vsphere Automation API reference.
https://developer.vmware.com/docs/vsphere-automation/latest/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the link, I have it also, but the issue is that when I use the Get VM API, I do not have the Annotation/Notes from the VM , and that is what I'm looking for.
At the moment I can list vms, get the details of vms, but not the Annotation/Notes , which is very usefull becuase we are using that field in vCenter to write information about every VM.
Max