Module netapp_ontap.models.log_retention
Copyright © 2019 NetApp Inc. All rights reserved.
Classes
class LogRetentionSchema (only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)
-
The fields of the LogRetention object
Ancestors
- netapp_ontap.resource.ResourceSchema
- marshmallow.schema.Schema
- marshmallow.schema.BaseSchema
- marshmallow.base.SchemaABC
Class variables
var count
-
Determines how many audit log files to retain before rotating the oldest log file out. This is mutually exclusive with duration.
var duration
-
Specifies an ISO-8601 format date and time to retain the audit log file. The audit log files are deleted once they reach the specified date/time. This is mutually exclusive with count.
Example: P4DT12H30M5S
var opts
Instance variables
var patchable_fields
-
Only fields in this list will be considered when patching a resource
var postable_fields
-
Only fields in this list will be considered when posting a resource