StorageAccounts Interface

public interface StorageAccounts

Resource collection API of StorageAccounts.

Method Summary

Modifier and Type Method and Description
abstract void add(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters)

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

abstract Response<Void> addWithResponse(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters, Context context)

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

abstract void delete(String resourceGroupName, String accountName, String storageAccountName)

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

abstract Response<Void> deleteWithResponse(String resourceGroupName, String accountName, String storageAccountName, Context context)

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

abstract StorageAccountInformation get(String resourceGroupName, String accountName, String storageAccountName)

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

abstract StorageContainer getStorageContainer(String resourceGroupName, String accountName, String storageAccountName, String containerName)

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

abstract Response<StorageContainer> getStorageContainerWithResponse(String resourceGroupName, String accountName, String storageAccountName, String containerName, Context context)

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

abstract Response<StorageAccountInformation> getWithResponse(String resourceGroupName, String accountName, String storageAccountName, Context context)

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

abstract PagedIterable<StorageAccountInformation> listByAccount(String resourceGroupName, String accountName)

Gets the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics account.

abstract PagedIterable<StorageAccountInformation> listByAccount(String resourceGroupName, String accountName, String filter, Integer top, Integer skip, String select, String orderby, Boolean count, Context context)

Gets the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics account.

abstract PagedIterable<SasTokenInformation> listSasTokens(String resourceGroupName, String accountName, String storageAccountName, String containerName)

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

abstract PagedIterable<SasTokenInformation> listSasTokens(String resourceGroupName, String accountName, String storageAccountName, String containerName, Context context)

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

abstract PagedIterable<StorageContainer> listStorageContainers(String resourceGroupName, String accountName, String storageAccountName)

Lists the Azure Storage containers, if any, associated with the specified Data Lake Analytics and Azure Storage account combination.

abstract PagedIterable<StorageContainer> listStorageContainers(String resourceGroupName, String accountName, String storageAccountName, Context context)

Lists the Azure Storage containers, if any, associated with the specified Data Lake Analytics and Azure Storage account combination.

abstract void update(String resourceGroupName, String accountName, String storageAccountName)

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

abstract Response<Void> updateWithResponse(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters, Context context)

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

Method Details

add

public abstract void add(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters)

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

Parameters:

resourceGroupName - The name of the Azure resource group.
accountName - The name of the Data Lake Analytics account.
storageAccountName - The name of the Azure Storage account to add.
parameters - The parameters containing the access key and optional suffix for the Azure Storage Account.

addWithResponse

public abstract Response addWithResponse(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters, Context context)

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

Parameters:

resourceGroupName - The name of the Azure resource group.
accountName - The name of the Data Lake Analytics account.
storageAccountName - The name of the Azure Storage account to add.
parameters - The parameters containing the access key and optional suffix for the Azure Storage Account.
context - The context to associate with this operation.

Returns:

delete

public abstract void delete(String resourceGroupName, String accountName, String storageAccountName)

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

Parameters:

resourceGroupName - The name of the Azure resource group.
accountName - The name of the Data Lake Analytics account.
storageAccountName - The name of the Azure Storage account to remove.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String accountName, String storageAccountName, Context context)

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

Parameters:

resourceGroupName - The name of the Azure resource group.
accountName - The name of the Data Lake Analytics account.
storageAccountName - The name of the Azure Storage account to remove.
context - The context to associate with this operation.

Returns:

get

public abstract StorageAccountInformation get(String resourceGroupName, String accountName, String storageAccountName)

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

Parameters:

resourceGroupName - The name of the Azure resource group.
accountName - The name of the Data Lake Analytics account.
storageAccountName - The name of the Azure Storage account for which to retrieve the details.

Returns:

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

getStorageContainer

public abstract StorageContainer getStorageContainer(String resourceGroupName, String accountName, String storageAccountName, String containerName)

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

Parameters:

resourceGroupName - The name of the Azure resource group.
accountName - The name of the Data Lake Analytics account.
storageAccountName - The name of the Azure storage account from which to retrieve the blob container.
containerName - The name of the Azure storage container to retrieve.

Returns:

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

getStorageContainerWithResponse

public abstract Response getStorageContainerWithResponse(String resourceGroupName, String accountName, String storageAccountName, String containerName, Context context)

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

