Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Get virtual servers

Retrieves virtual servers in the system.

HTTP request syntax (URI)
GET <base_URI>/v7/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.
501 No Data Server has not implemented the request operation on the resource.

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.17.11.11:8444/v7/storage/virtual-servers
Response example
HTTP/1.1 200 OK
	 {
   "virtualServers" : [
	   {
         "UUID" : "34c45abc-680f-11d1-901c-040400070206",
         "ipAddresses" : [ "192.168.48.2" ],
         "isEnabled" : true,
         "name" : "G600-440726-a",
         "objectId" : "303a3a3a4f49445f24232140255f56",
         "status" : "ONLINE",
         "type" : "Administrative services",
         "virtualServerId" : 0
      },
	   {
         "UUID" : "a0751a20-7bf6-11d2-9511-040400070206",
         "ipAddresses" : [ "172.17.59.229" ],
         "isEnabled" : true,
         "name" : "xyz11-59-229",
         "objectId" : "31313a3a3a4f49445f24232140255f56",
         "status" : "ONLINE",
         "type" : "File services",
         "virtualServerId" : 11
      }
    ]
  }

 

  • Was this article helpful?