StorageAccounts class

Class representing a StorageAccounts.

Constructors

StorageAccounts(DataLakeAnalyticsAccountManagementClientContext)

Create a StorageAccounts.

Methods

add(string, string, string, AddStorageAccountParameters, RequestOptionsBase)

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

add(string, string, string, AddStorageAccountParameters, RequestOptionsBase, ServiceCallback<void>)
add(string, string, string, AddStorageAccountParameters, ServiceCallback<void>)
deleteMethod(string, string, string, RequestOptionsBase)

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

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, string, ServiceCallback<void>)
get(string, string, string, RequestOptionsBase)

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

get(string, string, string, RequestOptionsBase, ServiceCallback<StorageAccountInformation>)
get(string, string, string, ServiceCallback<StorageAccountInformation>)
getStorageContainer(string, string, string, string, RequestOptionsBase)

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

getStorageContainer(string, string, string, string, RequestOptionsBase, ServiceCallback<StorageContainer>)
getStorageContainer(string, string, string, string, ServiceCallback<StorageContainer>)
listByAccount(string, string, ServiceCallback<StorageAccountInformationListResult>)
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.

listByAccount(string, string, StorageAccountsListByAccountOptionalParams, ServiceCallback<StorageAccountInformationListResult>)
listByAccountNext(string, ServiceCallback<StorageAccountInformationListResult>)
listByAccountNext(string, StorageAccountsListByAccountNextOptionalParams)

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.

listByAccountNext(string, StorageAccountsListByAccountNextOptionalParams, ServiceCallback<StorageAccountInformationListResult>)
listSasTokens(string, string, string, string, RequestOptionsBase)

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

listSasTokens(string, string, string, string, RequestOptionsBase, ServiceCallback<SasTokenInformationListResult>)
listSasTokens(string, string, string, string, ServiceCallback<SasTokenInformationListResult>)
listSasTokensNext(string, RequestOptionsBase)

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

listSasTokensNext(string, RequestOptionsBase, ServiceCallback<SasTokenInformationListResult>)
listSasTokensNext(string, ServiceCallback<SasTokenInformationListResult>)
listStorageContainers(string, string, string, RequestOptionsBase)

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.

listStorageContainers(string, string, string, RequestOptionsBase, ServiceCallback<StorageContainerListResult>)
listStorageContainers(string, string, string, ServiceCallback<StorageContainerListResult>)
listStorageContainersNext(string, RequestOptionsBase)

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.

listStorageContainersNext(string, RequestOptionsBase, ServiceCallback<StorageContainerListResult>)
listStorageContainersNext(string, ServiceCallback<StorageContainerListResult>)
update(string, string, string, ServiceCallback<void>)
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.

update(string, string, string, StorageAccountsUpdateOptionalParams, ServiceCallback<void>)

Constructor Details

StorageAccounts(DataLakeAnalyticsAccountManagementClientContext)

Create a StorageAccounts.

new StorageAccounts(client: DataLakeAnalyticsAccountManagementClientContext)

Parameters

client
DataLakeAnalyticsAccountManagementClientContext

Reference to the service client.

Method Details

add(string, string, string, AddStorageAccountParameters, RequestOptionsBase)

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

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

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
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

add(string, string, string, AddStorageAccountParameters, RequestOptionsBase, ServiceCallback<void>)

