Share via


PSRecoveryServicesClient.StartSwitchProtection Method

Definition

Switch the Azure Site Recovery protection entity replication direction.

public Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.PSSiteRecoveryLongRunningOperation StartSwitchProtection (string fabricName, string protectionContainerName, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.SwitchProtectionInput input);
member this.StartSwitchProtection : string * string * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.SwitchProtectionInput -> Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.PSSiteRecoveryLongRunningOperation
Public Function StartSwitchProtection (fabricName As String, protectionContainerName As String, input As SwitchProtectionInput) As PSSiteRecoveryLongRunningOperation

Parameters

fabricName
String

Fabric Name

protectionContainerName
String

Protection Conatiner Name

input
SwitchProtectionInput

Input for Switch

Returns

Job Response

Applies to