How Do I Unmount a Cloud Hard Disk over an Interface on the ServiceCenter Server

【Product�?
ManageOne ServiceCenter

【Version�?
3.X

【Question�?
How do I unmount a cloud hard disk over an interface on the ServiceCetner server?

【Answer�?
Example curl command of unmounting 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:d2NjX2NyeXB0ATQxNDU1MzVGNDM0MjQzOzQ1MzkzOTQ0NDQ0NDM5NDQzODMzMzk0NTM2MzY0NjQ0MzgzMTQxMzAzODM5MzYzODM1NDIzNDMyMzI0MjQ2Mzk7OzMxMzAzMDMwO0Q1RUVBRUUwRjU2Nzg2QTM3Q0ZBRkI3QkIwNTBEQUQwOzgzNzFBNzlENjM4OUZERkM7" -d '{"unmount":{"vmId":"d8c31d9d-fd34-49e4-ab74-6071985b887b"}}'
The following parameters may vary depending on the site planning:
In the URL:
[8c428de14e8a473c81651359f8780de5 indicates the VDC ID.
vmID indicates the VM ID.
b9e96968-38f2-48ce-ba76-6d802b6d2af7 indicates the ID of the cloud hard disk to be unmounted.
X-Auth-User-ID indicates the user ID.
The long string after X-HW-Cloud-Auth-Token indicates the token ID.
d8c31d9d-fd34-49e4-ab74-6071985b887b indicates ID of the VM where the cloud hard disk is to be unmounted.

----End

Scroll to top