Skip to content

SnapmirrorPolicyRetentionRule

Source code in docs_src/capo_fsx/types/snapmirror_policy_retention_rule.py
class SnapmirrorPolicyRetentionRule(TypedDict, closed=True):
    label: NotRequired["capo_fsx.types.snapmirror_label.SnapmirrorLabel"]
    """<p>The SnapMirror label of the snapshots that the rule applies to.</p>"""
    count: NotRequired[
        "capo_fsx.types.snapmirror_policy_retention_count.SnapmirrorPolicyRetentionCount"
    ]
    """<p>The number of snapshots with the label to retain on the destination volume.</p>"""
    creation_schedule: NotRequired[
        "capo_fsx.types.snapmirror_policy_creation_schedule_name.SnapmirrorPolicyCreationScheduleName"
    ]
    """<p>The name of the ONTAP schedule on which SnapMirror creates snapshots with the label directly on the destination volume.</p>"""

count instance-attribute

count: NotRequired[SnapmirrorPolicyRetentionCount]

The number of snapshots with the label to retain on the destination volume.

creation_schedule instance-attribute

creation_schedule: NotRequired[SnapmirrorPolicyCreationScheduleName]

The name of the ONTAP schedule on which SnapMirror creates snapshots with the label directly on the destination volume.

label instance-attribute

label: NotRequired[SnapmirrorLabel]

The SnapMirror label of the snapshots that the rule applies to.