共用方式為


StorageAccountsOperationsExtensions.ListSasTokensAsync Method

Definition

Gets the SAS token associated with the specified Data Lake Analytics and Azure Storage account and container combination.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataLake.Analytics.Models.SasTokenInfo>> ListSasTokensAsync (this Microsoft.Azure.Management.DataLake.Analytics.IStorageAccountsOperations operations, string resourceGroupName, string accountName, string storageAccountName, string containerName, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataLake.Analytics.Models.SasTokenInformation>> ListSasTokensAsync (this Microsoft.Azure.Management.DataLake.Analytics.IStorageAccountsOperations operations, string resourceGroupName, string accountName, string storageAccountName, string containerName, System.Threading.CancellationToken cancellationToken = default);
static member ListSasTokensAsync : Microsoft.Azure.Management.DataLake.Analytics.IStorageAccountsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataLake.Analytics.Models.SasTokenInfo>>
static member ListSasTokensAsync : Microsoft.Azure.Management.DataLake.Analytics.IStorageAccountsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataLake.Analytics.Models.SasTokenInformation>>
<Extension()>
Public Function ListSasTokensAsync (operations As IStorageAccountsOperations, resourceGroupName As String, accountName As String, storageAccountName As String, containerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SasTokenInfo))
<Extension()>
Public Function ListSasTokensAsync (operations As IStorageAccountsOperations, resourceGroupName As String, accountName As String, storageAccountName As String, containerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SasTokenInformation))

Parameters

operations
IStorageAccountsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the Azure resource group.

accountName
String

The name of the Data Lake Analytics account.

storageAccountName
String

The name of the Azure storage account for which the SAS token is being requested.

containerName
String

The name of the Azure storage container for which the SAS token is being requested.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to