IBM Cloud for VMware Solutions recently released a set of public APIs. These APIs allow you to use your IBM Cloud API key to perform operations such as:
- Get information about your vCenter instance, admin credentials, deployment history, clusters, and hosts
- Verify parameters for ordering a new vCenter instance, cluster, or hosts
- Order or remove a vCenter instance, cluster, or hosts
I’ve written some sample code demonstrating how you can authenticate with the IBM Cloud APIs using your API key, and how to interact with the IBM Cloud for VMware APIs. Note that these samples only perform order verification, but you can easily extend them to perform actual orders or removals.
A key use case for these APIs is to expand and contract your VMware instance based on utilization or for workload bursting scenarios. With these APIs, you can now fully automate this process.
Picture source: https://www.flickr.com/photos/149561324@N03/37719420094/