Skip to content

SnapmirrorPolicy

Source code in docs_src/capo_fsx/types/snapmirror_policy.py
class SnapmirrorPolicy(TypedDict, closed=True):
    resource_arn: NotRequired["capo_fsx.types.resource_arn.ResourceARN"]
    snapmirror_policy_id: NotRequired[
        "capo_fsx.types.snapmirror_policy_id.SnapmirrorPolicyId"
    ]
    """<p>The system-generated, unique ID of the SnapMirror policy.</p>"""
    file_system_id: NotRequired["capo_fsx.types.file_system_id.FileSystemId"]
    """<p>The globally unique ID of the file system, assigned by Amazon FSx.</p>"""
    storage_virtual_machine_id: NotRequired[
        "capo_fsx.types.storage_virtual_machine_id.StorageVirtualMachineId"
    ]
    """<p>The ID of the SnapMirror policy's storage virtual machine, if you created the SnapMirror policy on a storage virtual machine.</p>"""
    name: NotRequired["capo_fsx.types.snapmirror_policy_name.SnapmirrorPolicyName"]
    """<p>The name of the SnapMirror policy.</p>"""
    snapshot_copy_mode: NotRequired[
        "capo_fsx.types.snapmirror_policy_snapshot_copy_mode.SnapmirrorPolicySnapshotCopyMode"
    ]
    """<p>The snapshot copy mode of the SnapMirror policy, which determines which snapshots SnapMirror transfers to the destination volume.</p>"""
    retention_rules: NotRequired[
        "capo_fsx.types.snapmirror_policy_retention_rules.SnapmirrorPolicyRetentionRules"
    ]
    """<p>The rules that determine which snapshots SnapMirror retains on the destination volume.</p>"""
    transfer_schedule: NotRequired[
        "capo_fsx.types.snapmirror_transfer_schedule_name.SnapmirrorTransferScheduleName"
    ]
    """<p>The name of the ONTAP schedule that determines when SnapMirror transfers data.</p>"""
    network_compression_enabled: NotRequired["capo_fsx.types.flag.Flag"]
    """<p>Specifies whether SnapMirror compresses data when it transfers the data over the network. This value defaults to <code>false</code>.</p>"""
    throttle_in_kbps: NotRequired["capo_fsx.types.throttle_in_kbps.ThrottleInKbps"]
    """<p>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>"""
    scope: NotRequired["capo_fsx.types.snapmirror_policy_scope.SnapmirrorPolicyScope"]
    """<p>The scope of the SnapMirror policy can be one of the following:</p> <ul> <li> <p> <code>FILESYSTEM</code> – The SnapMirror policy was created on the file system.</p> </li> <li> <p> <code>SVM</code> – The SnapMirror policy was created on an SVM.</p> </li> </ul>"""
    lifecycle: NotRequired[
        "capo_fsx.types.snapmirror_policy_lifecycle.SnapmirrorPolicyLifecycle"
    ]
    """<p>The lifecycle status of the SnapMirror policy can be one of the following:</p> <ul> <li> <p> <code>CREATED</code> – The SnapMirror policy is fully available for use.</p> </li> <li> <p> <code>CREATING</code> – Amazon FSx is creating the SnapMirror policy.</p> </li> <li> <p> <code>DELETING</code> – Amazon FSx is deleting the SnapMirror policy.</p> </li> <li> <p> <code>FAILED</code> – Amazon FSx was unable to create the SnapMirror policy.</p> </li> </ul>"""
    uuid: NotRequired["capo_fsx.types.uuid.UUID"]
    """<p>The SnapMirror policy's universally unique identifier (UUID).</p>"""
    lifecycle_transition_reason: NotRequired[
        "capo_fsx.types.lifecycle_transition_reason.LifecycleTransitionReason"
    ]
    """<p>The reason why the SnapMirror policy lifecycle status changed.</p>"""
    tags: NotRequired["capo_fsx.types.tags.Tags"]

file_system_id instance-attribute

file_system_id: NotRequired[FileSystemId]

The globally unique ID of the file system, assigned by Amazon FSx.

lifecycle instance-attribute

lifecycle: NotRequired[SnapmirrorPolicyLifecycle]

The lifecycle status of the SnapMirror policy can be one of the following:

  • CREATED – The SnapMirror policy is fully available for use.

  • CREATING – Amazon FSx is creating the SnapMirror policy.

  • DELETING – Amazon FSx is deleting the SnapMirror policy.

  • FAILED – Amazon FSx was unable to create the SnapMirror policy.

lifecycle_transition_reason instance-attribute

lifecycle_transition_reason: NotRequired[LifecycleTransitionReason]

The reason why the SnapMirror policy lifecycle status changed.

name instance-attribute

name: NotRequired[SnapmirrorPolicyName]

The name of the SnapMirror policy.

network_compression_enabled instance-attribute

network_compression_enabled: NotRequired[Flag]

Specifies whether SnapMirror compresses data when it transfers the data over the network. This value defaults to false.

resource_arn instance-attribute

resource_arn: NotRequired[ResourceARN]

retention_rules instance-attribute

retention_rules: NotRequired[SnapmirrorPolicyRetentionRules]

The rules that determine which snapshots SnapMirror retains on the destination volume.

scope instance-attribute

scope: NotRequired[SnapmirrorPolicyScope]

The scope of the SnapMirror policy can be one of the following:

  • FILESYSTEM – The SnapMirror policy was created on the file system.

  • SVM – The SnapMirror policy was created on an SVM.

snapmirror_policy_id instance-attribute

snapmirror_policy_id: NotRequired[SnapmirrorPolicyId]

The system-generated, unique ID of the SnapMirror policy.

snapshot_copy_mode instance-attribute

snapshot_copy_mode: NotRequired[SnapmirrorPolicySnapshotCopyMode]

The snapshot copy mode of the SnapMirror policy, which determines which snapshots SnapMirror transfers to the destination volume.

storage_virtual_machine_id instance-attribute

storage_virtual_machine_id: NotRequired[StorageVirtualMachineId]

The ID of the SnapMirror policy's storage virtual machine, if you created the SnapMirror policy on a storage virtual machine.

tags instance-attribute

tags: NotRequired[Tags]

throttle_in_kbps instance-attribute

throttle_in_kbps: NotRequired[ThrottleInKbps]

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]

The name of the ONTAP schedule that determines when SnapMirror transfers data.

uuid instance-attribute

uuid: NotRequired[UUID]

The SnapMirror policy's universally unique identifier (UUID).