CreateSnapmirrorPolicyRequest
¶
Source code in docs_src/capo_fsx/types/create_snapmirror_policy_request.py
file_system_id
instance-attribute
¶
file_system_id: NotRequired[FileSystemId]
Specifies the ID of the Amazon FSx for NetApp ONTAP file system on which to create the SnapMirror policy. You must specify either a FileSystemId or a StorageVirtualMachineId, but not both.
name
instance-attribute
¶
name: NotRequired[SnapmirrorPolicyName]
Specifies 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.
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.
snapshot_copy_mode
instance-attribute
¶
snapshot_copy_mode: NotRequired[SnapmirrorPolicySnapshotCopyMode]
Specifies which snapshots SnapMirror transfers to the destination volume:
-
COPY_ALL_SOURCE_SNAPSHOTS– SnapMirror copies all snapshots of the source volume to the destination volume on a transfer. You can't specifyRetentionRulesalong with this property. -
COPY_LATEST_SOURCE_SNAPSHOT– SnapMirror copies the latest snapshot of the source volume to the destination volume on a transfer. You can't specifyRetentionRulesalong with this property. -
NO_CREATE_SNAPSHOT_ON_SOURCE– SnapMirror doesn't create a snapshot on the source volume at beginning of an update or resync operation. You must specifyRetentionRulesalong with this property.
If you don't specify a SnapshotCopyMode, SnapMirror creates a new snapshot of the source volume and copies it, along with any snapshots that match RetentionRules, to the destination volume on a transfer. RetentionRules is optional.
storage_virtual_machine_id
instance-attribute
¶
storage_virtual_machine_id: NotRequired[StorageVirtualMachineId]
Specifies the ID of the SVM on which to create the SnapMirror policy. You must specify either a FileSystemId or a StorageVirtualMachineId, but not both.
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.