Partilhar via


DataReplicationVaultResource.GetDataReplicationProtectedItem Método

Definição

Obtém os detalhes do item protegido.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}
  • IdProtectedItem_Get de operação
public virtual Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationProtectedItemResource> GetDataReplicationProtectedItem (string protectedItemName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataReplicationProtectedItem : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationProtectedItemResource>
override this.GetDataReplicationProtectedItem : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationProtectedItemResource>
Public Overridable Function GetDataReplicationProtectedItem (protectedItemName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataReplicationProtectedItemResource)

Parâmetros

protectedItemName
String

O nome do item protegido.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

protectedItemName é nulo.

Aplica-se a