CountRetentionPolicy
Defined in: src/mft/retention.ts:23
Retention policy that retains the newest maxCount entries.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
kind | "count" | Discriminator. | src/mft/retention.ts:25 |
maxCount | number | Maximum number of entries to retain. | src/mft/retention.ts:27 |
sortBy? | "name" | "modifiedAt" | Field used to rank entries from newest to oldest. Defaults to "modifiedAt". "name" sorts lexicographically (descending). | src/mft/retention.ts:32 |