Partager via


IRecoveryPointsOperations.GetWithHttpMessagesAsync Méthode

Définition

Fournit les informations des données sauvegardées identifiées à l’aide de RecoveryPointID. S'agissant d'une opération asynchrone, Pour connaître les status de l’opération, appelez l’API GetProtectedItemOperationResult.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.RecoveryServices.Backup.Models.RecoveryPointResource>> GetWithHttpMessagesAsync (string vaultName, string resourceGroupName, string fabricName, string containerName, string protectedItemName, string recoveryPointId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWithHttpMessagesAsync : string * string * string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.RecoveryServices.Backup.Models.RecoveryPointResource>>
Public Function GetWithHttpMessagesAsync (vaultName As String, resourceGroupName As String, fabricName As String, containerName As String, protectedItemName As String, recoveryPointId As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of RecoveryPointResource))

Paramètres

vaultName
String

Nom du coffre Recovery Services.

resourceGroupName
String

Nom du groupe de ressources où se trouve le coffre Recovery Services.

fabricName
String

Nom de la structure associé à l’élément sauvegardé.

containerName
String

Nom du conteneur associé à l’élément sauvegardé.

protectedItemName
String

Nom de l’élément sauvegardé dont les données de sauvegarde doivent être extraites.

recoveryPointId
String

RecoveryPointID représente les données sauvegardées à extraire.

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Exceptions

Levée lorsque l’opération a retourné un code status non valide

Levée lorsque la réponse ne peut pas être désérialisée

Levée lorsqu’un paramètre requis a la valeur Null

S’applique à