Share via


SiteRecoveryMigrationItemResource.PauseReplication Method

Definition

The operation to initiate pause replication of the item.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/pauseReplication
  • Operation Id: ReplicationMigrationItems_PauseReplication
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryMigrationItemResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryMigrationItemResource> PauseReplication (Azure.WaitUntil waitUntil, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PauseReplicationContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member PauseReplication : Azure.WaitUntil * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PauseReplicationContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryMigrationItemResource>
override this.PauseReplication : Azure.WaitUntil * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PauseReplicationContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryMigrationItemResource>
Public Overridable Function PauseReplication (waitUntil As WaitUntil, content As PauseReplicationContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of SiteRecoveryMigrationItemResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
PauseReplicationContent

Pause replication input.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to