EMC ViPR REST API

Search (SHIFT+S)

API Reference


Get Protection Systems

GET /vdc/protection-systems

Gets the id, name, and self link for all registered protection systems.


Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN
  • SYSTEM_MONITOR

Response Body

A reference to a ProtectionSystemList.

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

Examples

Request
GET https://192.168.0.0:4443/vdc/protection-systems 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"?>
     <protection_systems>
          <protection_system>
               <id>urn:storageos:ProtectionSystem:1334de80-8efc-4c5b-951e-cf018c9e3efa:</id>
               <link href="/vdc/protection-systems/urn:storageos:ProtectionSystem:1334de80-8efc-4c5b-951e-cf018c9e3efa:" rel="self"/>
               <name>vRPA</name>
          </protection_system>
          <protection_system>
               <id>urn:storageos:ProtectionSystem:201d8d6f-547f-4c4a-8a8f-d89647c238e2:</id>
               <link href="/vdc/protection-systems/urn:storageos:ProtectionSystem:201d8d6f-547f-4c4a-8a8f-d89647c238e2:" rel="self"/>
               <name>lglw6185</name>
          </protection_system><protection_system>
               <id>urn:storageos:ProtectionSystem:83d263f1-f59d-455b-80db-b17c627427c3:</id>
               <link href="/vdc/protection-systems/urn:storageos:ProtectionSystem:83d263f1-f59d-455b-80db-b17c627427c3:" rel="self"/>
               <name>rp_protection_system</name>
          </protection_system>
     </protection_systems>