Hi All,
I am using VMWare SDK 5.0 Java APIs with VCenter Server 5.0.0.
The findByUUID documentation says "Finds a virtual machine or host by BIOS or instance UUID.".
But in my case it does not seem to be able to find the Host.
service.findByUuid(serviceContent.getSearchIndex(), null, hostuuid, false, null);
This always returns null.
I tried with uppercase/lowercase for the UUID, but that did not work either.
I also tried passing the instanceUUID field as false, which also did not work.
When I tried a findByUuid through MOB, it gives me the following message
Method Invocation Result: InvalidType
NAME | TYPE | VALUE |
---|---|---|
argument | string | "vim.ManagedEntity" |
dynamicProperty | DynamicProperty[] | Unset |
dynamicType | string | Unset |
faultCause | MethodFault | Unset |
faultMessage | LocalizableMessage[] | Unset |
Any help to get to the root cause of this issue would be much appreciated.
Thanks in Advance,
Regards,
Prashant