FirewallRules Interface

public interface FirewallRules

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

Method Summary

Modifier and Type Method and Description
FirewallRule createOrUpdate(String resourceGroupName, String accountName, String firewallRuleName, FirewallRule parameters)

Creates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule.

Observable<FirewallRule> createOrUpdateAsync(String resourceGroupName, String accountName, String firewallRuleName, FirewallRule parameters)

Creates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule.

ServiceFuture<FirewallRule> createOrUpdateAsync(String resourceGroupName, String accountName, String firewallRuleName, FirewallRule parameters, final ServiceCallback<FirewallRule> serviceCallback)

Creates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule.

Observable<ServiceResponse<FirewallRule>> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String accountName, String firewallRuleName, FirewallRule parameters)

Creates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule.

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

Deletes the specified firewall rule from the specified Data Lake Analytics account.

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

Deletes the specified firewall rule from the specified Data Lake Analytics account.

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

Deletes the specified firewall rule from the specified Data Lake Analytics account.

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

Deletes the specified firewall rule from the specified Data Lake Analytics account.

FirewallRule get(String resourceGroupName, String accountName, String firewallRuleName)

Gets the specified Data Lake Analytics firewall rule.

Observable<FirewallRule> getAsync(String resourceGroupName, String accountName, String firewallRuleName)

Gets the specified Data Lake Analytics firewall rule.

ServiceFuture<FirewallRule> getAsync(String resourceGroupName, String accountName, String firewallRuleName, final ServiceCallback<FirewallRule> serviceCallback)

Gets the specified Data Lake Analytics firewall rule.

Observable<ServiceResponse<FirewallRule>> getWithServiceResponseAsync(String resourceGroupName, String accountName, String firewallRuleName)

Gets the specified Data Lake Analytics firewall rule.

PagedList<FirewallRule> listByAccount(final String resourceGroupName, final String accountName)

Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.

Observable<Page<FirewallRule>> listByAccountAsync(final String resourceGroupName, final String accountName)

Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.

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

Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.

PagedList<FirewallRule> listByAccountNext(final String nextPageLink)

Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.

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

Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.

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

Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.

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

Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.

Observable<ServiceResponse<Page<FirewallRule>>> listByAccountWithServiceResponseAsync(final String resourceGroupName, final String accountName)

Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.

FirewallRule update(String resourceGroupName, String accountName, String firewallRuleName)

Updates the specified firewall rule.

FirewallRule update(String resourceGroupName, String accountName, String firewallRuleName, UpdateFirewallRuleParameters parameters)

Updates the specified firewall rule.

Observable<FirewallRule> updateAsync(String resourceGroupName, String accountName, String firewallRuleName)

Updates the specified firewall rule.

ServiceFuture<FirewallRule> updateAsync(String resourceGroupName, String accountName, String firewallRuleName, final ServiceCallback<FirewallRule> serviceCallback)

Updates the specified firewall rule.

Observable<FirewallRule> updateAsync(String resourceGroupName, String accountName, String firewallRuleName, UpdateFirewallRuleParameters parameters)

Updates the specified firewall rule.

ServiceFuture<FirewallRule> updateAsync(String resourceGroupName, String accountName, String firewallRuleName, UpdateFirewallRuleParameters parameters, final ServiceCallback<FirewallRule> serviceCallback)

Updates the specified firewall rule.

Observable<ServiceResponse<FirewallRule>> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String firewallRuleName)

Updates the specified firewall rule.

Observable<ServiceResponse<FirewallRule>> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String firewallRuleName, UpdateFirewallRuleParameters parameters)

Updates the specified firewall rule.

Method Details

createOrUpdate

public FirewallRule createOrUpdate(String resourceGroupName, String accountName, String firewallRuleName, FirewallRule parameters)

Creates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule.

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 add or replace the firewall rule.
firewallRuleName - The name of the firewall rule to create or update.
parameters - Parameters supplied to create or update the firewall rule.

Returns:

the FirewallRule 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

createOrUpdateAsync

public Observable createOrUpdateAsync(String resourceGroupName, String accountName, String firewallRuleName, FirewallRule parameters)

Creates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule.

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 add or replace the firewall rule.
firewallRuleName - The name of the firewall rule to create or update.
parameters - Parameters supplied to create or update the firewall rule.

Returns:

the observable to the FirewallRule object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

createOrUpdateAsync

public ServiceFuture createOrUpdateAsync(String resourceGroupName, String accountName, String firewallRuleName, FirewallRule parameters, final ServiceCallback serviceCallback)

Creates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule.

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 add or replace the firewall rule.
firewallRuleName - The name of the firewall rule to create or update.
parameters - Parameters supplied to create or update the firewall rule.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

createOrUpdateWithServiceResponseAsync

public Observable> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String accountName, String firewallRuleName, FirewallRule parameters)

Creates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule.

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 add or replace the firewall rule.
firewallRuleName - The name of the firewall rule to create or update.
parameters - Parameters supplied to create or update the firewall rule.

