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


Miscellaneous Operations : Degradation Operations : Get Degraded Azure Replication Rules

Get Degraded Azure Replication Rules
Description
Get information about Azure replication rules containing degradation. Use parameters as selection criteria to return information for a subset of all Azure data replication rules with degraded data.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/degraded_azure_data_replication_rule[?data_policy_id={string}][&last_page][&page_length={32‑bit integer}][&page_offset={32‑bit integer}][&page_start_marker={string}][&state=NORMAL|INCLUSION_IN_PROGRESS][&target_id={string}][&type=PERMANENT|RETIRED]
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.
§
NORMAL — The replication rule is in a normal, included state.
§
INCLUSION_IN_PROGRESS — The replication rule is being applied and data replication is required before the replication rule is in a normal, fully included state.
§
PERMANENT — A copy of the data is maintained on the target.
§
RETIRED — A copy of already replicated data is maintained, but the rule is not applied to new data.
Responses
Response Elements
<Data>
   <AzureDataReplicationRule>
      <DataPolicyId>{
string}</DataPolicyId>
      <Id>{string}</Id>
      <MaxBlobPartSizeInBytes>
        {
64-bit integer}
      </MaxBlobPartSizeInBytes>
      <State>NORMAL|INCLSUION_IN_PROGRESS</State>
      <TargetId>{string}</TargetId>
      <Type>PERMANENT|RETIRED</Type>
   </AzureDataReplicationRule>
</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.
§
PERMANENT — A copy of the data is replicated to the target.
§
RETIRED — A copy of already replicated data is maintained, but the rule is not applied to new data.
Example
Sample Request
This request gets information about all Azure data replication rules with degradation.
GET http://blackpearl-hostname/_rest_/degraded_azure_data_replication_rule/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <AzureDataReplicationRule>
      <DataPolicyId>
         3f934efd-ecc3-43ff-b802-0c21e19e28ec
      </DataPolicyId>
      <Id>4f4a1d7b-6325-4a0b-aeb7-868500ec81c0</Id>
      <MaxBlobPartSizeInBytes>1073741824</MaxBlobPartSizeInBytes>
      <State>NORMAL</State>
      <TargetDataPolicy/>
      <TargetId>
         b82d4784-509f-46e8-bdb0-e7e4a716bc75
      </TargetId>
      <Type>PERMANENT</Type>
   </AzureDataReplicationRule>
</Data>