5 Easy Steps Using vSphere Java API
March 4th, 2010
No comments
In my previous blogs, I have introduced the vSphere API object model, vSphere Java API architecture. I assume you’ve run through the 5 minute Getting Started Tutorials with HelloWorld sample.
Now, let’s take a look on how to use the API in general.
1. Always starts with a ServiceInstance with URL/username/password, or URL/sessionID. For example,
ServiceInstance si = new ServiceInstance(new URL(urlStr), username, password, true);
2. From the ServiceInstance object, you can:
Recent Comments