replicationCollisionSettings

The replicationCollisionSettings data type describes the replicationCollisionSettings resource for namespaces.

Properties

The table below describes the properties included in the replicationCollisionSettings data type.

PropertyData typeDescriptionNotes
actionString

Specifies how HCP should handle objects flagged as replication collisions. Valid values are:

  • MOVE

    Move the object to the .lost+found directory in the same namespace.

  • RENAME

    Rename the object in place.

    When renaming an object, HCP changes the object name to object-name.collision.

These values are not case sensitive.

The default is MOVE.

deleteDaysIntegerSpecifies 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.
deleteEnabledBoolean

Specifies whether HCP should automatically delete objects flagged as replication collisions. Valid values are:

  • true

    Automatically delete objects flagged as replication collisions after the number of days specified by the deleteDays property.

  • false

    Do not automatically delete objects flagged as replication collisions.

Example

Here’s an XML example of the replicationCollisionSettings data type property:

<replicationCollisionSettings>
    <action>MOVE</action>
    <deleteDays>10</deleteDays>
    <deleteEnabled>true</deleteEnabled>
</replicationCollisionSettings>