Software Development Kit (SDK) and API Discussions

Listing VMware VMs with NMSDK?

calving

Greetings,

Can you please suggest an API call that would provide me with a list of the VMware virtual machines that OnCommand has discovered form my vCenter server?

I've configured OnCommand host agent and VSC and added a vCenter server to OnCommand 5.  I can see a list of VMware VMs in the "Servers" tab of the OnComand console.

Thanks in advance.

--calvin

1 ACCEPTED SOLUTION

amirm

Hi Calvin,

You can try the vi-virtual-machine-list-info APIs under "virtual-infrastructure" category to get the list the VMware VMs.

Regards,

-Amir

View solution in original post

2 REPLIES 2

amirm

Hi Calvin,

You can try the vi-virtual-machine-list-info APIs under "virtual-infrastructure" category to get the list the VMware VMs.

Regards,

-Amir

View solution in original post

calving

Thanks Amir!  The vi-virtual-machine-list-info is exactly what I needed. I'm embarrassed, I was trying to find it in the 4.1 documentation. 

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public