Using the vSphere API
Before we move ahead and talk about performing various tasks using vSphere APIs, let's first see how we can utilize them to our advantage. The vSphere API reference is available at vSphere 6.0 Documentation Center (http://pubs.vmware.com/vsphere-60/index.jsp). On the documentation page, you need to go to vSphere API/SDK Documentation | vSphere Management SDK | vSphere Web Services SDK Documentation | VMware vSphere API Reference:
If you look closely, you will see that there are different types of Object categories available:
Managed Object types: This is a core data structure of the server-side object model. Instances of various managed object types are referred to generically as managed objects.
Data Object types: This is a core data structure of the server-side object model. Data objects are similar to abstract data types (in Java) and the
struct
data type (in C++). The VMware vSphere management object model uses basic object-oriented features, such as composition...