# Module `netapp_ontap.models.snapmirror_policy_rule`

Copyright © 2022 NetApp Inc. All rights reserved.

## 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 GET POST PATCH`

    Number of Snapshot copies to be kept for retention.

    Example: 7

  `creation_schedule GET POST PATCH`

    The creation_schedule field of the snapmirror_policy_rule.

  `label GET POST PATCH`

    Snapshot copy label

    Example: hourly

  `prefix 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.