@@ -256,7 +256,10 @@ def replicate_with_dst_resource_provisioning(self, max_time_out_of_sync,
256256 dst_size = None ,
257257 is_dst_thin = None ,
258258 dst_tiering_policy = None ,
259- is_dst_compression = None ):
259+ is_dst_compression = None ,
260+ no_async_snap_replication = None ,
261+ hourly_snap_replication_policy = None ,
262+ daily_snap_replication_policy = None ):
260263 """
261264 Creates a replication session with destination filesystem provisioning.
262265
@@ -278,6 +281,16 @@ def replicate_with_dst_resource_provisioning(self, max_time_out_of_sync,
278281 destination filesystem.
279282 :param is_dst_compression: indicates whether destination filesystem is
280283 compression enabled or not.
284+ :param no_async_snap_replication: whether or not snap replication is
285+ enabled in asynchronous replication session. When enabled, snap
286+ replication is controlled by snap replication policy setting or
287+ user action.
288+ :param hourly_snap_replication_policy: `UnitySnapReplicationPolicy`
289+ object. The policy for replicating hourly scheduled snaps of the
290+ source resource.
291+ :param daily_snap_replication_policy: `UnitySnapReplicationPolicy`
292+ object. The policy for replicating daily scheduled snaps of the
293+ source resource.
281294 :return: created replication session.
282295 """
283296
@@ -298,7 +311,10 @@ def replicate_with_dst_resource_provisioning(self, max_time_out_of_sync,
298311 return UnityReplicationSession .create_with_dst_resource_provisioning (
299312 self ._cli , self .storage_resource .get_id (),
300313 dst_resource , max_time_out_of_sync ,
301- remote_system = remote_system , name = replication_name )
314+ remote_system = remote_system , name = replication_name ,
315+ no_async_snap_replication = no_async_snap_replication ,
316+ hourly_snap_replication_policy = hourly_snap_replication_policy ,
317+ daily_snap_replication_policy = daily_snap_replication_policy )
302318
303319 @staticmethod
304320 def prepare_fs_parameters (** kwargs ):
0 commit comments