Software Development Kit (SDK) and API Discussions

Listing VMware VMs with NMSDK?

calving
3,022 Views

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
3,022 Views

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
3,023 Views

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

calving
3,022 Views

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. 

Public