Spectra Logic
1-800-833-1132 : 1-303-449-6400


Notification Operations : Notification Operations : Get Storage Domain Failure Notification Registrations

Get Storage Domain Failure Notification Registrations
Description
Get a list of all storage domain failure notification registrations.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/storage_domain_failure_notification_registration[?last_page][&page_length={32‑bit integer}][&page_offset={32‑bit integer}][&page_start_marker={string}][&user_id={string}]
Request Parameters
Notes:  
§
Specifying both page_offset and page_start_marker causes an error.
§
If neither page_offset, nor page_start_marker are specified, the page_offset default is used.
a.
Responses
Response Elements
<Data>
   <StorageDomainFailureNotificationRegistration>
      <CreationDate>{
YYYY-MM-DDThh:mm:ss.xxxZ}</CreationDate>
      <Format>DEFAULT|JSON|XML</Format>
      <Id>{string}</Id>
      <LastFailure>{string}</LastFailure>
      <LastHttpResponseCode>
         {32‑bit integer}
      </LastHttpResponseCode>
      <LastNotification>
         {YYYY-MM-DDThh:mm:ss.xxxZ}
      </LastNotification>
      <NamingConvention>
         CONCAT_LOWERCASE|CONSTANT|UNDERSCORED|
         CAMEL_CASE_WITH_FIRST_LETTER_UPPERCASE|
         CAMEL_CASE_WITH_FIRST_LETTER_LOWERCASE
      </NamingConvention>
      <NotificationEndPoint>{
string}</NotificationEndPoint>
      <NotificationHttpMethod>POST|PUT</NotificationHttpMethod>
      <NumberOfFailuresSinceLastSuccess>
         {32‑bit integer}
      </NumberOfFailuresSinceLastSuccess>
      <UserId>{string}</UserId>
   </StorageDomainFailureNotificationRegistration>
   ...
</Data>
where the response elements are defined as follows:
The scheme used for naming within the notification sent. Values: CONCAT_LOWERCASE, CONSTANT, UNDERSCORED, CAMEL_CASE_WITH_FIRST_LETTER_UPPERCASE, CAMEL_CASE_WITH_FIRST_LETTER_LOWERCASE
Example
Sample Request
This request gets information about all storage domain failure notification registrations.
GET http://blackpearl-hostname/_rest_/storage_domain_failure_notification_registration/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <StorageDomainFailureNotificationRegistration>
      <CreationDate>2014-10-16T18:33:56.026Z</CreationDate>
      <Format>DEFAULT</Format>
      <Id>ec3bfb0a-c788-4fbf-a6aa-12c1c70319d6</Id>
      <LastFailure/>
      <LastHttpResponseCode/>
      <LastNotification/>
      <NamingConvention>
         CAMEL_CASE_WITH_FIRST_LETTER_UPPERCASE
      </NamingConvention>
      <NotificationEndPoint>
         Spectra-S3-client-hostname
      </NotificationEndPoint>
      <NotificationHttpMethod>POST</NotificationHttpMethod>
      <NumberOfFailuresSinceLastSuccess>
         0
      </NumberOfFailuresSinceLastSuccess>
      <UserId>cf2918f1-100d-4448-91fe-60dfbb1abe10</UserId>
   </StorageDomainFailureNotificationRegistration>
   ...
</Data>