Module netapp_ontap.models.container_volume_snaplock
Copyright © 2026 NetApp Inc. All rights reserved.
This file has been automatically generated based on the ONTAP REST API documentation.
Classes
class ContainerVolumeSnaplockSchema (*, only: types.StrSequenceOrSet | None = None, exclude: types.StrSequenceOrSet = (), many: bool | None = None, context: dict | None = None, load_only: types.StrSequenceOrSet = (), dump_only: types.StrSequenceOrSet = (), partial: bool | types.StrSequenceOrSet | None = None, unknown: str | None = None)-
The fields of the ContainerVolumeSnaplock object
Ancestors
- netapp_ontap.resource.ResourceSchema
- marshmallow.schema.Schema
- marshmallow.base.SchemaABC
- abc.ABC
Class variables
-
append_mode_enabled: bool GET POST PATCH -
Specifies if the volume append mode is enabled or disabled. When it is enabled, all the files created with write permissions on the volume are, by default, WORM appendable files. The user can append the data to a WORM appendable file but cannot modify the existing contents of the file nor delete the file until it expires.
Example: false
-
autocommit_period: str GET POST PATCH -
Specifies the autocommit period for SnapLock volume. All files which are not modified for a period greater than the autocommit period of the volume are committed to the WORM state. The autocommit period value represents a duration and must be specified in the ISO-8601 duration format. The autocommit period can be in years, months, days, hours, and minutes. A period specified for years, months, and days is represented in the ISO-8601 format as "P
Y", "P M", "P D" respectively, for example "P10Y" represents a duration of 10 years. A duration in hours and minutes is represented by "PT H" and "PT M" respectively. The period string must contain only a single time element that is, either years, months, days, hours, or minutes. A duration which combines different periods is not supported, for example "P1Y10M" is not supported. Apart from the duration specified in the ISO-8601 format, the autocommit field also accepts the string "none". Example: P30M
-
retention: VolumeSnaplockRetention GET POST PATCH -
The retention field of the container_volume_snaplock.
-
type: str GET POST -
The SnapLock type of the volume.
compliance ‐ A SnapLock Compliance(SLC) volume provides the highest level of WORM protection and an administrator cannot destroy a SLC volume if it contains unexpired WORM files.
enterprise ‐ An administrator can delete a SnapLock Enterprise(SLE) volume.
non_snaplock ‐ Indicates the volume is non-snaplock.Valid choices:
- compliance
- enterprise
- non_snaplock