Skip to content

RetentionArchiveTier

Source code in docs_src/capo_dlm/types/retention_archive_tier.py
class RetentionArchiveTier(TypedDict, closed=True):
    count: NotRequired["capo_dlm.types.count.Count"]
    """<p>The maximum number of snapshots to retain in the archive storage tier for each volume. The count must ensure that each snapshot remains in the archive tier for at least 90 days. For example, if the schedule creates snapshots every 30 days, you must specify a count of 3 or more to ensure that each snapshot is archived for at least 90 days.</p>"""
    interval: NotRequired["capo_dlm.types.interval.Interval"]
    """<p>Specifies the period of time to retain snapshots in the archive tier. After this period expires, the snapshot is permanently deleted.</p>"""
    interval_unit: NotRequired[
        "capo_dlm.types.retention_interval_unit_values.RetentionIntervalUnitValues"
    ]
    """<p>The unit of time in which to measure the <b>Interval</b>. For example, to retain a snapshots in the archive tier for 6 months, specify <code>Interval=6</code> and <code>IntervalUnit=MONTHS</code>.</p>"""

count instance-attribute

count: NotRequired[Count]

The maximum number of snapshots to retain in the archive storage tier for each volume. The count must ensure that each snapshot remains in the archive tier for at least 90 days. For example, if the schedule creates snapshots every 30 days, you must specify a count of 3 or more to ensure that each snapshot is archived for at least 90 days.

interval instance-attribute

interval: NotRequired[Interval]

Specifies the period of time to retain snapshots in the archive tier. After this period expires, the snapshot is permanently deleted.

interval_unit instance-attribute

interval_unit: NotRequired[RetentionIntervalUnitValues]

The unit of time in which to measure the Interval. For example, to retain a snapshots in the archive tier for 6 months, specify Interval=6 and IntervalUnit=MONTHS.