Module netapp_ontap.models.snaplock_log_file

Copyright © 2023 NetApp Inc. All rights reserved.

This file has been automatically generated based on the ONTAP REST API documentation.

Classes

class SnaplockLogFileSchema (*, 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 SnaplockLogFile object

Ancestors

  • netapp_ontap.resource.ResourceSchema
  • marshmallow.schema.Schema
  • marshmallow.base.SchemaABC

Class variables

archive: bool PATCH

Archive the specified SnapLock log file for the given base_name, and create a new log file. If base_name is not mentioned, archive all log files.

base_name: str GET POST PATCH

Base name of log file

Valid choices:

  • legal_hold
  • privileged_delete
  • system
expiry_time: ImpreciseDateTime GET

Expiry time of the log file in date-time format. Value '9999-12-31T00:00:00Z' indicates infinite expiry time.

Example: 2058-06-04T19:00:00.000+0000

The links field of the snaplock_log_file.

path: str GET

Absolute path of the log file in the volume

Example: /snaplock_log/system_logs/20180822_005947_GMT-present

size: Size GET

Size of the log file in bytes

Example: 20000