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


Advanced Bucket Management Operations : Data Policy Operations : Modify DS3 Data Replication Rule

Modify DS3 Data Replication Rule
Description
Modify a DS3 data replication rule for a data policy.
Note:
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/ds3_data_replication_rule/{data replication rule UUID or other unique attribute}[replicate_deletes=TRUE|FALSE][?target_data_policy={text}][&type=PERMANENT|RETIRED]
Request Parameters 
TRUE (default) — Any delete received locally always replicates on the Azure target. If the local BlackPearl system cannot communicate with one or more targets, the delete fails.
FALSE— Any deletes received locally do not replicate to the target.
§
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.
Responses
Response Elements
<Data>
   <DataPolicyId>{
string}</DataPolicyId>
   <Id>{string}</Id>
   <ReplicateDeletes>TRUE|FALSE</ReplicateDeletes>
   <State>NORMAL</State>
   <TargetDataPolicy>{string}</TargetDataPolicy>
   <TargetId>{string}</TargetId>
   <Type>PERMANENT|RETIRED</Type>
</Data>
where the response elements are defined as follows:
Values: TRUE, FALSE
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 retires the DS3 replication rule with the UUID 34dde4ff-8603-4c44-b0e9-39150f9cc3ad.
POST http://blackpearl-hostname/_rest_/ds3_data_replication_rule/34dde4ff-8603-4c44-b0e9-39150f9cc3ad?type=RETIRED HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <DataPolicyId>
      88832b42-731e-4a82-be8d-3d787117ca7d
   </DataPolicyId>
   <Id>34dde4ff-8603-4c44-b0e9-39150f9cc3ad</Id>
   <ReplicateDeletes>TRUE</ReplicateDeletes>
   <State>NORMAL</State>
   <TargetDataPolicy/>
   <TargetId>e4858769-57e0-4f34-a2d0-3f7ad57aa80f</TargetId>
   <Type>RETIRED</Type>
</Data>