Storage Pool:Get Storage Pools

Search (SHIFT+S)

API Reference


Get Storage Pools

GET /vdc/storage-pools

Gets the ids and self links for all storage pools.


Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN
  • SYSTEM_MONITOR

Response Body

A StoragePoolList reference specifying the ids and self links for the storage pools.

Field Description Type Notes
<storage_pools>
<storage_pool>     0-* Elements
<name> The name of the resource String
<id> ViPR ID of the related object URI
<link> A hyperlink to the related object
</storage_pool>      
</storage_pools>

Examples

Request
GET https://192.168.0.0:4443/vdc/storage-pools HTTP/1.1

Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK 
Content-Type: application/xml  

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
     <storage_pools>
          <storage_pool>
               <id>urn:storageos:StoragePool:63f895cd-f083-4576-a0e9-6717207716eb:</id>
               <link href="/vdc/storage-systems/urn:storageos:StorageSystem:033e2902-7fa6-4a89-b38e-1825bd801434:/storage-pools/urn:storageos:StoragePool:63f895cd-f083-4576-a0e9-6717207716eb:" rel="self"/>
               <name>SYMMETRIX+000195600235+POOL+C+0003</name>
          </storage_pool>
          <storage_pool>
               <id>urn:storageos:StoragePool:18e591aa-e390-4751-b39c-26a29137e3fb:</id>
               <link href="/vdc/storage-systems/urn:storageos:StorageSystem:ee49f2a5-a181-4b66-ac47-5f07dfa5837e:/storage-pools/urn:storageos:StoragePool:18e591aa-e390-4751-b39c-26a29137e3fb:" rel="self"/>
               <name>CLARIION+APM00121301070+POOL+C+0003</name>
          </storage_pool>
          <storage_pool>
               <id>urn:storageos:StoragePool:d1f86573-7e52-4549-b835-f33e43396e1e:</id>
               <link href="/vdc/storage-systems/urn:storageos:StorageSystem:e84ee741-6f06-4113-b028-0b0681d7e88b:/storage-pools/urn:storageos:StoragePool:d1f86573-7e52-4549-b835-f33e43396e1e:" rel="self"/>
               <name>CLARIION+APM00112300903+POOL+C+0004</name>
          </storage_pool>
          <storage_pool>
               <id>urn:storageos:StoragePool:d6b98c0c-6de5-4f6d-a074-23dab26ce693:</id>
               <link href="/vdc/storage-systems/urn:storageos:StorageSystem:515b836d-4612-468a-ae4e-f7d4efa812ac:/storage-pools/urn:storageos:StoragePool:d6b98c0c-6de5-4f6d-a074-23dab26ce693:" rel="self"/>
               <name>SYMMETRIX+000195700363+POOL+TP+UIM_EFD3</name>
          </storage_pool>
          <storage_pool>
               <id>urn:storageos:StoragePool:39f373f0-0c55-4a8c-9aff-15ec79e8cbb3:</id>
               <link href="/vdc/storage-systems/urn:storageos:StorageSystem:55e5b7e0-0813-48fb-ac17-e53680acd2b2:/storage-pools/urn:storageos:StoragePool:39f373f0-0c55-4a8c-9aff-15ec79e8cbb3:" rel="self"/>
               <name>SYMMETRIX+000198700412+POOL+TP+2M-B</name>
          </storage_pool>
     </storage_pools
Notes: