The vSphere Web Services SDK is the most comprehensive of the available management APIs. The SDK works with both ESXi and vCenter Server systems.
The Web Services SDK is language neutral. It includes stubs and examples for Java and a comprehensive documentation set including an API Reference generated from the source.