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


Miscellaneous Operations : Degradation Operations : Get Degraded Data Persistence Rules

Get Degraded Data Persistence Rules
Description
Get information about data persistence rules containing degradation. Use parameters as selection criteria to return information for a subset of all data persistence rules with degraded data.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/degraded_data_persistence_rule[?data_policy_id={string}][&isolation_level=STANDARD|BUCKET_ISOLATED][&last_page][&page_length={32‑bit integer}][&page_offset={32‑bit integer}][&page_start_marker={string}][&state=NORMAL][&storage_domain_id={string}][&type=PERMANENT|TEMPORARY|RETIRED]
Request Parameters 
Values: STANDARD, BUCKET_ISOLATED. See isolation_level for descriptions.
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.
The state of the persistence rule. Value: NORMAL — The persistence rule is in a normal, included state.
Values: PERMANENT, RETIRED, TEMPORARY. See Type for descriptions.
Responses
Response Elements
<Data>
   <DataPersistenceRule>
      <DataPolicyId>{
string}</DataPolicyId>
      <Id>{string}</Id>
      <IsolationLevel>STANDARD|BUCKET_ISOLATED</IsolationLevel>
      <MinimumDaysToRetain>{32‑bit integer}</MinimumDaysToRetain>
      <State>NORMAL</State>
      <StorageDomainId>{string}</StorageDomainId>
      <Type>PERMANENT|TEMPORARY|RETIRED</Type>
   </DataPersistenceRule>
   ...
</Data>
where the response elements are defined as follows:
The state of the persistence rule. Value: NORMAL — The persistence rule is in a normal, included state.
Values: PERMANENT, TEMPORARY, RETIRED. See Type for descriptions.
Example
Sample Request
This request gets information about all data persistence rules with degradation.
GET http://blackpearl-hostname/_rest_/degraded_data_persistence_rule/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <DataPersistenceRule>
      <DataPolicyId>
         c71a3a94-517b-47ff-be02-4f190c74d3c6
      </DataPolicyId>
      <Id>00776a08-6ac2-4522-b2c9-c2e50102cadb</Id>
      <IsolationLevel>STANDARD</IsolationLevel>
      <MinimumDaysToRetain/>
      <State>NORMAL</State>
      <StorageDomainId>
         e3d3fb89-fdc2-440e-9607-2a32d5ca1133
      </StorageDomainId>
      <Type>PERMANENT</Type>
   </DataPersistenceRule>
   ...
</Data>