ICatalogOperations.GetSecretWithHttpMessagesAsync 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.
Attention
Cette API est à présent déconseillée.
Attention
This operation is deprecated. Please do not use it any longer.
Obtient le secret spécifié dans la base de données spécifiée. Cette opération est déconseillée et sera supprimée dans la prochaine version. Utilisez GetCredential à la place.
[System.Obsolete]
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DataLake.Analytics.Models.USqlSecret>> GetSecretWithHttpMessagesAsync(string accountName, string databaseName, string secretName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
[System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DataLake.Analytics.Models.USqlSecret>> GetSecretWithHttpMessagesAsync(string accountName, string databaseName, string secretName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete>]
abstract member GetSecretWithHttpMessagesAsync : 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.DataLake.Analytics.Models.USqlSecret>>
[<System.Obsolete("This operation is deprecated. Please do not use it any longer.")>]
abstract member GetSecretWithHttpMessagesAsync : 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.DataLake.Analytics.Models.USqlSecret>>
Public Function GetSecretWithHttpMessagesAsync (accountName As String, databaseName As String, secretName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of USqlSecret))
Paramètres
- accountName
- String
Compte Azure Data Lake Analytics sur lequel exécuter des opérations de catalogue.
- databaseName
- String
Nom de la base de données contenant le secret.
- secretName
- String
Nom du secret à obtenir
- customHeaders
- Dictionary<String,List<String>>
En-têtes qui seront ajoutés à la demande.
- cancellationToken
- CancellationToken
Jeton d'annulation.
Retours
- Attributs
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 à
Azure SDK for .NET