Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
1 ACCEPTED SOLUTION
SuperTeam has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
3 REPLIES 3
SuperTeam has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.
