Module netapp_ontap.models.snapmirror_policy_rule
Copyright © 2022 NetApp Inc. All rights reserved.
This file has been automatically generated based on the ONTAP REST API documentation.
Classes
class SnapmirrorPolicyRuleSchema (*, 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 SnapmirrorPolicyRule object
Ancestors
- netapp_ontap.resource.ResourceSchema
- marshmallow.schema.Schema
- marshmallow.base.SchemaABC
Class variables
-
count: Size GET POST PATCH
-
Number of Snapshot copies to be kept for retention.
Example: 7
-
creation_schedule: Schedule GET POST PATCH
-
The creation_schedule field of the snapmirror_policy_rule.
-
label: str GET POST PATCH
-
Snapshot copy label
Example: hourly
-
period: str GET POST PATCH
-
Specifies the duration for which the Snapshot copies are locked. The retention period value represents a duration and must be in the ISO-8601 duration format. Years, months, days, hours, minutes, and seconds are represented as "P
Y","P M","P D","PT H","PT M" and "PT S". Value "infinite" is also a valid input for Flexvol volumes and FlexGroup volumes. A duration which combines different periods is not supported, for example "P1Y10M" is not supported. The range of supported retention period values is between 1 second to infinite. Example: P30D
-
prefix: str GET POST PATCH
-
Specifies the prefix for the Snapshot copy name to be created as per the schedule. If no value is specified, then the label is used as the prefix.