Skip to main content

storage_accounts_sas_tokens

Creates, updates, deletes, gets or lists a storage_accounts_sas_tokens resource.

Overview

Namestorage_accounts_sas_tokens
TypeResource
Idazure.data_lake_analytics.storage_accounts_sas_tokens

Fields

The following fields are returned by SELECT queries:

Successfully retrieved the list of Storage Account SAS tokens for the specified Azure Storage account container.

NameDatatypeDescription
accessTokenstringThe access token for the associated Azure Storage Container.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, accountName, storageAccountName, containerNameGets the SAS token associated with the specified Data Lake Analytics and Azure Storage account and container combination.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
accountNamestringThe name of the Data Lake Analytics account.
containerNamestringThe name of the Azure storage container for which the SAS token is being requested.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
storageAccountNamestringThe name of the Azure storage account for which the SAS token is being requested.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

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

SELECT
accessToken
FROM azure.data_lake_analytics.storage_accounts_sas_tokens
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND storageAccountName = '{{ storageAccountName }}' -- required
AND containerName = '{{ containerName }}' -- required
;