NAME

Stop-DcsDeleteReplication

SYNOPSIS

Aborts the pending process to remove the relationship between the source and destination virtual disks in a replication.

SYNTAX

Stop-DcsDeleteReplication   -Replication <Object>   [ -Connection <String> ]   [ -PipelineVariable <String> ]

Stop-DcsDeleteReplication   -VirtualDiskGroup <Object>   [ -Connection <String> ]   [ -PipelineVariable <String> ]

DESCRIPTION

Aborts the pending process to remove the relationship between the source and destination virtual disks in a replication (see Remove-DcsReplication). This operation may not be available is some cases, because deleting a replication will occur almost instantaneously if the replication buffer is empty.

PARAMETERS

-Replication<Object>
AsyncReplicationData object, VirtualDiskData object, name, or ID that identifies the virtual disk that is in the process of being deleted. The virtual disk must be a local virtual disk for the connection. The AsyncReplicationData object can be obtained with Get-DcsReplication and the VirtualDiskData object can be obtained with Get-DcsVirtualDiskData.

Required: true
Position: 1
Default value:
Accept pipeline input: true (ByValue)
Accept wildcard characters: false

-Connection<String>
Alias of the connection to the server group. If not specified, the default connection is used.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-PipelineVariable<String>

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-VirtualDiskGroup<Object>
VirtualDiskGroupData object, name or ID that identifies a virtual disk group. Use this parameter to stop the removal of replication relationships for all eligible virtual disks in the virtual disk group. Eligibility may not apply to all virtual disks in the group. The VirtualDiskGroupData object can be obtained with Get-DcsVirtualDiskGroup.

Required: true
Position: 1
Default value:
Accept pipeline input: false
Accept wildcard characters: false

INPUTS

AsyncReplicationData or VirtualDiskData : The AsyncReplicationData object identifies and describes the replication relationship. The VirtualDiskData object identifies and describes the virtual disk that is in the process of being deleted.

OUTPUTS

AsyncReplicationData : Object that identifies and describes the replication.

NOTES

Also see Remove-DcsReplication, Get-DcsReplication, Get-DcsVirtualDisk.

EXAMPLES


-------------- Example 1 Stops the deletion of the replication by specifying the virtual disk name --------------
Stop-DcsDeleteReplication -Replication "Virtual disk 1"
		

The delete replication operation for the local virtual disk named "Virtual disk 1" is cancelled.

FirstServerId:4A58C0F4-59AB-4A16-A559-2ED9778CC2B2
FirstVirtualDiskId:8eadb3320aa74743be32f8632e025be2
SecondServerId:720943c9-eaf5-4820-b422-fd6f4fdcc9c6:B36AABC8-31AA-4602-B898-4B82506225FC
SecondVirtualDiskId:ae34af84e7674c278a66b5a803ef7117
IsActiveSide:True
ReplicationState:Active
FailureStatus:NoFailure
TransferStatus:Enabled
Paused:False
CheckpointSnapshotId:
AutoAsyncReplicationLicense:Enabled
OfflineInitializationSupported:True
InitializationType:Online
OfflineInitializationBuffer:
OfflineInitStatus:NoOfflineInit
InitializationFailureStatus:NoFailure
Id:f9c71343-464d-4761-8bd7-04b378990632
Caption:Virtual disk 1
ExtendedCaption:Virtual disk 1 on SSV3
Internal:False