/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.datalake.analytics; import com.microsoft.azure.CloudException; import com.microsoft.azure.ListOperationCallback; import com.microsoft.azure.management.datalake.analytics.models.DataLakeAnalyticsAccount; import com.microsoft.azure.management.datalake.analytics.models.DataLakeAnalyticsAccountUpdateParameters; import com.microsoft.azure.Page; import com.microsoft.azure.PagedList; import com.microsoft.rest.ServiceCallback; import com.microsoft.rest.ServiceFuture; import com.microsoft.rest.ServiceResponse; import java.util.List; import rx.Observable; /** * An instance of this class provides access to all the operations defined * in Accounts. */ public interface Accounts { /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the PagedList<DataLakeAnalyticsAccount> object if successful. */ PagedList<DataLakeAnalyticsAccount> listByResourceGroup(final String resourceGroupName); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ ServiceFuture<List<DataLakeAnalyticsAccount>> listByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback<DataLakeAnalyticsAccount> serviceCallback); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<DataLakeAnalyticsAccount> object */ Observable<Page<DataLakeAnalyticsAccount>> listByResourceGroupAsync(final String resourceGroupName); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<DataLakeAnalyticsAccount> object */ Observable<ServiceResponse<Page<DataLakeAnalyticsAccount>>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param filter OData filter. Optional. * @param top The number of items to return. Optional. * @param skip The number of items to skip over before returning elements. Optional. * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param 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. * @param 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. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the PagedList<DataLakeAnalyticsAccount> object if successful. */ PagedList<DataLakeAnalyticsAccount> listByResourceGroup(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param filter OData filter. Optional. * @param top The number of items to return. Optional. * @param skip The number of items to skip over before returning elements. Optional. * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param 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. * @param 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. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ ServiceFuture<List<DataLakeAnalyticsAccount>> listByResourceGroupAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback<DataLakeAnalyticsAccount> serviceCallback); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param filter OData filter. Optional. * @param top The number of items to return. Optional. * @param skip The number of items to skip over before returning elements. Optional. * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param 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. * @param 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. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<DataLakeAnalyticsAccount> object */ Observable<Page<DataLakeAnalyticsAccount>> listByResourceGroupAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param filter OData filter. Optional. * @param top The number of items to return. Optional. * @param skip The number of items to skip over before returning elements. Optional. * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param 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. * @param 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. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<DataLakeAnalyticsAccount> object */ Observable<ServiceResponse<Page<DataLakeAnalyticsAccount>>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the PagedList<DataLakeAnalyticsAccount> object if successful. */ PagedList<DataLakeAnalyticsAccount> list(); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ ServiceFuture<List<DataLakeAnalyticsAccount>> listAsync(final ListOperationCallback<DataLakeAnalyticsAccount> serviceCallback); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<DataLakeAnalyticsAccount> object */ Observable<Page<DataLakeAnalyticsAccount>> listAsync(); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<DataLakeAnalyticsAccount> object */ Observable<ServiceResponse<Page<DataLakeAnalyticsAccount>>> listWithServiceResponseAsync(); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * * @param filter OData filter. Optional. * @param top The number of items to return. Optional. * @param skip The number of items to skip over before returning elements. Optional. * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param 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. * @param 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. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the PagedList<DataLakeAnalyticsAccount> object if successful. */ PagedList<DataLakeAnalyticsAccount> list(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * * @param filter OData filter. Optional. * @param top The number of items to return. Optional. * @param skip The number of items to skip over before returning elements. Optional. * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param 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. * @param 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. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ ServiceFuture<List<DataLakeAnalyticsAccount>> listAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback<DataLakeAnalyticsAccount> serviceCallback); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * * @param filter OData filter. Optional. * @param top The number of items to return. Optional. * @param skip The number of items to skip over before returning elements. Optional. * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param 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. * @param 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. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<DataLakeAnalyticsAccount> object */ Observable<Page<DataLakeAnalyticsAccount>> listAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * * @param filter OData filter. Optional. * @param top The number of items to return. Optional. * @param skip The number of items to skip over before returning elements. Optional. * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param 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. * @param 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. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<DataLakeAnalyticsAccount> object */ Observable<ServiceResponse<Page<DataLakeAnalyticsAccount>>> listWithServiceResponseAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Gets details of the specified Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to retrieve. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the DataLakeAnalyticsAccount object if successful. */ DataLakeAnalyticsAccount get(String resourceGroupName, String accountName); /** * Gets details of the specified Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to retrieve. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ ServiceFuture<DataLakeAnalyticsAccount> getAsync(String resourceGroupName, String accountName, final ServiceCallback<DataLakeAnalyticsAccount> serviceCallback); /** * Gets details of the specified Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to retrieve. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the DataLakeAnalyticsAccount object */ Observable<DataLakeAnalyticsAccount> getAsync(String resourceGroupName, String accountName); /** * Gets details of the specified Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to retrieve. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the DataLakeAnalyticsAccount object */ Observable<ServiceResponse<DataLakeAnalyticsAccount>> getWithServiceResponseAsync(String resourceGroupName, String accountName); /** * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to delete * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent */ void delete(String resourceGroupName, String accountName); /** * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to delete * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ ServiceFuture<Void> deleteAsync(String resourceGroupName, String accountName, final ServiceCallback<Void> serviceCallback); /** * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to delete * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ Observable<Void> deleteAsync(String resourceGroupName, String accountName); /** * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to delete * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ Observable<ServiceResponse<Void>> deleteWithServiceResponseAsync(String resourceGroupName, String accountName); /** * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to delete * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent */ void beginDelete(String resourceGroupName, String accountName); /** * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to delete * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ ServiceFuture<Void> beginDeleteAsync(String resourceGroupName, String accountName, final ServiceCallback<Void> serviceCallback); /** * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to delete * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ Observable<Void> beginDeleteAsync(String resourceGroupName, String accountName); /** * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to delete * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ Observable<ServiceResponse<Void>> beginDeleteWithServiceResponseAsync(String resourceGroupName, String accountName); /** * Creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account.the account will be associated with. * @param accountName The name of the Data Lake Analytics account to create. * @param parameters Parameters supplied to the create Data Lake Analytics account operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the DataLakeAnalyticsAccount object if successful. */ DataLakeAnalyticsAccount create(String resourceGroupName, String accountName, DataLakeAnalyticsAccount parameters); /** * Creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account.the account will be associated with. * @param accountName The name of the Data Lake Analytics account to create. * @param parameters Parameters supplied to the create Data Lake Analytics account operation. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ ServiceFuture<DataLakeAnalyticsAccount> createAsync(String resourceGroupName, String accountName, DataLakeAnalyticsAccount parameters, final ServiceCallback<DataLakeAnalyticsAccount> serviceCallback); /** * Creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account.the account will be associated with. * @param accountName The name of the Data Lake Analytics account to create. * @param parameters Parameters supplied to the create Data Lake Analytics account operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the DataLakeAnalyticsAccount object */ Observable<DataLakeAnalyticsAccount> createAsync(String resourceGroupName, String accountName, DataLakeAnalyticsAccount parameters); /** * Creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account.the account will be associated with. * @param accountName The name of the Data Lake Analytics account to create. * @param parameters Parameters supplied to the create Data Lake Analytics account operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the DataLakeAnalyticsAccount object */ Observable<ServiceResponse<DataLakeAnalyticsAccount>> createWithServiceResponseAsync(String resourceGroupName, String accountName, DataLakeAnalyticsAccount parameters); /** * Creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account.the account will be associated with. * @param accountName The name of the Data Lake Analytics account to create. * @param parameters Parameters supplied to the create Data Lake Analytics account operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the DataLakeAnalyticsAccount object if successful. */ DataLakeAnalyticsAccount beginCreate(String resourceGroupName, String accountName, DataLakeAnalyticsAccount parameters); /** * Creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account.the account will be associated with. * @param accountName The name of the Data Lake Analytics account to create. * @param parameters Parameters supplied to the create Data Lake Analytics account operation. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ ServiceFuture<DataLakeAnalyticsAccount> beginCreateAsync(String resourceGroupName, String accountName, DataLakeAnalyticsAccount parameters, final ServiceCallback<DataLakeAnalyticsAccount> serviceCallback); /** * Creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account.the account will be associated with. * @param accountName The name of the Data Lake Analytics account to create. * @param parameters Parameters supplied to the create Data Lake Analytics account operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the DataLakeAnalyticsAccount object */ Observable<DataLakeAnalyticsAccount> beginCreateAsync(String resourceGroupName, String accountName, DataLakeAnalyticsAccount parameters); /** * Creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account.the account will be associated with. * @param accountName The name of the Data Lake Analytics account to create. * @param parameters Parameters supplied to the create Data Lake Analytics account operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the DataLakeAnalyticsAccount object */ Observable<ServiceResponse<DataLakeAnalyticsAccount>> beginCreateWithServiceResponseAsync(String resourceGroupName, String accountName, DataLakeAnalyticsAccount parameters); /** * Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to update. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the DataLakeAnalyticsAccount object if successful. */ DataLakeAnalyticsAccount update(String resourceGroupName, String accountName); /** * Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to update. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ ServiceFuture<DataLakeAnalyticsAccount> updateAsync(String resourceGroupName, String accountName, final ServiceCallback<DataLakeAnalyticsAccount> serviceCallback); /** * Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to update. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the DataLakeAnalyticsAccount object */ Observable<DataLakeAnalyticsAccount> updateAsync(String resourceGroupName, String accountName); /** * Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to update. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the DataLakeAnalyticsAccount object */ Observable<ServiceResponse<DataLakeAnalyticsAccount>> updateWithServiceResponseAsync(String resourceGroupName, String accountName); /** * Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to update. * @param parameters Parameters supplied to the update Data Lake Analytics account operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the DataLakeAnalyticsAccount object if successful. */ DataLakeAnalyticsAccount update(String resourceGroupName, String accountName, DataLakeAnalyticsAccountUpdateParameters parameters); /** * Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to update. * @param parameters Parameters supplied to the update Data Lake Analytics account operation. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ ServiceFuture<DataLakeAnalyticsAccount> updateAsync(String resourceGroupName, String accountName, DataLakeAnalyticsAccountUpdateParameters parameters, final ServiceCallback<DataLakeAnalyticsAccount> serviceCallback); /** * Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to update. * @param parameters Parameters supplied to the update Data Lake Analytics account operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the DataLakeAnalyticsAccount object */ Observable<DataLakeAnalyticsAccount> updateAsync(String resourceGroupName, String accountName, DataLakeAnalyticsAccountUpdateParameters parameters); /** * Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to update. * @param parameters Parameters supplied to the update Data Lake Analytics account operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the DataLakeAnalyticsAccount object */ Observable<ServiceResponse<DataLakeAnalyticsAccount>> updateWithServiceResponseAsync(String resourceGroupName, String accountName, DataLakeAnalyticsAccountUpdateParameters parameters); /** * Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to update. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the DataLakeAnalyticsAccount object if successful. */ DataLakeAnalyticsAccount beginUpdate(String resourceGroupName, String accountName); /** * Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to update. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ ServiceFuture<DataLakeAnalyticsAccount> beginUpdateAsync(String resourceGroupName, String accountName, final ServiceCallback<DataLakeAnalyticsAccount> serviceCallback); /** * Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to update. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the DataLakeAnalyticsAccount object */ Observable<DataLakeAnalyticsAccount> beginUpdateAsync(String resourceGroupName, String accountName); /** * Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to update. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the DataLakeAnalyticsAccount object */ Observable<ServiceResponse<DataLakeAnalyticsAccount>> beginUpdateWithServiceResponseAsync(String resourceGroupName, String accountName); /** * Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to update. * @param parameters Parameters supplied to the update Data Lake Analytics account operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the DataLakeAnalyticsAccount object if successful. */ DataLakeAnalyticsAccount beginUpdate(String resourceGroupName, String accountName, DataLakeAnalyticsAccountUpdateParameters parameters); /** * Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to update. * @param parameters Parameters supplied to the update Data Lake Analytics account operation. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ ServiceFuture<DataLakeAnalyticsAccount> beginUpdateAsync(String resourceGroupName, String accountName, DataLakeAnalyticsAccountUpdateParameters parameters, final ServiceCallback<DataLakeAnalyticsAccount> serviceCallback); /** * Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to update. * @param parameters Parameters supplied to the update Data Lake Analytics account operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the DataLakeAnalyticsAccount object */ Observable<DataLakeAnalyticsAccount> beginUpdateAsync(String resourceGroupName, String accountName, DataLakeAnalyticsAccountUpdateParameters parameters); /** * Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to update. * @param parameters Parameters supplied to the update Data Lake Analytics account operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the DataLakeAnalyticsAccount object */ Observable<ServiceResponse<DataLakeAnalyticsAccount>> beginUpdateWithServiceResponseAsync(String resourceGroupName, String accountName, DataLakeAnalyticsAccountUpdateParameters parameters); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the PagedList<DataLakeAnalyticsAccount> object if successful. */ PagedList<DataLakeAnalyticsAccount> listByResourceGroupNext(final String nextPageLink); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @param serviceFuture the ServiceFuture object tracking the Retrofit calls * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ ServiceFuture<List<DataLakeAnalyticsAccount>> listByResourceGroupNextAsync(final String nextPageLink, final ServiceFuture<List<DataLakeAnalyticsAccount>> serviceFuture, final ListOperationCallback<DataLakeAnalyticsAccount> serviceCallback); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<DataLakeAnalyticsAccount> object */ Observable<Page<DataLakeAnalyticsAccount>> listByResourceGroupNextAsync(final String nextPageLink); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<DataLakeAnalyticsAccount> object */ Observable<ServiceResponse<Page<DataLakeAnalyticsAccount>>> listByResourceGroupNextWithServiceResponseAsync(final String nextPageLink); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the PagedList<DataLakeAnalyticsAccount> object if successful. */ PagedList<DataLakeAnalyticsAccount> listNext(final String nextPageLink); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @param serviceFuture the ServiceFuture object tracking the Retrofit calls * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ ServiceFuture<List<DataLakeAnalyticsAccount>> listNextAsync(final String nextPageLink, final ServiceFuture<List<DataLakeAnalyticsAccount>> serviceFuture, final ListOperationCallback<DataLakeAnalyticsAccount> serviceCallback); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<DataLakeAnalyticsAccount> object */ Observable<Page<DataLakeAnalyticsAccount>> listNextAsync(final String nextPageLink); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<DataLakeAnalyticsAccount> object */ Observable<ServiceResponse<Page<DataLakeAnalyticsAccount>>> listNextWithServiceResponseAsync(final String nextPageLink); }