The output looks like this:
To interpret the results, an example line of the output:
[2012-03-06 09:45:23.844] [D] resourcePool:::DynamicWrapper (Instance) : \\ [VcResourcePool]-[class com.vmware.vmo.plugin.vi4.model.VimResourcePool] \\ -- VALUE : ResourcePool<resgroup-98>
The first part resourcePool is the name of the attribute.
After the ::: separator you get the object type [VcResourcePool] of this attribute, the providing class in the vCenter-Plugin of vCO,
and finally after the — separator you get the value of the attribute, in this case it’s with ResourcePool<resgroup-98> a Moref (Managed Object Reference) to the resource pool the VM is located in.
Only caveat: Just from the System.debug()-Output it’s NOT possible to see if an attribute is just a single object or an Array!
(read carefully the example again: vm.datastore (line 21) returns and Array of VcDatastores, but you cannot see this just from the output of line 22)
Always have the vSphere API Reference open in background when working with vCenter objects in vCO!