How Do I View Volumes in a VDC over an Interface Called by Running the curl Command

【Product�?
ManageOne ServiceCenter

【Version�?
3.X

【Question�?
How do I view volumes in a VDC over an interface called by running the curl command?

【Answer�?
Example of viewing all volumes in a VDC over an interface:
curl -i -k -X POST 'https://192.168.51.14:543/goku/rest/v1.5/8c428de14e8a473c81651359f8780de5/volumes/action?cloud-infra=37' -H "User-Agent:HttpClient" -H "Content-Type:application/json" -H "Accept:application/json" -H "X-Auth-User-ID:3a526aa3134348ba9b8b00613e165eed" -H "X-HW-Cloud-Auth-Token:d2NjX2NyeXB0ATQxNDU1MzVGNDM0MjQzOzM4MzEzMTMzMzU0MzQ0MzA0MjQxNDIzNDMxNDUzODQ0MzIzMTQzMzYzNzMxMzQzMzMzMzMzMzM1MzQzODMwMzE7OzMxMzAzMDMwOzVDNjc4NDY3RUU5MzNDOUM0QzBCNDkzQTgwRENFRUZGO0U4OUU2ODYwMUU5M0UzNUI7" -d '{"list":{"start":null,"limit":10}}'
The following parameters may vary depending on the site planning:

[8c428de14e8a473c81651359f8780de5 indicates the VDC ID. X-Auth-User-ID indicates the user ID. The long string after X-HW-Cloud-Auth-Token indicates the token ID.]

----End

Scroll to top