StorageAccounts Interface

public interface StorageAccounts

An instance of this class provides access to all the operations defined in StorageAccounts.

Method Summary

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

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

Observable<Void> addAsync(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters)

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

ServiceFuture<Void> addAsync(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters, final ServiceCallback<Void> serviceCallback)

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

Observable<ServiceResponse<Void>> addWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters)

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

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

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

Observable<Void> deleteAsync(String resourceGroupName, String accountName, String storageAccountName)

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

ServiceFuture<Void> deleteAsync(String resourceGroupName, String accountName, String storageAccountName, final ServiceCallback<Void> serviceCallback)

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

Observable<ServiceResponse<Void>> deleteWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName)

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

StorageAccountInfo get(String resourceGroupName, String accountName, String storageAccountName)

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

Observable<StorageAccountInfo> getAsync(String resourceGroupName, String accountName, String storageAccountName)

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

ServiceFuture<StorageAccountInfo> getAsync(String resourceGroupName, String accountName, String storageAccountName, final ServiceCallback<StorageAccountInfo> serviceCallback)

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

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.

Observable<StorageContainer> getStorageContainerAsync(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.

ServiceFuture<StorageContainer> getStorageContainerAsync(String resourceGroupName, String accountName, String storageAccountName, String containerName, final ServiceCallback<StorageContainer> serviceCallback)

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

Observable<ServiceResponse<StorageContainer>> getStorageContainerWithServiceResponseAsync(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.

Observable<ServiceResponse<StorageAccountInfo>> getWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName)

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

PagedList<StorageAccountInfo> listByAccount(final String resourceGroupName, final 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.

PagedList<StorageAccountInfo> listByAccount(final String resourceGroupName, final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count)

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.

Observable<Page<StorageAccountInfo>> listByAccountAsync(final String resourceGroupName, final 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.

ServiceFuture<List<StorageAccountInfo>> listByAccountAsync(final String resourceGroupName, final String accountName, final ListOperationCallback<StorageAccountInfo> serviceCallback)

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.

Observable<Page<StorageAccountInfo>> listByAccountAsync(final String resourceGroupName, final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count)

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.

ServiceFuture<List<StorageAccountInfo>> listByAccountAsync(final String resourceGroupName, final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback<StorageAccountInfo> serviceCallback)

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.

PagedList<StorageAccountInfo> listByAccountNext(final String nextPageLink)

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.

Observable<Page<StorageAccountInfo>> listByAccountNextAsync(final String nextPageLink)

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.

ServiceFuture<List<StorageAccountInfo>> listByAccountNextAsync(final String nextPageLink, final ServiceFuture<List<StorageAccountInfo>> serviceFuture, final ListOperationCallback<StorageAccountInfo> serviceCallback)

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.

Observable<ServiceResponse<Page<StorageAccountInfo>>> listByAccountNextWithServiceResponseAsync(final String nextPageLink)

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.

Observable<ServiceResponse<Page<StorageAccountInfo>>> listByAccountWithServiceResponseAsync(final String resourceGroupName, final 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.

Observable<ServiceResponse<Page<StorageAccountInfo>>> listByAccountWithServiceResponseAsync(final String resourceGroupName, final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count)

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.

PagedList<SasTokenInfo> listSasTokens(final String resourceGroupName, final String accountName, final String storageAccountName, final String containerName)

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

Observable<Page<SasTokenInfo>> listSasTokensAsync(final String resourceGroupName, final String accountName, final String storageAccountName, final String containerName)

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

ServiceFuture<List<SasTokenInfo>> listSasTokensAsync(final String resourceGroupName, final String accountName, final String storageAccountName, final String containerName, final ListOperationCallback<SasTokenInfo> serviceCallback)

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

PagedList<SasTokenInfo> listSasTokensNext(final String nextPageLink)

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

Observable<Page<SasTokenInfo>> listSasTokensNextAsync(final String nextPageLink)

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

ServiceFuture<List<SasTokenInfo>> listSasTokensNextAsync(final String nextPageLink, final ServiceFuture<List<SasTokenInfo>> serviceFuture, final ListOperationCallback<SasTokenInfo> serviceCallback)

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

Observable<ServiceResponse<Page<SasTokenInfo>>> listSasTokensNextWithServiceResponseAsync(final String nextPageLink)

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

Observable<ServiceResponse<Page<SasTokenInfo>>> listSasTokensWithServiceResponseAsync(final String resourceGroupName, final String accountName, final String storageAccountName, final String containerName)

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

PagedList<StorageContainer> listStorageContainers(final String resourceGroupName, final String accountName, final 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.

Observable<Page<StorageContainer>> listStorageContainersAsync(final String resourceGroupName, final String accountName, final 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.

ServiceFuture<List<StorageContainer>> listStorageContainersAsync(final String resourceGroupName, final String accountName, final String storageAccountName, final ListOperationCallback<StorageContainer> serviceCallback)

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.

PagedList<StorageContainer> listStorageContainersNext(final String nextPageLink)

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.

Observable<Page<StorageContainer>> listStorageContainersNextAsync(final String nextPageLink)

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.

ServiceFuture<List<StorageContainer>> listStorageContainersNextAsync(final String nextPageLink, final ServiceFuture<List<StorageContainer>> serviceFuture, final ListOperationCallback<StorageContainer> serviceCallback)

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.

Observable<ServiceResponse<Page<StorageContainer>>> listStorageContainersNextWithServiceResponseAsync(final String nextPageLink)

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.

Observable<ServiceResponse<Page<StorageContainer>>> listStorageContainersWithServiceResponseAsync(final String resourceGroupName, final String accountName, final 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.

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.

void update(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters)

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

Observable<Void> updateAsync(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.

ServiceFuture<Void> updateAsync(String resourceGroupName, String accountName, String storageAccountName, final ServiceCallback<Void> serviceCallback)

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

Observable<Void> updateAsync(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters)

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

ServiceFuture<Void> updateAsync(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters, final ServiceCallback<Void> serviceCallback)

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

Observable<ServiceResponse<Void>> updateWithServiceResponseAsync(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.

Observable<ServiceResponse<Void>> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters)

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 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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account to which to add the Azure Storage 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.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

addAsync

public Observable addAsync(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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account to which to add the Azure Storage 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.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

addAsync

public ServiceFuture addAsync(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters, final ServiceCallback serviceCallback)

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

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account to which to add the Azure Storage 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.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

addWithServiceResponseAsync

public Observable<>> addWithServiceResponseAsync(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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account to which to add the Azure Storage 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.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

delete

public 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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account from which to remove the Azure Storage account.
storageAccountName - The name of the Azure Storage account to remove

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

deleteAsync

public Observable deleteAsync(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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account from which to remove the Azure Storage account.
storageAccountName - The name of the Azure Storage account to remove

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteAsync

public ServiceFuture deleteAsync(String resourceGroupName, String accountName, String storageAccountName, final ServiceCallback serviceCallback)

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

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account from which to remove the Azure Storage account.
storageAccountName - The name of the Azure Storage account to remove
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteWithServiceResponseAsync

public Observable<>> deleteWithServiceResponseAsync(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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account from which to remove the Azure Storage account.
storageAccountName - The name of the Azure Storage account to remove

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

get

public StorageAccountInfo 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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account from which to retrieve Azure storage account details.
storageAccountName - The name of the Azure Storage account for which to retrieve the details.

Returns:

the StorageAccountInfo object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getAsync

public Observable getAsync(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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account from which to retrieve Azure storage account details.
storageAccountName - The name of the Azure Storage account for which to retrieve the details.

Returns:

the observable to the StorageAccountInfo object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAsync

public ServiceFuture getAsync(String resourceGroupName, String accountName, String storageAccountName, final ServiceCallback serviceCallback)

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

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account from which to retrieve Azure storage account details.
storageAccountName - The name of the Azure Storage account for which to retrieve the details.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getStorageContainer

public 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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account for which to retrieve blob container.
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 StorageContainer object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getStorageContainerAsync

public Observable getStorageContainerAsync(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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account for which to retrieve blob container.
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 observable to the StorageContainer object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getStorageContainerAsync

public ServiceFuture getStorageContainerAsync(String resourceGroupName, String accountName, String storageAccountName, String containerName, final ServiceCallback serviceCallback)

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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account for which to retrieve blob container.
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
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getStorageContainerWithServiceResponseAsync

public Observable<>> getStorageContainerWithServiceResponseAsync(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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account for which to retrieve blob container.
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 observable to the StorageContainer object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getWithServiceResponseAsync

public Observable<>> getWithServiceResponseAsync(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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account from which to retrieve Azure storage account details.
storageAccountName - The name of the Azure Storage account for which to retrieve the details.

Returns:

the observable to the StorageAccountInfo object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccount

public PagedList listByAccount(final String resourceGroupName, final 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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account for which to list Azure Storage accounts.

Returns:

the PagedList<StorageAccountInfo> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listByAccount

public PagedList listByAccount(final String resourceGroupName, final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count)

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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account for which to list Azure Storage accounts.
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.

Returns:

the PagedList<StorageAccountInfo> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listByAccountAsync

public Observable<>> listByAccountAsync(final String resourceGroupName, final 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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account for which to list Azure Storage accounts.

Returns:

the observable to the PagedList<StorageAccountInfo> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccountAsync

public ServiceFuture<>> listByAccountAsync(final String resourceGroupName, final String accountName, final ListOperationCallback serviceCallback)

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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account for which to list Azure Storage accounts.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccountAsync

public Observable<>> listByAccountAsync(final String resourceGroupName, final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count)

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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account for which to list Azure Storage accounts.
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.

Returns:

the observable to the PagedList<StorageAccountInfo> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccountAsync

public ServiceFuture<>> listByAccountAsync(final String resourceGroupName, final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback)

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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account for which to list Azure Storage accounts.
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.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccountNext

public PagedList listByAccountNext(final String nextPageLink)

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:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<StorageAccountInfo> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listByAccountNextAsync

public Observable<>> listByAccountNextAsync(final String nextPageLink)

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:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<StorageAccountInfo> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccountNextAsync

public ServiceFuture<>> listByAccountNextAsync(final String nextPageLink, final ServiceFuture<>> serviceFuture, final ListOperationCallback serviceCallback)

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:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccountNextWithServiceResponseAsync

public Observable<><>>> listByAccountNextWithServiceResponseAsync(final String nextPageLink)

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:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<StorageAccountInfo> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccountWithServiceResponseAsync

public Observable<><>>> listByAccountWithServiceResponseAsync(final String resourceGroupName, final 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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account for which to list Azure Storage accounts.

Returns:

the observable to the PagedList<StorageAccountInfo> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccountWithServiceResponseAsync

public Observable<><>>> listByAccountWithServiceResponseAsync(final String resourceGroupName, final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count)

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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account for which to list Azure Storage accounts.
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.

Returns:

the observable to the PagedList<StorageAccountInfo> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listSasTokens

public PagedList listSasTokens(final String resourceGroupName, final String accountName, final String storageAccountName, final 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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account from which an Azure Storage account's SAS token is being requested.
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 PagedList<SasTokenInfo> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listSasTokensAsync

public Observable<>> listSasTokensAsync(final String resourceGroupName, final String accountName, final String storageAccountName, final 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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account from which an Azure Storage account's SAS token is being requested.
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 observable to the PagedList<SasTokenInfo> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listSasTokensAsync

public ServiceFuture<>> listSasTokensAsync(final String resourceGroupName, final String accountName, final String storageAccountName, final String containerName, final ListOperationCallback serviceCallback)

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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account from which an Azure Storage account's SAS token is being requested.
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.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listSasTokensNext

public PagedList listSasTokensNext(final String nextPageLink)

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

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<SasTokenInfo> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listSasTokensNextAsync

public Observable<>> listSasTokensNextAsync(final String nextPageLink)

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

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<SasTokenInfo> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listSasTokensNextAsync

public ServiceFuture<>> listSasTokensNextAsync(final String nextPageLink, final ServiceFuture<>> serviceFuture, final ListOperationCallback serviceCallback)

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

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listSasTokensNextWithServiceResponseAsync

public Observable<><>>> listSasTokensNextWithServiceResponseAsync(final String nextPageLink)

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

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<SasTokenInfo> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listSasTokensWithServiceResponseAsync

public Observable<><>>> listSasTokensWithServiceResponseAsync(final String resourceGroupName, final String accountName, final String storageAccountName, final 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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account from which an Azure Storage account's SAS token is being requested.
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 observable to the PagedList<SasTokenInfo> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listStorageContainers

public PagedList listStorageContainers(final String resourceGroupName, final String accountName, final 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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account for which to list Azure Storage blob containers.
storageAccountName - The name of the Azure storage account from which to list blob containers.

Returns:

the PagedList<StorageContainer> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listStorageContainersAsync

public Observable<>> listStorageContainersAsync(final String resourceGroupName, final String accountName, final 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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account for which to list Azure Storage blob containers.
storageAccountName - The name of the Azure storage account from which to list blob containers.

Returns:

the observable to the PagedList<StorageContainer> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listStorageContainersAsync

public ServiceFuture<>> listStorageContainersAsync(final String resourceGroupName, final String accountName, final String storageAccountName, final ListOperationCallback serviceCallback)

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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account for which to list Azure Storage blob containers.
storageAccountName - The name of the Azure storage account from which to list blob containers.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listStorageContainersNext

public PagedList listStorageContainersNext(final String nextPageLink)

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:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<StorageContainer> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listStorageContainersNextAsync

public Observable<>> listStorageContainersNextAsync(final String nextPageLink)

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:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<StorageContainer> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listStorageContainersNextAsync

public ServiceFuture<>> listStorageContainersNextAsync(final String nextPageLink, final ServiceFuture<>> serviceFuture, final ListOperationCallback serviceCallback)

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:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listStorageContainersNextWithServiceResponseAsync

public Observable<><>>> listStorageContainersNextWithServiceResponseAsync(final String nextPageLink)

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:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<StorageContainer> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listStorageContainersWithServiceResponseAsync

public Observable<><>>> listStorageContainersWithServiceResponseAsync(final String resourceGroupName, final String accountName, final 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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account for which to list Azure Storage blob containers.
storageAccountName - The name of the Azure storage account from which to list blob containers.

Returns:

the observable to the PagedList<StorageContainer> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

update

public 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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account to modify storage accounts in
storageAccountName - The Azure Storage account to modify

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

update

public void update(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters)

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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account to modify storage accounts in
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.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

updateAsync

public Observable updateAsync(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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account to modify storage accounts in
storageAccountName - The Azure Storage account to modify

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateAsync

public ServiceFuture updateAsync(String resourceGroupName, String accountName, String storageAccountName, final ServiceCallback serviceCallback)

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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account to modify storage accounts in
storageAccountName - The Azure Storage account to modify
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateAsync

public Observable updateAsync(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters)

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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account to modify storage accounts in
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.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateAsync

public ServiceFuture updateAsync(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters, final ServiceCallback serviceCallback)

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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account to modify storage accounts in
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.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateWithServiceResponseAsync

public Observable<>> updateWithServiceResponseAsync(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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account to modify storage accounts in
storageAccountName - The Azure Storage account to modify

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateWithServiceResponseAsync

public Observable<>> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters)

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 that contains the Data Lake Analytics account.
accountName - The name of the Data Lake Analytics account to modify storage accounts in
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.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to