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

ReplicationProtectedItemResource.Delete 方法

定义

重载

Delete(WaitUntil, CancellationToken)

删除或清除复制受保护项的操作。 此操作将强制删除复制保护项。 对复制受保护的项使用删除操作,对该项执行干净禁用复制。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}
  • 操作IdReplicationProtectedItems_Purge
Delete(WaitUntil, DisableProtectionContent, CancellationToken)

对受复制保护的项禁用复制的操作。 这也会删除该项。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/remove
  • 操作IdReplicationProtectedItems_Delete

Delete(WaitUntil, CancellationToken)

删除或清除复制受保护项的操作。 此操作将强制删除复制保护项。 对复制受保护的项使用删除操作,对该项执行干净禁用复制。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}
  • 操作IdReplicationProtectedItems_Purge
public virtual Azure.ResourceManager.ArmOperation Delete (Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default);
abstract member Delete : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.Delete : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function Delete (waitUntil As WaitUntil, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation

参数

waitUntil
WaitUntil

Completed 如果方法应等待返回,直到服务上长时间运行的操作完成; Started 如果它应在启动操作后返回,则为 。 有关长时间运行的操作的详细信息,请参阅 Azure.Core Long-Running 操作示例

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于

Delete(WaitUntil, DisableProtectionContent, CancellationToken)

对受复制保护的项禁用复制的操作。 这也会删除该项。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/remove
  • 操作IdReplicationProtectedItems_Delete
public virtual Azure.ResourceManager.ArmOperation Delete (Azure.WaitUntil waitUntil, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.DisableProtectionContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member Delete : Azure.WaitUntil * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.DisableProtectionContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.Delete : Azure.WaitUntil * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.DisableProtectionContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function Delete (waitUntil As WaitUntil, content As DisableProtectionContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation

参数

waitUntil
WaitUntil

Completed 如果方法应等待返回,直到服务上长时间运行的操作完成; Started 如果它应在启动操作后返回,则为 。 有关长时间运行的操作的详细信息,请参阅 Azure.Core Long-Running 操作示例

content
DisableProtectionContent

禁用保护输入。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

content 为 null。

适用于