你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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