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
Request
GET https://192.168.0.0:4443/vdc/storage-pools.json HTTP/1.1
Content-Type: application/json
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/json
"storage_pool": [
{
"name": "SYMMETRIX+000195600235+POOL+C+0003",
"id": "urn:storageos:StoragePool:63f895cd-f083-4576-a0e9-6717207716eb:",
"link": {
"rel": "self",
"href": "/vdc/storage-systems/urn:storageos:StorageSystem:033e2902-7fa6-4a89-b38e-1825bd801434:/storage-pools/urn:storageos:StoragePool:63f895cd-f083-4576-a0e9-6717207716eb:"
}
},
{
"name": "CLARIION+APM00121301070+POOL+C+0003",
"id": "urn:storageos:StoragePool:18e591aa-e390-4751-b39c-26a29137e3fb:",
"link": {
"rel": "self",
"href": "/vdc/storage-systems/urn:storageos:StorageSystem:ee49f2a5-a181-4b66-ac47-5f07dfa5837e:/storage-pools/urn:storageos:StoragePool:18e591aa-e390-4751-b39c-26a29137e3fb:"
}
},
{
"name": "SYMMETRIX+000198700412+POOL+TP+6R6-A",
"id": "urn:storageos:StoragePool:61893b8b-47d3-4281-80e2-d3c8415f84c6:",
"link": {
"rel": "self",
"href": "/vdc/storage-systems/urn:storageos:StorageSystem:55e5b7e0-0813-48fb-ac17-e53680acd2b2:/storage-pools/urn:storageos:StoragePool:61893b8b-47d3-4281-80e2-d3c8415f84c6:"
}
},
{
"name": "SYMMETRIX+000195701185+POOL+C+0002",
"id": "urn:storageos:StoragePool:80c508a8-1b86-4599-9e1c-14df8036e84b:",
"link": {
"rel": "self",
"href": "/vdc/storage-systems/urn:storageos:StorageSystem:739327ca-5da1-4452-a39c-5e6d0289706f:/storage-pools/urn:storageos:StoragePool:80c508a8-1b86-4599-9e1c-14df8036e84b:"
}
},
{
"name": "SYMMETRIX+000198700420+POOL+TP+3R5-B",
"id": "urn:storageos:StoragePool:9dbacdcf-435e-4590-825d-780fa57ad12c:",
"link": {
"rel": "self",
"href": "/vdc/storage-systems/urn:storageos:StorageSystem:c532fa10-1ff4-4527-b628-50372cf609af:/storage-pools/urn:storageos:StoragePool:9dbacdcf-435e-4590-825d-780fa57ad12c:"
}
},
{
"name": "CLARIION+APM00120701245+POOL+U+Bourne Development",
"id": "urn:storageos:StoragePool:53e905a7-9b4c-4e57-9a77-f98ddb67b66e:",
"link": {
"rel": "self",
"href": "/vdc/storage-systems/urn:storageos:StorageSystem:b03f9168-a7c8-49e1-a395-9d23a9999617:/storage-pools/urn:storageos:StoragePool:53e905a7-9b4c-4e57-9a77-f98ddb67b66e:"
}
},
{
"name": "CLARIION+APM00120400480+POOL+C+0986",
"id": "urn:storageos:StoragePool:78cbdd56-e225-4af5-80e9-fb48dee69694:",
"link": {
"rel": "self",
"href": "/vdc/storage-systems/urn:storageos:StorageSystem:ed5035a8-5f72-43e8-b970-847b4d76e17c:/storage-pools/urn:storageos:StoragePool:78cbdd56-e225-4af5-80e9-fb48dee69694:"
}
},
{
"name": "SYMMETRIX+000195700363+POOL+TP+UIM_Sata1",
"id": "urn:storageos:StoragePool:99335886-f040-4c0d-84d4-f0292db19243:",
"link": {
"rel": "self",
"href": "/vdc/storage-systems/urn:storageos:StorageSystem:515b836d-4612-468a-ae4e-f7d4efa812ac:/storage-pools/urn:storageos:StoragePool:99335886-f040-4c0d-84d4-f0292db19243:"
}
}
]
}