IBackupOperationResultsOperations.GetWithHttpMessagesAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Fournit la status des opérations de suppression, telles que la suppression de l’élément sauvegardé. Une fois l’opération démarrée, le code status dans la réponse est Accepté. Il continuera à être dans cet état jusqu’à ce qu’il soit terminé. Une fois l’exécution réussie, le code status est OK. Cette méthode attend OperationID comme argument. OperationID fait partie de l’en-tête Location de la réponse de l’opération.
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> GetWithHttpMessagesAsync(string vaultName, string resourceGroupName, 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 * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function GetWithHttpMessagesAsync (vaultName As String, resourceGroupName As String, operationId As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)
Paramètres
- vaultName
- String
Nom du coffre Recovery Services.
- resourceGroupName
- String
Nom du groupe de ressources où se trouve le coffre Recovery Services.
- operationId
- String
OperationID qui représente l’opération.
- 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 lorsqu’un paramètre requis a la valeur Null
S’applique à
Azure SDK for .NET