function add(resourceGroupName: string, accountName: string, storageAccountName: string, parameters: AddStorageAccountParameters, options: RequestOptionsBase, callback: ServiceCallback<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
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

add(string, string, string, AddStorageAccountParameters, ServiceCallback<void>)

function add(resourceGroupName: string, accountName: string, storageAccountName: string, parameters: AddStorageAccountParameters, callback: ServiceCallback<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.

callback

ServiceCallback<void>

The callback

deleteMethod(string, string, string, RequestOptionsBase)

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

function deleteMethod(resourceGroupName: string, accountName: string, storageAccountName: string, options?: RequestOptionsBase): Promise<RestResponse>

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
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, accountName: string, storageAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<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
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

deleteMethod(string, string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, accountName: string, storageAccountName: string, callback: ServiceCallback<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

callback

ServiceCallback<void>

The callback

get(string, string, string, RequestOptionsBase)

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

function get(resourceGroupName: string, accountName: string, storageAccountName: string, options?: RequestOptionsBase): Promise<StorageAccountsGetResponse>

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
RequestOptionsBase

The optional parameters

Returns

Promise<Models.StorageAccountsGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<StorageAccountInformation>)

function get(resourceGroupName: string, accountName: string, storageAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<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
RequestOptionsBase

The optional parameters

get(string, string, string, ServiceCallback<StorageAccountInformation>)

function get(resourceGroupName: string, accountName: string, storageAccountName: string, callback: ServiceCallback<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.

getStorageContainer(string, string, string, string, RequestOptionsBase)

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?: RequestOptionsBase): Promise<StorageAccountsGetStorageContainerResponse>

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
RequestOptionsBase

The optional parameters

Returns

Promise<Models.StorageAccountsGetStorageContainerResponse>

getStorageContainer(string, string, string, string, RequestOptionsBase, ServiceCallback<StorageContainer>)

function getStorageContainer(resourceGroupName: string, accountName: string, storageAccountName: string, containerName: string, options: RequestOptionsBase, callback: ServiceCallback<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
RequestOptionsBase

The optional parameters

callback

ServiceCallback<StorageContainer>

The callback

getStorageContainer(string, string, string, string, ServiceCallback<StorageContainer>)

function getStorageContainer(resourceGroupName: string, accountName: string, storageAccountName: string, containerName: string, callback: ServiceCallback<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

callback

ServiceCallback<StorageContainer>

The callback

listByAccount(string, string, ServiceCallback<StorageAccountInformationListResult>)

function listByAccount(resourceGroupName: string, accountName: string, callback: ServiceCallback<StorageAccountInformationListResult>)

Parameters

resourceGroupName

string

The name of the Azure resource group.

accountName

string

The name of the Data Lake Analytics account.

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): Promise<StorageAccountsListByAccountResponse>

Parameters

resourceGroupName

string

The name of the Azure resource group.

accountName

string

The name of the Data Lake Analytics account.

options
StorageAccountsListByAccountOptionalParams

The optional parameters

Returns

Promise<Models.StorageAccountsListByAccountResponse>

listByAccount(string, string, StorageAccountsListByAccountOptionalParams, ServiceCallback<StorageAccountInformationListResult>)

function listByAccount(resourceGroupName: string, accountName: string, options: StorageAccountsListByAccountOptionalParams, callback: ServiceCallback<StorageAccountInformationListResult>)

Parameters

resourceGroupName

string

The name of the Azure resource group.

accountName

string

The name of the Data Lake Analytics account.

options
StorageAccountsListByAccountOptionalParams

The optional parameters

listByAccountNext(string, ServiceCallback<StorageAccountInformationListResult>)

function listByAccountNext(nextPageLink: string, callback: ServiceCallback<StorageAccountInformationListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

listByAccountNext(string, StorageAccountsListByAccountNextOptionalParams)

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 listByAccountNext(nextPageLink: string, options?: StorageAccountsListByAccountNextOptionalParams): Promise<StorageAccountsListByAccountNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
StorageAccountsListByAccountNextOptionalParams

The optional parameters

Returns

Promise<Models.StorageAccountsListByAccountNextResponse>

listByAccountNext(string, StorageAccountsListByAccountNextOptionalParams, ServiceCallback<StorageAccountInformationListResult>)

function listByAccountNext(nextPageLink: string, options: StorageAccountsListByAccountNextOptionalParams, callback: ServiceCallback<StorageAccountInformationListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
StorageAccountsListByAccountNextOptionalParams

The optional parameters

listSasTokens(string, string, string, string, RequestOptionsBase)

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?: RequestOptionsBase): Promise<StorageAccountsListSasTokensResponse>

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
RequestOptionsBase

The optional parameters

Returns

Promise<Models.StorageAccountsListSasTokensResponse>

listSasTokens(string, string, string, string, RequestOptionsBase, ServiceCallback<SasTokenInformationListResult>)

function listSasTokens(resourceGroupName: string, accountName: string, storageAccountName: string, containerName: string, options: RequestOptionsBase, callback: ServiceCallback<SasTokenInformationListResult>)

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
RequestOptionsBase

The optional parameters

listSasTokens(string, string, string, string, ServiceCallback<SasTokenInformationListResult>)

function listSasTokens(resourceGroupName: string, accountName: string, storageAccountName: string, containerName: string, callback: ServiceCallback<SasTokenInformationListResult>)

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.

listSasTokensNext(string, RequestOptionsBase)

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

function listSasTokensNext(nextPageLink: string, options?: RequestOptionsBase): Promise<StorageAccountsListSasTokensNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.StorageAccountsListSasTokensNextResponse>

listSasTokensNext(string, RequestOptionsBase, ServiceCallback<SasTokenInformationListResult>)

function listSasTokensNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<SasTokenInformationListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

listSasTokensNext(string, ServiceCallback<SasTokenInformationListResult>)

function listSasTokensNext(nextPageLink: string, callback: ServiceCallback<SasTokenInformationListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

listStorageContainers(string, string, string, RequestOptionsBase)

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?: RequestOptionsBase): Promise<StorageAccountsListStorageContainersResponse>

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
RequestOptionsBase

The optional parameters

Returns

Promise<Models.StorageAccountsListStorageContainersResponse>

listStorageContainers(string, string, string, RequestOptionsBase, ServiceCallback<StorageContainerListResult>)

function listStorageContainers(resourceGroupName: string, accountName: string, storageAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<StorageContainerListResult>)

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
RequestOptionsBase

The optional parameters

listStorageContainers(string, string, string, ServiceCallback<StorageContainerListResult>)

function listStorageContainers(resourceGroupName: string, accountName: string, storageAccountName: string, callback: ServiceCallback<StorageContainerListResult>)

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.

listStorageContainersNext(string, RequestOptionsBase)

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 listStorageContainersNext(nextPageLink: string, options?: RequestOptionsBase): Promise<StorageAccountsListStorageContainersNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.StorageAccountsListStorageContainersNextResponse>

listStorageContainersNext(string, RequestOptionsBase, ServiceCallback<StorageContainerListResult>)

function listStorageContainersNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<StorageContainerListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

listStorageContainersNext(string, ServiceCallback<StorageContainerListResult>)

function listStorageContainersNext(nextPageLink: string, callback: ServiceCallback<StorageContainerListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

update(string, string, string, ServiceCallback<void>)

function update(resourceGroupName: string, accountName: string, storageAccountName: string, callback: ServiceCallback<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

callback

ServiceCallback<void>

The callback

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

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 optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

update(string, string, string, StorageAccountsUpdateOptionalParams, ServiceCallback<void>)

function update(resourceGroupName: string, accountName: string, storageAccountName: string, options: StorageAccountsUpdateOptionalParams, callback: ServiceCallback<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 optional parameters

callback

ServiceCallback<void>

The callback