Skip to content

UpdateSnapmirrorRelationshipRequest

Source code in docs_src/capo_fsx/types/update_snapmirror_relationship_request.py
class UpdateSnapmirrorRelationshipRequest(TypedDict, closed=True):
    client_request_token: NotRequired[
        "capo_fsx.types.client_request_token.ClientRequestToken"
    ]
    snapmirror_relationship_id: NotRequired[
        "capo_fsx.types.snapmirror_relationship_id.SnapmirrorRelationshipId"
    ]
    """<p>The ID of the SnapMirror relationship that you want to update.</p>"""
    policy_id: NotRequired["capo_fsx.types.snapmirror_policy_id.SnapmirrorPolicyId"]
    """<p>Specifies the ID of the SnapMirror policy that the SnapMirror relationship uses.</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 for the relationship. This schedule overrides the transfer schedule of the SnapMirror policy.</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 for the relationship. A value of <code>0</code> means that the bandwidth is unlimited. This value overrides the throttle of the SnapMirror policy.</p>"""
    state: NotRequired[
        "capo_fsx.types.updatable_snapmirror_relationship_state.UpdatableSnapmirrorRelationshipState"
    ]
    """<p>Specifies the state to set for the SnapMirror relationship:</p> <ul> <li> <p> <code>SNAPMIRRORED</code> – Resumes a paused SnapMirror relationship, or resynchronizes a broken-off SnapMirror relationship.</p> </li> <li> <p> <code>PAUSED</code> – Pauses SnapMirror transfers for the relationship.</p> </li> <li> <p> <code>BROKEN_OFF</code> – Breaks off the SnapMirror relationship, which makes the destination volume writable.</p> </li> </ul> <important> <p>Setting <code>State</code> to <code>SNAPMIRRORED</code> on a relationship that is <code>BROKEN_OFF</code> might resynchronize the relationship. A resync overwrites the destination volume with data from the source volume, and discards any data written to the destination volume that isn't present on the source volume. Use caution when you resynchronize a relationship.</p> </important>"""

client_request_token instance-attribute

client_request_token: NotRequired[ClientRequestToken]

policy_id instance-attribute

policy_id: NotRequired[SnapmirrorPolicyId]

Specifies the ID of the SnapMirror policy that the SnapMirror relationship uses.

snapmirror_relationship_id instance-attribute

snapmirror_relationship_id: NotRequired[SnapmirrorRelationshipId]

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

state instance-attribute

Specifies the state to set for the SnapMirror relationship:

  • SNAPMIRRORED – Resumes a paused SnapMirror relationship, or resynchronizes a broken-off SnapMirror relationship.

  • PAUSED – Pauses SnapMirror transfers for the relationship.

  • BROKEN_OFF – Breaks off the SnapMirror relationship, which makes the destination volume writable.

Setting State to SNAPMIRRORED on a relationship that is BROKEN_OFF might resynchronize the relationship. A resync overwrites the destination volume with data from the source volume, and discards any data written to the destination volume that isn't present on the source volume. Use caution when you resynchronize a relationship.

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 for the relationship. A value of 0 means that the bandwidth is unlimited. This value overrides the throttle of the SnapMirror policy.

transfer_schedule instance-attribute

transfer_schedule: NotRequired[SnapmirrorTransferScheduleName]

Specifies the name of the ONTAP schedule that determines when SnapMirror transfers data for the relationship. This schedule overrides the transfer schedule of the SnapMirror policy.