Freigeben über


IStorageAccountsOperations.ListSasTokensWithHttpMessagesAsync Methode

Definition

Ruft das SAS-Token ab, das der angegebenen kombination aus Data Lake Analytics und Azure Storage-Konto und Container zugeordnet ist.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataLake.Analytics.Models.SasTokenInfo>>> ListSasTokensWithHttpMessagesAsync(string resourceGroupName, string accountName, string storageAccountName, string containerName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataLake.Analytics.Models.SasTokenInformation>>> ListSasTokensWithHttpMessagesAsync(string resourceGroupName, string accountName, string storageAccountName, string containerName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListSasTokensWithHttpMessagesAsync : 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.Rest.Azure.IPage<Microsoft.Azure.Management.DataLake.Analytics.Models.SasTokenInfo>>>
abstract member ListSasTokensWithHttpMessagesAsync : 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.Rest.Azure.IPage<Microsoft.Azure.Management.DataLake.Analytics.Models.SasTokenInformation>>>
Public Function ListSasTokensWithHttpMessagesAsync (resourceGroupName As String, accountName As String, storageAccountName As String, containerName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of SasTokenInfo)))
Public Function ListSasTokensWithHttpMessagesAsync (resourceGroupName As String, accountName As String, storageAccountName As String, containerName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of SasTokenInformation)))

Parameter

resourceGroupName
String

Name der Azure-Ressourcengruppe

accountName
String

Der Name des Data Lake Analytics-Kontos.

storageAccountName
String

Der Name des Azure-Speicherkontos, für das das SAS-Token angefordert wird.

containerName
String

Der Name des Azure-Speichercontainers, für den das SAS-Token angefordert wird.

customHeaders
Dictionary<String,List<String>>

Die Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Ausnahmen

Wird ausgelöst, wenn der Vorgang einen ungültigen status Code zurückgegeben hat.

Wird ausgelöst, wenn die Antwort nicht deserialisiert werden kann

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Gilt für: