VMware Solutions Discussions
VMware Solutions Discussions
Hi,
Is there a CLI or an API interface for ONTAP tools (especially the VSC part of allocating storage + creating datastores) in order to automate the process for the creation of tens and hundreds of datastores for migration purposes?
I couldn't find anything the documentations.
Thanks!
Solved! See The Solution
Hi,
Did you try checking the Swagger UI? https://<%vsc%>:<%port_number%>/api/rest/swagger-ui.html#
I developed a wrapper around the VSC REST API in PowerShell, perhaps this code might help you? You can use this function to add datastores.
/Matt
Hi,
Did you try checking the Swagger UI? https://<%vsc%>:<%port_number%>/api/rest/swagger-ui.html#
I developed a wrapper around the VSC REST API in PowerShell, perhaps this code might help you? You can use this function to add datastores.
/Matt
Thank you very much
@mbeattie nailed it in the previous post.
I just wanted to add that there is a shortcut to the swagger UI on the getting started page in the newer releases. It will be towards the bottom.