storage_accounts_sas_tokens
Creates, updates, deletes, gets or lists a storage_accounts_sas_tokens
resource.
Overview
Name | storage_accounts_sas_tokens |
Type | Resource |
Id | azure.data_lake_analytics.storage_accounts_sas_tokens |
Fields
The following fields are returned by SELECT
queries:
- list
Successfully retrieved the list of Storage Account SAS tokens for the specified Azure Storage account container.
Name | Datatype | Description |
---|---|---|
accessToken | string | The access token for the associated Azure Storage Container. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | subscriptionId , resourceGroupName , accountName , storageAccountName , containerName | Gets 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.
Name | Datatype | Description |
---|---|---|
accountName | string | The name of the Data Lake Analytics account. |
containerName | string | The name of the Azure storage container for which the SAS token is being requested. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
storageAccountName | string | The name of the Azure storage account for which the SAS token is being requested. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- list
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
;