StorageAccounts interface

Interface representing a StorageAccounts.

Methods

add(string, string, string, AddStorageAccountParameters, StorageAccountsAddOptionalParams)

Updates the specified Data Lake Analytics account to add an Azure Storage account.

delete(string, string, string, StorageAccountsDeleteOptionalParams)

Updates the specified Data Lake Analytics account to remove an Azure Storage account.

get(string, string, string, StorageAccountsGetOptionalParams)

Gets the specified Azure Storage account linked to the given Data Lake Analytics account.

getStorageContainer(string, string, string, string, StorageAccountsGetStorageContainerOptionalParams)

Gets the specified Azure Storage container associated with the given Data Lake Analytics and Azure Storage accounts.

listByAccount(string, string, StorageAccountsListByAccountOptionalParams)

Gets the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics account. The response includes a link to the next page, if any.

listSasTokens(string, string, string, string, StorageAccountsListSasTokensOptionalParams)

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

listStorageContainers(string, string, string, StorageAccountsListStorageContainersOptionalParams)

Lists the Azure Storage containers, if any, associated with the specified Data Lake Analytics and Azure Storage account combination. The response includes a link to the next page of results, if any.

update(string, string, string, StorageAccountsUpdateOptionalParams)

Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix.

Method Details

add(string, string, string, AddStorageAccountParameters, StorageAccountsAddOptionalParams)

Updates the specified Data Lake Analytics account to add an Azure Storage account.

function add(resourceGroupName: string, accountName: string, storageAccountName: string, parameters: AddStorageAccountParameters, options?: StorageAccountsAddOptionalParams): Promise<void>

Parameters

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 to add

parameters
AddStorageAccountParameters

The parameters containing the access key and optional suffix for the Azure Storage Account.

options
StorageAccountsAddOptionalParams

The options parameters.

Returns

Promise<void>

delete(string, string, string, StorageAccountsDeleteOptionalParams)

Updates the specified Data Lake Analytics account to remove an Azure Storage account.

function delete(resourceGroupName: string, accountName: string, storageAccountName: string, options?: StorageAccountsDeleteOptionalParams): Promise<void>

Parameters

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 to remove

options
StorageAccountsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, StorageAccountsGetOptionalParams)

Gets the specified Azure Storage account linked to the given Data Lake Analytics account.

function get(resourceGroupName: string, accountName: string, storageAccountName: string, options?: StorageAccountsGetOptionalParams): Promise<StorageAccountInformation>

Parameters

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 to retrieve the details.

options
StorageAccountsGetOptionalParams

The options parameters.

Returns

getStorageContainer(string, string, string, string, StorageAccountsGetStorageContainerOptionalParams)

Gets the specified Azure Storage container associated with the given Data Lake Analytics and Azure Storage accounts.

function getStorageContainer(resourceGroupName: string, accountName: string, storageAccountName: string, containerName: string, options?: StorageAccountsGetStorageContainerOptionalParams): Promise<StorageContainer>

Parameters

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 from which to retrieve the blob container.

containerName

string

The name of the Azure storage container to retrieve

options
StorageAccountsGetStorageContainerOptionalParams

The options parameters.

Returns

Promise<StorageContainer>

listByAccount(string, string, StorageAccountsListByAccountOptionalParams)

Gets the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics account. The response includes a link to the next page, if any.

function listByAccount(resourceGroupName: string, accountName: string, options?: StorageAccountsListByAccountOptionalParams): PagedAsyncIterableIterator<StorageAccountInformation, StorageAccountInformation[], PageSettings>

Parameters

resourceGroupName

string

The name of the Azure resource group.

accountName

string

The name of the Data Lake Analytics account.

options
StorageAccountsListByAccountOptionalParams

The options parameters.

Returns

listSasTokens(string, string, string, string, StorageAccountsListSasTokensOptionalParams)

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

function listSasTokens(resourceGroupName: string, accountName: string, storageAccountName: string, containerName: string, options?: StorageAccountsListSasTokensOptionalParams): PagedAsyncIterableIterator<SasTokenInformation, SasTokenInformation[], PageSettings>

Parameters

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.

options
StorageAccountsListSasTokensOptionalParams

The options parameters.

Returns

listStorageContainers(string, string, string, StorageAccountsListStorageContainersOptionalParams)

Lists the Azure Storage containers, if any, associated with the specified Data Lake Analytics and Azure Storage account combination. The response includes a link to the next page of results, if any.

function listStorageContainers(resourceGroupName: string, accountName: string, storageAccountName: string, options?: StorageAccountsListStorageContainersOptionalParams): PagedAsyncIterableIterator<StorageContainer, StorageContainer[], PageSettings>

Parameters

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 from which to list blob containers.

options
StorageAccountsListStorageContainersOptionalParams

The options parameters.

Returns

update(string, string, string, StorageAccountsUpdateOptionalParams)

Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix.

function update(resourceGroupName: string, accountName: string, storageAccountName: string, options?: StorageAccountsUpdateOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the Azure resource group.

accountName

string

The name of the Data Lake Analytics account.

storageAccountName

string

The Azure Storage account to modify

options
StorageAccountsUpdateOptionalParams

The options parameters.

Returns

Promise<void>