Skip to main content

We've Moved!

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

Get storage pools

Retrieves storage pools on the storage system.

HTTP request syntax (URI)
GET <base_URI>/v7/storage/storage-pools
Return codes
Code Data Description
200 storagePool Array of storage pools retrieved successfully.
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/storage-pools
Response example
HTTP/1.1 200 OK
{
   "storagePools" : 
    [
      {
         "chunkSize" : 19327352832,
         "freeCapacity" : 21458059264,
         "isAssignedToLocalCluster" : true,
         "isFilesystemExpansionAllowed" : true,
         "isHealthy" : true,
         "isTiered" : false,
         "label" : "xyz-uneven-lun-SP-test",
         "objectId" : "3530363333333637393931343133373639393a3a3a",
         "storagePoolId" : 506333679914137699,
         "totalCapacity" : 21458059264,
         "usedCapacity" : 0
      },
      {
         "chunkSize" : 1073741824,
         "freeCapacity" : 8455716864,
         "isAssignedToLocalCluster" : true,
         "isFilesystemExpansionAllowed" : true,
         "isHealthy" : true,
         "isTiered" : false,
         "label" : "test-sanjeev",
         "objectId" : "3530353731333035393837383639393232353a3a3a",
         "storagePoolId" : 505713059878699225,
         "totalCapacity" : 85882568704,
         "usedCapacity" : 77426851840
      }   
   ]
}

 

  • Was this article helpful?