Skip navigation
VMware
Up to Discussions in vSphere SDK for Perl

Developer: vSphere SDK for Perl

Perl interface for managing VMware vSphereâ„¢
 

This Question is Answered (go to answer)

2 "helpful" answers available (6 pts)
250 Views 2 Replies Last post: Dec 10, 2009 1:18 AM by skayser RSS
skayser Enthusiast 62 posts since
Nov 19, 2009
Currently Being Moderated

Nov 19, 2009 6:57 AM

MOB equivalent to Vim::find_entity_views?

Greetings,

 

i have started using the Managed Object Browser on a vCenter 4 installation to explore the object structure of the API, but i haven't been able to find VM objects so far. Could someone kindly point me to where i can find / query VM instances in the MOB. Similar to what i would do via Vim::find_entity_views.

 

Thanks

 

Sebastian

DougBaer Expert 654 posts since
Oct 20, 2004
Currently Being Moderated
1. Dec 9, 2009 7:03 PM in response to: skayser
Re: MOB equivalent to Vim::find_entity_views?

I see that this one has been out there for awhile.  If you have not yet gotten an answer, here goes nothing!

 

From the MOB on an ESX host, go through content -> ha-folder-root -> ha-datacenter -> ha-folder-vm each of the childEntities are a VM.

 

From MOB through vCenter, it is a little more complicated due to the hierarchy possible (datacenters, resource pools, folders, etc.) In a basic environment, go through content -> group-d1 -> datacenter-21 (choose one of the childEntities) -> group-v22 (choose one of the vmFolder objects here) then browse properties named childEntity until you come to some with a value like "vm-####"

 

Does that help?

Bookmarked By (0)

Communities