Skip to content

SnaplockRetentionPeriod

Source code in docs_src/capo_fsx/types/snaplock_retention_period.py
class SnaplockRetentionPeriod(TypedDict, closed=True):
    default_retention: NotRequired["capo_fsx.types.retention_period.RetentionPeriod"]
    """<p>The retention period assigned to a write once, read many (WORM) file by default if an explicit retention period is not set for an FSx for ONTAP SnapLock volume. The default retention period must be greater than or equal to the minimum retention period and less than or equal to the maximum retention period. </p>"""
    minimum_retention: NotRequired["capo_fsx.types.retention_period.RetentionPeriod"]
    """<p>The shortest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume. </p>"""
    maximum_retention: NotRequired["capo_fsx.types.retention_period.RetentionPeriod"]
    """<p>The longest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume. </p>"""

default_retention instance-attribute

default_retention: NotRequired[RetentionPeriod]

The retention period assigned to a write once, read many (WORM) file by default if an explicit retention period is not set for an FSx for ONTAP SnapLock volume. The default retention period must be greater than or equal to the minimum retention period and less than or equal to the maximum retention period.

maximum_retention instance-attribute

maximum_retention: NotRequired[RetentionPeriod]

The longest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume.

minimum_retention instance-attribute

minimum_retention: NotRequired[RetentionPeriod]

The shortest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume.