Module netapp_ontap.models.snapshot_snaplock
Copyright © 2024 NetApp Inc. All rights reserved.
This file has been automatically generated based on the ONTAP REST API documentation.
Classes
class SnapshotSnaplockSchema (*, only: Union[Sequence[str], Set[str]] = None, exclude: Union[Sequence[str], Set[str]] = (), many: bool = False, context: Dict = None, load_only: Union[Sequence[str], Set[str]] = (), dump_only: Union[Sequence[str], Set[str]] = (), partial: Union[bool, Sequence[str], Set[str]] = False, unknown: str = None)
-
The fields of the SnapshotSnaplock object
Ancestors
- netapp_ontap.resource.ResourceSchema
- marshmallow.schema.Schema
- marshmallow.base.SchemaABC
Class variables
-
expired: bool GET
-
Indicates whether a SnapLock Snapshot copy has expired.
Example: true
-
expiry_time: ImpreciseDateTime GET POST PATCH
-
SnapLock expiry time for the Snapshot copy, if the Snapshot copy is taken on a SnapLock volume. A Snapshot copy is not allowed to be deleted or renamed until the SnapLock ComplianceClock time goes beyond this retention time. This option can be set during Snapshot copy POST and Snapshot copy PATCH on Snapshot copy locking enabled volumes.
Example: 2019-02-04T19:00:00.000+0000
-
time_until_expiry: str GET
-
Indicates the remaining SnapLock expiry time of a locked Snapshot copy, in seconds. This field is set only when the remaining time interval is less than 136 years.
Example: PT3H27M45S