Skip to content

UpdateSnapmirrorPolicyRequest

Source code in docs_src/capo_fsx/types/update_snapmirror_policy_request.py
class UpdateSnapmirrorPolicyRequest(TypedDict, closed=True):
    client_request_token: NotRequired[
        "capo_fsx.types.client_request_token.ClientRequestToken"
    ]
    snapmirror_policy_id: NotRequired[
        "capo_fsx.types.snapmirror_policy_id.SnapmirrorPolicyId"
    ]
    """<p>The ID of the SnapMirror policy that you want to update.</p>"""
    retention_rules: NotRequired[
        "capo_fsx.types.snapmirror_policy_retention_rules.SnapmirrorPolicyRetentionRules"
    ]
    """<p>Specifies the rules that determine which snapshots SnapMirror retains on the destination volume, based on their SnapMirror labels. The rules that you specify replace all the SnapMirror policy's existing retention rules. To keep an existing rule, include it in the list. To remove all retention rules, specify an empty list.</p>"""
    transfer_schedule: NotRequired[
        "capo_fsx.types.snapmirror_transfer_schedule_name.SnapmirrorTransferScheduleName"
    ]
    """<p>Specifies the name of the ONTAP schedule that determines when SnapMirror transfers data. To remove the transfer schedule, specify an empty string.</p>"""
    network_compression_enabled: NotRequired["capo_fsx.types.flag.Flag"]
    """<p>Specifies whether SnapMirror compresses data when it transfers the data over the network.</p>"""
    throttle_in_kbps: NotRequired["capo_fsx.types.throttle_in_kbps.ThrottleInKbps"]
    """<p>Specifies the maximum bandwidth, in kilobytes per second (KBps), that SnapMirror uses to transfer data. A value of <code>0</code> means that the bandwidth is unlimited.</p>"""

client_request_token instance-attribute

client_request_token: NotRequired[ClientRequestToken]

network_compression_enabled instance-attribute

network_compression_enabled: NotRequired[Flag]

Specifies whether SnapMirror compresses data when it transfers the data over the network.

retention_rules instance-attribute

retention_rules: NotRequired[SnapmirrorPolicyRetentionRules]

Specifies the rules that determine which snapshots SnapMirror retains on the destination volume, based on their SnapMirror labels. The rules that you specify replace all the SnapMirror policy's existing retention rules. To keep an existing rule, include it in the list. To remove all retention rules, specify an empty list.

snapmirror_policy_id instance-attribute

snapmirror_policy_id: NotRequired[SnapmirrorPolicyId]

The ID of the SnapMirror policy that you want to update.

throttle_in_kbps instance-attribute

throttle_in_kbps: NotRequired[ThrottleInKbps]

Specifies the maximum bandwidth, in kilobytes per second (KBps), that SnapMirror uses to transfer data. A value of 0 means that the bandwidth is unlimited.

transfer_schedule instance-attribute

transfer_schedule: NotRequired[SnapmirrorTransferScheduleName]

Specifies the name of the ONTAP schedule that determines when SnapMirror transfers data. To remove the transfer schedule, specify an empty string.