你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PSRecoveryServicesClient.DisableProtection 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.
Removes Replicated Protected Item.
public Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.PSSiteRecoveryLongRunningOperation DisableProtection (string fabricName, string protectionContainerName, string replicationProtectedItemName, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.DisableProtectionInput input);
member this.DisableProtection : string * string * string * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.DisableProtectionInput -> Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.PSSiteRecoveryLongRunningOperation
Public Function DisableProtection (fabricName As String, protectionContainerName As String, replicationProtectedItemName As String, input As DisableProtectionInput) As PSSiteRecoveryLongRunningOperation
Parameters
- fabricName
- String
Fabric Name
- protectionContainerName
- String
Protection Container ID
- replicationProtectedItemName
- String
Virtual Machine ID or Replication group Id
- input
- DisableProtectionInput
Disable protection input.
Returns
Job response