PSRecoveryServicesClient.StartSwitchProtection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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