Hi,
Thank you for the help.
var vms = rpool.vm;
The above helps in retrieving the list of VM in the resource pool. But this parameter is not listing the VM's under the nested repool or the VM's in the vApp.
For example:-
I have resource pool which contains only one vApp, the vApp contains two VM's. the rpool.vm is not able to display the vm's information.
Thank you in advance for the help.