NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Software Development Kit (SDK) and API Discussions

Listing VMware VMs with NMSDK?

calving
4,032 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
4,032 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
4,033 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
4,032 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