Search code examples
restvmwarevcenter

VMWare VCenter connection using REST API


We are developing an application in which we need to integrate different cloud services. We need to connect to VmWare VCenter server and should do the provisioning. Is there any Rest API calls to execute the task?

Thanks.....


Solution

  • Currently, the vSphere API is largely SOAP based. The simplest way to consume our API is via one of the existing SDKs.

    For example, you can use the Python SDK (https://github.com/vmware/pyvmomi) to perform most vSphere functions via the Python library.

    Alternatively, you can use a configuration management platform like Chef via the vSphere specific plugin. For Chef, there is a vSphere Knife: https://github.com/chef-partners/knife-vsphere

    If you tell us more about the problem you are trying to solve and the tools you are using, we can give you a more detailed answer.