Returns:

the observable to the FirewallRule object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

delete

public void delete(String resourceGroupName, String accountName, String firewallRuleName)

Deletes the specified firewall rule from the specified 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 delete the firewall rule.
firewallRuleName - The name of the firewall rule to delete.

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 firewallRuleName)

Deletes the specified firewall rule from the specified 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 delete the firewall rule.
firewallRuleName - The name of the firewall rule to delete.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteAsync

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

Deletes the specified firewall rule from the specified 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 delete the firewall rule.
firewallRuleName - The name of the firewall rule to delete.
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 firewallRuleName)

Deletes the specified firewall rule from the specified 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 delete the firewall rule.
firewallRuleName - The name of the firewall rule to delete.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

get

public FirewallRule get(String resourceGroupName, String accountName, String firewallRuleName)

Gets the specified Data Lake Analytics firewall rule.

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 get the firewall rule.
firewallRuleName - The name of the firewall rule to retrieve.

Returns:

the FirewallRule 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 firewallRuleName)

Gets the specified Data Lake Analytics firewall rule.

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 get the firewall rule.
firewallRuleName - The name of the firewall rule to retrieve.

Returns:

the observable to the FirewallRule object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAsync

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

Gets the specified Data Lake Analytics firewall rule.

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 get the firewall rule.
firewallRuleName - The name of the firewall rule to retrieve.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getWithServiceResponseAsync

public Observable> getWithServiceResponseAsync(String resourceGroupName, String accountName, String firewallRuleName)

Gets the specified Data Lake Analytics firewall rule.

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 get the firewall rule.
firewallRuleName - The name of the firewall rule to retrieve.

Returns:

the observable to the FirewallRule object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccount

public PagedList listByAccount(final String resourceGroupName, final String accountName)

Lists the Data Lake Analytics firewall rules within the specified 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 get the firewall rules.

Returns:

the PagedList<FirewallRule> 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)

Lists the Data Lake Analytics firewall rules within the specified 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 get the firewall rules.

Returns:

the observable to the PagedList<FirewallRule> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccountAsync

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

Lists the Data Lake Analytics firewall rules within the specified 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 get the firewall rules.
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)

Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.

Parameters:

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

Returns:

the PagedList<FirewallRule> 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)

Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.

Parameters:

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

Returns:

the observable to the PagedList<FirewallRule> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccountNextAsync

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

Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.

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)

Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.

Parameters:

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

Returns:

the observable to the PagedList<FirewallRule> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccountWithServiceResponseAsync

public Observable>> listByAccountWithServiceResponseAsync(final String resourceGroupName, final String accountName)

Lists the Data Lake Analytics firewall rules within the specified 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 get the firewall rules.

Returns:

the observable to the PagedList<FirewallRule> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

update

public FirewallRule update(String resourceGroupName, String accountName, String firewallRuleName)

Updates the specified firewall rule.

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 update the firewall rule.
firewallRuleName - The name of the firewall rule to update.

Returns:

the FirewallRule 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

update

public FirewallRule update(String resourceGroupName, String accountName, String firewallRuleName, UpdateFirewallRuleParameters parameters)

Updates the specified firewall rule.

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 update the firewall rule.
firewallRuleName - The name of the firewall rule to update.
parameters - Parameters supplied to update the firewall rule.

Returns:

the FirewallRule 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

updateAsync

public Observable updateAsync(String resourceGroupName, String accountName, String firewallRuleName)

Updates the specified firewall rule.

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 update the firewall rule.
firewallRuleName - The name of the firewall rule to update.

Returns:

the observable to the FirewallRule object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateAsync

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

Updates the specified firewall rule.

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 update the firewall rule.
firewallRuleName - The name of the firewall rule to update.
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 firewallRuleName, UpdateFirewallRuleParameters parameters)

Updates the specified firewall rule.

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 update the firewall rule.
firewallRuleName - The name of the firewall rule to update.
parameters - Parameters supplied to update the firewall rule.

Returns:

the observable to the FirewallRule object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateAsync

public ServiceFuture updateAsync(String resourceGroupName, String accountName, String firewallRuleName, UpdateFirewallRuleParameters parameters, final ServiceCallback serviceCallback)

Updates the specified firewall rule.

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 update the firewall rule.
firewallRuleName - The name of the firewall rule to update.
parameters - Parameters supplied to update the firewall rule.
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 firewallRuleName)

Updates the specified firewall rule.

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 update the firewall rule.
firewallRuleName - The name of the firewall rule to update.

Returns:

the observable to the FirewallRule object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateWithServiceResponseAsync

public Observable> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String firewallRuleName, UpdateFirewallRuleParameters parameters)

Updates the specified firewall rule.

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 update the firewall rule.
firewallRuleName - The name of the firewall rule to update.
parameters - Parameters supplied to update the firewall rule.

Returns:

the observable to the FirewallRule object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to