bseltz-cohesity / scripts

Cohesity REST API examples in PowerShell and Python
Apache License 2.0
102 stars 40 forks source link

Request for additional parameters for replicationQueue #135

Closed nwageler closed 10 months ago

nwageler commented 10 months ago

In times where we have a heavy replication backlog we may need to cancel more than just outdated replication tasks, but not the entire queue. Adding some more parameters may help save some steps preventing us from needing to cancel the entire queue and then using ReplicateOldSnapshots to requeue the tasks we wanted to keep.

Would it be possible to add parameters similar to the ArchiveOldSnapshots and ReplicateOldSnapshots:

-ifExpiringAfter -olderThan -newerThan

Also would it be possible to add a preview (test) mode similar to "-archive" and "-replicate" parameters in ArchiveOldSnapshots and ReplicateOldSnapshots?

Thanks!!

bseltz-cohesity commented 10 months ago

OK I have added the following parameters: