I am looking to use the vmname to get the details of a vm without having to generate a subclient.
Essentially I need the
API equivalent of this :

When I click preview it searches vcenter, I want the query generated and the output of that search.
Thanks.