Module Values.AutocommitPeriodSource

Sets the autocommit period of files in an FSx for ONTAP SnapLock volume, which determines how long the files must remain unmodified before they're automatically transitioned to the write once, read many (WORM) state. For more information, see Autocommit.

Sourcetype nonrec t = {
  1. type_ : AutocommitPeriodType.t;
    (*

    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.

    *)
  2. value : AutocommitPeriodValue.t option;
    (*

    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

    *)
}
Sourceval context_ : string
Sourceval make : ?value:??? -> type_:AutocommitPeriodType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of AutocommitPeriodValue.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t