Partilhar via


DataProtectionBackupRecoveryPointCollection.GetAsync Método

Definição

Obtém um ponto de recuperação usando recoveryPointId para uma fonte de dados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints/{recoveryPointId}
  • IdRecoveryPoints_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupRecoveryPointResource>> GetAsync (string recoveryPointId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupRecoveryPointResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupRecoveryPointResource>>
Public Overridable Function GetAsync (recoveryPointId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataProtectionBackupRecoveryPointResource))

Parâmetros

recoveryPointId
String

A cadeia de caracteres a ser usada.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

recoveryPointId é nulo.

Aplica-se a