How Do I View Volumes Mounted to a ServiceCenter VM over an Interface Called by Running the curl Command

【Product�?
ManageOne ServiceCenter

【Version�?
3.X

【Question�?
How do I view volumes mounted to a ServiceCenter VM over an interface called by running the curl command?

【Answer�?
Example of viewing the volumes mounted to a VM over an interface:
curl -i -k -X GET 'https://192.168.51.14:543/goku/rest/v1.5/8c428de14e8a473c81651359f8780de5/vms/d8c31d9d-fd34-49e4-ab74-6071985b887b?cloud-infra=37&detailLevel=7' -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 '{"cloud-infra":"37","detailLevel":"7"}'

[8c428de14e8a473c81651359f8780de5 indicates the VDC ID. d8c31d9d-fd34-49e4-ab74-6071985b887b indicates the VM ID. 3a526aa3134348ba9b8b00613e165eed indicates the account ID. The long string after X-HW-Cloud-Auth-Token is the token ID.]

----End

Scroll to top