Get virtual servers
Retrieves virtual servers in the system.
HTTP request syntax (URI)
GET <base_URI>/v8/storage/virtual-servers
Return codes
Code | Data | Description |
200 | virtualServers | Array of virtual servers successfully retrieved. |
500 | Error message | Error associated with the storage system. |
Any HTTP status code other than 200 indicates that the API did not complete successfully.
Request example
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.27.146.80:8444/v8/storage/virtual-servers
Response example
HTTP/1.1 200 OK { "virtualServers": [ { "UUID": "3341825e-6a63-11d1-901c-040402000209", "ipAddresses": [ "10.97.48.2", "172.27.146.80", "2002::a61:3002" ], "isEnabled": true, "name": "G400-442029-a", "objectId": "303a3a3a3a3a3a303a3a3a4f49445f24232140255f56", "status": "ONLINE", "type": "Administrative services", "virtualServerId": 0 }, { "UUID": "1fead1a6-eedf-11d0-9004-040402000209", "ipAddresses": [ "172.27.128.81", "172.27.146.81", ], "isEnabled": true, "name": "evs1", "objectId": "313a3a3a3a3a3a303a3a3a4f49445f24232140255f56", "status": "ONLINE", "type": "File services", "virtualServerId": 1 } ] }