Storage Pool:Get Storage Pool Resources

Search (SHIFT+S)

API Reference


Get Storage Pool Resources

GET /vdc/storage-pools/{id}/resources

Retrieves the id, name, and type of the resources in the registered storage pool. with the passed id.

idthe URN of a ViPR storage pool.

Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN
  • SYSTEM_MONITOR

Response Body

A list of the resources in the storage pool.

Field Description Type Notes
<storage_resources>
<storage_resource> List of volumes and file shares created from this storage pool 0-* Elements
</storage_resources>

Examples

Request
GET https://192.168.0.0:4443/vdc/storage-pools/urn:storageos:StoragePool:62171f79-2e6d-47db-b303-32c856062c29:/resources 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_resources>
  <storage_resource>
    <id>urn:storageos:FileShare:9a17f2b0-6b36-4f69-8655-2ba33199b957:</id>
    <link href="/file/filesystems/urn:storageos:FileShare:9a17f2b0-6b36-4f69-8655-2ba33199b957:" rel="self"/>
    <name>fs-cosisi-00:50:56:91:61:C8</name>
    <resource_type>fileshare</resource_type>
  </storage_resource>
</storage_resources>
Notes: