EMC ViPR REST API

Search (SHIFT+S)

API Reference


Get Available Attributes

GET /vdc/varrays/{id}/available-attributes

Finds the available attributes & its values in a varray. Ex: In a varray, if a system supports raid_levels such as RAID1, RAID2 then this API call provides the supported information.

idthe URN of a ViPR VirtualArray.

Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN
  • SYSTEM_MONITOR

Response Body

List available attributes for VirutalArray

Field Description Type Notes
<available_attributes>
<attribute>     0-* Elements
<name> The attribute name. String
<values>
<value> String 0-* Elements
</values>
</attribute>      
<virtual_array> ID of the VArray for this Attributes URI
</available_attributes>

Examples

Request
GET https://192.168.0.0:4443/vdc/varrays/urn:storageos:VirtualArray:05b2ed06-064a-4869-835e-5d2e002868fe:/available-attributes 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"?>
<available_attributes>
  <attribute>
    <values>
      <value>isilon</value>
    </values>
    <name>system_type</name>
  </attribute>
  <attribute>
    <values>
      <value>CIFS</value>
      <value>NFS</value>
    </values>
    <name>protocols</name>
  </attribute>
</available_attributes>