Partager via


IProtectedItemOperationResultsOperations.GetWithHttpMessagesAsync Méthode

Définition

Récupère le résultat de toute opération sur l’élément de sauvegarde.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItemResource>> GetWithHttpMessagesAsync (string vaultName, string resourceGroupName, string fabricName, string containerName, string protectedItemName, string operationId, 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.ProtectedItemResource>>
Public Function GetWithHttpMessagesAsync (vaultName As String, resourceGroupName As String, fabricName As String, containerName As String, protectedItemName As String, operationId As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of ProtectedItemResource))

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ée à l’élément de sauvegarde.

containerName
String

Nom du conteneur associé à l’élément de sauvegarde.

protectedItemName
String

Nom de l’élément de sauvegarde dont les détails doivent être extraits.

operationId
String

OperationID qui représente l’opération dont le résultat doit être extrait.

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 à