How Do I Mount a ServiceCenter Cloud Hard Disk over an Interface Called by Running the curl Command

【Product�?
ManageOne ServiceCenter

【Version�?
3.X

【Question�?
How do I mount a ServiceCenter cloud hard disk over an interface called by running the curl command?

【Answer�?
Example of mounting a cloud hard disk over an interface:
curl -i -k -X POST 'https://192.168.51.14:543/goku/rest/v1.5/8c428de14e8a473c81651359f8780de5/volumes/b9e96968-38f2-48ce-ba76-6d802b6d2af7/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:d2NjX2NyeXB0ATQxNDU1MzVGNDM0MjQzOzM3MzYzMzQ1NDYzMjMxNDY0MjM1MzYzMTQxMzU0MzQ1MzYzMzM0MzczNTQ2NDEzMjM4MzgzNzQ2Mzk0MTMwNDM7OzMxMzAzMDMwOzE1OTg3QzNDNTRDNkYwQkY4QjE3OTVGNDBDREZDNkFGOzQzRTRDQjFENzlGRjI4QkU7" -d '{"mount":{"vmId":"ae873bbb-1d04-485e-81df-e55dab0a4f01"}}'

[8c428de14e8a473c81651359f8780de5 indicates the VDC ID. b9e96968-38f2-48ce-ba76-6d802b6d2af7 indicates the cloud hard disk ID. vmId (eg:ae873bbb-1d04-485e-81df-e55dab0a4f01) indicates the VM ID.]

----End

Scroll to top