Compartir a través de


IStorageAccountsOperations.ListSasTokensWithHttpMessagesAsync Método

Definición

Obtiene el token de SAS asociado a la combinación especificada de Data Lake Analytics y cuenta de Azure Storage y contenedor.

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)))

Parámetros

resourceGroupName
String

El nombre del grupo de recursos de Azure.

accountName
String

nombre de la cuenta de Data Lake Analytics.

storageAccountName
String

Nombre de la cuenta de almacenamiento de Azure para la que se solicita el token de SAS.

containerName
String

Nombre del contenedor de almacenamiento de Azure para el que se solicita el token de SAS.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Excepciones

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando no se puede deserializar la respuesta

Se produce cuando un parámetro obligatorio es NULL

Se aplica a