Skip to content

AutocommitPeriod

Source code in docs_src/capo_fsx/types/autocommit_period.py
class AutocommitPeriod(TypedDict, closed=True):
    type: NotRequired["capo_fsx.types.autocommit_period_type.AutocommitPeriodType"]
    """<p>Defines the type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. Setting this value to <code>NONE</code> disables autocommit. The default value is <code>NONE</code>. </p>"""
    value: NotRequired["capo_fsx.types.autocommit_period_value.AutocommitPeriodValue"]
    """<p>Defines the amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. The following ranges are valid: </p> <ul> <li> <p> <code>Minutes</code>: 5 - 65,535</p> </li> <li> <p> <code>Hours</code>: 1 - 65,535</p> </li> <li> <p> <code>Days</code>: 1 - 3,650</p> </li> <li> <p> <code>Months</code>: 1 - 120</p> </li> <li> <p> <code>Years</code>: 1 - 10</p> </li> </ul>"""

type instance-attribute

type: NotRequired[AutocommitPeriodType]

Defines the type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. Setting this value to NONE disables autocommit. The default value is NONE.

value instance-attribute

value: NotRequired[AutocommitPeriodValue]

Defines the amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. The following ranges are valid:

  • Minutes: 5 - 65,535

  • Hours: 1 - 65,535

  • Days: 1 - 3,650

  • Months: 1 - 120

  • Years: 1 - 10