Partilhar via


SiteRecoveryProtectionContainerResource.GetReplicationProtectedItemAsync Método

Definição

Obtém os detalhes de um item protegido por replicação ASR.

  • Caminho da solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}
  • IdReplicationProtectedItems_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectedItemResource>> GetReplicationProtectedItemAsync (string replicatedProtectedItemName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetReplicationProtectedItemAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectedItemResource>>
override this.GetReplicationProtectedItemAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectedItemResource>>
Public Overridable Function GetReplicationProtectedItemAsync (replicatedProtectedItemName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ReplicationProtectedItemResource))

Parâmetros

replicatedProtectedItemName
String

Nome do item protegido por replicação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

replicatedProtectedItemName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

replicatedProtectedItemName é nulo.

Aplica-se a