Author : Svetlana Voskoboinikova
Topic Name : vSphere Storage APIs
Publication Name : vSphere Storage
Product/Version : VMware vSphere/6.7
Question :
How do I create a datastore on a vCenter(Cluster) through API?
There is no REST API coverage for datastore creation. You'll have to use the old SOAP-based API.
Did you read the API docs which are hosted on VMware {code}?
Yes, I read these docs and couldn't find anything to create one:
https://code.vmware.com/apis/358/vsphere/doc/index-do_types.html
There is no REST API coverage for datastore creation. You'll have to use the old SOAP-based API.