replicationCollisionSettings
The replicationCollisionSettings
data type describes the replicationCollisionSettings
resource for namespaces.
Properties
The table below describes the properties included in the replicationCollisionSettings
data type.
Property | Data type | Description | Notes |
action | String |
Specifies how HCP should handle objects flagged as replication collisions. Valid values are:
These values are not case sensitive. The default is MOVE. | |
deleteDays | Integer | Specifies the number of days objects flagged as replication collisions must remain in the namespace before they are automatically deleted. Valid values are integers in the range zero through 36,500 (that is, 100 years). A value of zero means delete immediately. | This property is required on a POST request when the value of the deleteEnabled property is true. It is invalid on a POST request when the value of the deleteEnabled property is false. |
deleteEnabled | Boolean |
Specifies whether HCP should automatically delete objects flagged as replication collisions. Valid values are:
|
Example
Here’s an XML example of the replicationCollisionSettings
data type property:
<replicationCollisionSettings> <action>MOVE</action> <deleteDays>10</deleteDays> <deleteEnabled>true</deleteEnabled> </replicationCollisionSettings>