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


Notification Operations : Notification Operations : Get Azure Target Failure Notification Registrations

Get Azure Target Failure Notification Registrations
Description
Get a list of all Azure target failure notification registrations.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/azure_target_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>
   <AzureTargetFailureNotificationRegistration>
      <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>
   </AzureTargetFailureNotificationRegistration>
   ...
</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 Azure target failure notification registrations.
GET http://blackpearl-hostname/_rest_/azure_target_failure_notification_registration/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <AzureTargetFailureNotificationRegistration>
     <CreationDate>2017-02-22T00:50:59.000Z</CreationDate>
     <Format>DEFAULT</Format>
     <Id>4f1b3f59-b3e6-452f-8c52-207d380047cb</Id>
     <LastFailure/>
     <LastHttpResponseCode/>
     <LastNotification/>
     <NamingConvention>
        CAMEL_CASE_WITH_FIRST_LETTER_UPPERCASE
     </NamingConvention>
     <NotificationEndPoint>a</NotificationEndPoint>
     <NotificationHttpMethod>POST</NotificationHttpMethod>
     <NumberOfFailuresSinceLastSuccess>
        0
     </NumberOfFailuresSinceLastSuccess>
     <UserId>5c9ec971-11af-48cf-a348-21e30bc5c22b</UserId>
   </AzureTargetFailureNotificationRegistration>
   <AzureTargetFailureNotificationRegistration>
     <CreationDate>2017-02-22T00:50:59.000Z</CreationDate>
     <Format>DEFAULT</Format>
     <Id>0759cc0d-92f0-45e0-bad9-f9b664495881</Id>
     <LastFailure/>
     <LastHttpResponseCode/>
     <LastNotification/>
     <NamingConvention>
        CAMEL_CASE_WITH_FIRST_LETTER_UPPERCASE
     </NamingConvention>
     <NotificationEndPoint>b</NotificationEndPoint>
     <NotificationHttpMethod>POST</NotificationHttpMethod>
     <NumberOfFailuresSinceLastSuccess>
        0
     </NumberOfFailuresSinceLastSuccess>
     <UserId>5c9ec971-11af-48cf-a348-21e30bc5c22b</UserId>
   </AzureTargetFailureNotificationRegistration>
</Data>