10-04-2012 12:47 AM
Solved! Go to Solution.
10-07-2012 09:45 AM
I will try to help here as much as possible as I don't have VMware environment accessible for now.
the attribute for Hot plug memory add is hotPlugMemoryLimit
for CPU I did not find called CPU add limit but there are two attributes cpuHotAddEnabled and cpuAllocation
The cpuAllocation has other sub-properties like limit that may be useful.
If you would like to use them in search so ensure that propsType is VirtualMachine and PropsPathSet is config.thepropertiesMentionedAbove like config.hotPlugMemoryLimit , config.cpuHotAddEnabled and/or config.cpuAllocation.limit
You can use the below links for reference
10-16-2012 09:18 PM
The info. u have given helps a lot.Especially the URL's u have given are very informational.thanks for your help
10-18-2012 01:12 AM
You have given me a Good info,which is very useful.But i want fetch adapter name or device name.Can u please help me on this.I am trying to use 'DeviceInfo'.But it is showing invalid property .
For freeSpace in Data store i have used info.freeSpace and for hot add limit i have used config.hotPlugMemoryLimit.how can i select info or config? or do i need select other.can u please guide me on this.
10-21-2012 01:36 PM - edited 10-21-2012 01:37 PM
You can try to use network.XXXXX
For the second section on how/why to use info. or config. on which case to use them
Note: I am not developer, I am just trying to help.
VMware management uses differnt classes to handle each aspect of the Vmeare environment like you may need to create new network vnet, or read network related details, you may need to read the free amount of space on datastore, some of those objects are interconnected like having VM that uses certain network and stored in datastore.
So that's why when you call VM attributes you may call info.something as it is related to VM info in some cases you call config.somthing which is for retriving/ or set certain configuration values.
so for example VM data object is for VM representation http://pubs.vmware.com/vsphere-50/topic/com.vmware
You can see in the 1st table under property name you will find something like guest which can be used to retrieve the VMtools version installed guest.toolsVersion or the running status of the VM by guest.gueststate
In technical way
VMWARE managed objects are many and many of their attributes are shared between them simply data object of network
The data objects like (VM, Datastore, Host etc) has attibutes stored and shared between them.
lis of VMware Manage Objects http://pubs.vmware.com/vsphere-50/topic/com.vmware