Parameters:

resourceGroupName - The name of the Azure resource group.
accountName - The name of the Data Lake Analytics account.
storageAccountName - The name of the Azure storage account from which to retrieve the blob container.
containerName - The name of the Azure storage container to retrieve.
context - The context to associate with this operation.

Returns:

the specified Azure Storage container associated with the given Data Lake Analytics and Azure Storage accounts along with Response<T>.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String accountName, String storageAccountName, Context context)

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

Parameters:

resourceGroupName - The name of the Azure resource group.
accountName - The name of the Data Lake Analytics account.
storageAccountName - The name of the Azure Storage account for which to retrieve the details.
context - The context to associate with this operation.

Returns:

the specified Azure Storage account linked to the given Data Lake Analytics account along with Response<T>.

listByAccount

public abstract PagedIterable listByAccount(String resourceGroupName, String accountName)

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.

Parameters:

resourceGroupName - The name of the Azure resource group.
accountName - The name of the Data Lake Analytics account.

Returns:

the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics account as paginated response with PagedIterable<T>.

listByAccount

public abstract PagedIterable listByAccount(String resourceGroupName, String accountName, String filter, Integer top, Integer skip, String select, String orderby, Boolean count, Context context)

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.

Parameters:

resourceGroupName - The name of the Azure resource group.
accountName - The name of the Data Lake Analytics account.
filter - The OData filter. Optional.
top - The number of items to return. Optional.
skip - The number of items to skip over before returning elements. Optional.
select - OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional.
orderby - OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional.
count - The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.
context - The context to associate with this operation.

Returns:

the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics account as paginated response with PagedIterable<T>.

listSasTokens

public abstract PagedIterable listSasTokens(String resourceGroupName, String accountName, String storageAccountName, String containerName)

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

Parameters:

resourceGroupName - The name of the Azure resource group.
accountName - The name of the Data Lake Analytics account.
storageAccountName - The name of the Azure storage account for which the SAS token is being requested.
containerName - The name of the Azure storage container for which the SAS token is being requested.

Returns:

the SAS token associated with the specified Data Lake Analytics and Azure Storage account and container combination as paginated response with PagedIterable<T>.

listSasTokens

public abstract PagedIterable listSasTokens(String resourceGroupName, String accountName, String storageAccountName, String containerName, Context context)

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

Parameters:

resourceGroupName - The name of the Azure resource group.
accountName - The name of the Data Lake Analytics account.
storageAccountName - The name of the Azure storage account for which the SAS token is being requested.
containerName - The name of the Azure storage container for which the SAS token is being requested.
context - The context to associate with this operation.

Returns:

the SAS token associated with the specified Data Lake Analytics and Azure Storage account and container combination as paginated response with PagedIterable<T>.

listStorageContainers

public abstract PagedIterable listStorageContainers(String resourceGroupName, String accountName, String storageAccountName)

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.

Parameters:

resourceGroupName - The name of the Azure resource group.
accountName - The name of the Data Lake Analytics account.
storageAccountName - The name of the Azure storage account from which to list blob containers.

Returns:

the list of blob containers associated with the storage account attached to the Data Lake Analytics account as paginated response with PagedIterable<T>.

listStorageContainers

public abstract PagedIterable listStorageContainers(String resourceGroupName, String accountName, String storageAccountName, Context context)

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.

Parameters:

resourceGroupName - The name of the Azure resource group.
accountName - The name of the Data Lake Analytics account.
storageAccountName - The name of the Azure storage account from which to list blob containers.
context - The context to associate with this operation.

Returns:

the list of blob containers associated with the storage account attached to the Data Lake Analytics account as paginated response with PagedIterable<T>.

update

public abstract void update(String resourceGroupName, String accountName, String storageAccountName)

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

Parameters:

resourceGroupName - The name of the Azure resource group.
accountName - The name of the Data Lake Analytics account.
storageAccountName - The Azure Storage account to modify.

updateWithResponse

public abstract Response updateWithResponse(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters, Context context)

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

Parameters:

resourceGroupName - The name of the Azure resource group.
accountName - The name of the Data Lake Analytics account.
storageAccountName - The Azure Storage account to modify.
parameters - The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change.
context - The context to associate with this operation.

Returns:

Applies to