Module netapp_ontap.models.rotation

Copyright © 2023 NetApp Inc. All rights reserved.

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

Classes

class RotationSchema (*, 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 Rotation object

Ancestors

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

Class variables

now: bool PATCH

Manually rotates the audit logs. Optional in PATCH only. Not available in POST.

schedule: AuditSchedule GET POST PATCH

The schedule field of the rotation.

size: Size GET POST PATCH

Rotates logs based on log size in bytes.