I am trying to use the VMware Converter Standalone 5.0 SDK API, to automate the calling of the Converter from our software product.
The problem is that there is not much documentation to go on. Sure, the SDK doc has a list of all of the huge amount of objects that are available to the SDK, but I have not found anything that tells how to put them all together. And unfortunately, the sample Java program that comes with the SDK is extremely minimal, and isn't enough for us to execute in the test environment we have.
For instance, here is one of the issues I am running into. We need to set the cluster where a target VM will be created, the datastore that it will use, and the folder where it will be stored. After much searching through the SDK objects, it seems that I need to create a 'ComputeResource', to store in the 'ConverterTargetVmSpecManagedVmLocation' object's 'computeResource' field. However, there is no such thing as a 'ComputeResource' object. According to the doc for that object, I have to run the task 'AddStandaloneHost_Task', and the response from that task is an object which contains other objects which contain the object I need. But that's not a Java method, so I have no idea what that is, or how to use it. My searches on your web page have not helped to understand how to do this.
Is there a more robust example of using the API that goes into more detail? Is there some example of using the 'ComputeResource' and 'AddStandaloneHost_Task' objects/methods?