Highlighted
1 Copper

REST call for find-unmapped-volumes

Hi All,

I'm trying to query a VPLEX cluster for unmapped volumes using a REST Post in Powershell, but getting a 523 syntax error. Would anyone know what's not right about this below? 

Invoke-RestMethod -Uri https://<ip_addr>/vplex/export+storage-view+find-unmapped-volumes -Headers @{'Username' = 'user'; 'Password' = 'password'} -Method Post

Vplex version 5.5.2

 

Thanks

Jonathan

Labels (2)
0 Kudos
Reply
1 Reply
Highlighted
3 Argentum

What are the odds that you can update to 6.2? The API has gotten much easier as we released v2 of our API. To get what you want you can run

https://<IP of VPLEX>/vplex/v2/clusters/<cluster-number>/storage_arrays/<storageArrayName>/name_mapping

0 Kudos
Reply