StorageAccounts class
Class representing a StorageAccounts.
Constructors
Storage |
Create a StorageAccounts. |
Methods
Constructor Details
StorageAccounts(DataLakeAnalyticsAccountManagementClientContext)
Create a StorageAccounts.
new StorageAccounts(client: DataLakeAnalyticsAccountManagementClientContext)
Parameters
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<StorageAccountsGetResponse>
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
- callback
The callback
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.
- callback
The callback
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
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
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.
The callback
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.
The optional parameters
Returns
Promise<StorageAccountsListByAccountResponse>
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.
The optional parameters
The callback
listByAccountNext(string, ServiceCallback<StorageAccountInformationListResult>)
function listByAccountNext(nextPageLink: string, callback: ServiceCallback<StorageAccountInformationListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
The callback
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.
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.
The optional parameters
The callback
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<StorageAccountsListSasTokensResponse>
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
- callback
The callback
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.
- callback
The callback
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
- callback
The callback
listSasTokensNext(string, ServiceCallback<SasTokenInformationListResult>)
function listSasTokensNext(nextPageLink: string, callback: ServiceCallback<SasTokenInformationListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- callback
The callback
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
- callback
The callback
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.
- callback
The callback
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
- callback
The callback
listStorageContainersNext(string, ServiceCallback<StorageContainerListResult>)
function listStorageContainersNext(nextPageLink: string, callback: ServiceCallback<StorageContainerListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- callback
The callback
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
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
The optional parameters
- callback
-
ServiceCallback<void>
The callback