Interface FirewallRules


public interface FirewallRules
An instance of this class provides access to all the operations defined in FirewallRules.
  • Method Details

    • listByAccount

      com.microsoft.azure.PagedList<FirewallRule> listByAccount(String resourceGroupName, 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.
      accountName - The name of the Data Lake Analytics account.
      Returns:
      the PagedList<FirewallRule> object if successful.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
      com.microsoft.azure.CloudException - thrown if the request is rejected by server
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent
    • listByAccountAsync

      com.microsoft.rest.ServiceFuture<List<FirewallRule>> listByAccountAsync(String resourceGroupName, String accountName, com.microsoft.azure.ListOperationCallback<FirewallRule> serviceCallback)
      Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      serviceCallback - the async ServiceCallback to handle successful and failed responses.
      Returns:
      the ServiceFuture object
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • listByAccountAsync

      rx.Observable<com.microsoft.azure.Page<FirewallRule>> listByAccountAsync(String resourceGroupName, 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.
      accountName - The name of the Data Lake Analytics account.
      Returns:
      the observable to the PagedList<FirewallRule> object
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • listByAccountWithServiceResponseAsync

      rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<FirewallRule>>> listByAccountWithServiceResponseAsync(String resourceGroupName, 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.
      accountName - The name of the Data Lake Analytics account.
      Returns:
      the observable to the PagedList<FirewallRule> object
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • createOrUpdate

      FirewallRule createOrUpdate(String resourceGroupName, String accountName, String firewallRuleName, String startIpAddress, String endIpAddress)
      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.
      accountName - The name of the Data Lake Analytics account.
      firewallRuleName - The name of the firewall rule to create or update.
      startIpAddress - The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      endIpAddress - The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      Returns:
      the FirewallRule object if successful.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
      com.microsoft.azure.CloudException - thrown if the request is rejected by server
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent
    • createOrUpdateAsync

      com.microsoft.rest.ServiceFuture<FirewallRule> createOrUpdateAsync(String resourceGroupName, String accountName, String firewallRuleName, String startIpAddress, String endIpAddress, com.microsoft.rest.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.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      firewallRuleName - The name of the firewall rule to create or update.
      startIpAddress - The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      endIpAddress - The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      serviceCallback - the async ServiceCallback to handle successful and failed responses.
      Returns:
      the ServiceFuture object
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • createOrUpdateAsync

      rx.Observable<FirewallRule> createOrUpdateAsync(String resourceGroupName, String accountName, String firewallRuleName, String startIpAddress, String endIpAddress)
      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.
      accountName - The name of the Data Lake Analytics account.
      firewallRuleName - The name of the firewall rule to create or update.
      startIpAddress - The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      endIpAddress - The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      Returns:
      the observable to the FirewallRule object
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • createOrUpdateWithServiceResponseAsync

      rx.Observable<com.microsoft.rest.ServiceResponse<FirewallRule>> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String accountName, String firewallRuleName, String startIpAddress, String endIpAddress)
      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.
      accountName - The name of the Data Lake Analytics account.
      firewallRuleName - The name of the firewall rule to create or update.
      startIpAddress - The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      endIpAddress - The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      Returns:
      the observable to the FirewallRule object
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • get

      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.
      accountName - The name of the Data Lake Analytics account.
      firewallRuleName - The name of the firewall rule to retrieve.
      Returns:
      the FirewallRule object if successful.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
      com.microsoft.azure.CloudException - thrown if the request is rejected by server
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent
    • getAsync

      com.microsoft.rest.ServiceFuture<FirewallRule> getAsync(String resourceGroupName, String accountName, String firewallRuleName, com.microsoft.rest.ServiceCallback<FirewallRule> serviceCallback)
      Gets the specified Data Lake Analytics firewall rule.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      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
    • getAsync

      rx.Observable<FirewallRule> getAsync(String resourceGroupName, String accountName, String firewallRuleName)
      Gets the specified Data Lake Analytics firewall rule.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      firewallRuleName - The name of the firewall rule to retrieve.
      Returns:
      the observable to the FirewallRule object
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • getWithServiceResponseAsync

      rx.Observable<com.microsoft.rest.ServiceResponse<FirewallRule>> getWithServiceResponseAsync(String resourceGroupName, String accountName, String firewallRuleName)
      Gets the specified Data Lake Analytics firewall rule.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      firewallRuleName - The name of the firewall rule to retrieve.
      Returns:
      the observable to the FirewallRule object
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • update

      FirewallRule update(String resourceGroupName, String accountName, String firewallRuleName)
      Updates the specified firewall rule.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      firewallRuleName - The name of the firewall rule to update.
      Returns:
      the FirewallRule object if successful.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
      com.microsoft.azure.CloudException - thrown if the request is rejected by server
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent
    • updateAsync

      com.microsoft.rest.ServiceFuture<FirewallRule> updateAsync(String resourceGroupName, String accountName, String firewallRuleName, com.microsoft.rest.ServiceCallback<FirewallRule> serviceCallback)
      Updates the specified firewall rule.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      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

      rx.Observable<FirewallRule> updateAsync(String resourceGroupName, String accountName, String firewallRuleName)
      Updates the specified firewall rule.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      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

      rx.Observable<com.microsoft.rest.ServiceResponse<FirewallRule>> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String firewallRuleName)
      Updates the specified firewall rule.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      firewallRuleName - The name of the firewall rule to update.
      Returns:
      the observable to the FirewallRule object
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • update

      FirewallRule update(String resourceGroupName, String accountName, String firewallRuleName, String startIpAddress, String endIpAddress)
      Updates the specified firewall rule.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      firewallRuleName - The name of the firewall rule to update.
      startIpAddress - The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      endIpAddress - The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      Returns:
      the FirewallRule object if successful.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
      com.microsoft.azure.CloudException - thrown if the request is rejected by server
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent
    • updateAsync

      com.microsoft.rest.ServiceFuture<FirewallRule> updateAsync(String resourceGroupName, String accountName, String firewallRuleName, String startIpAddress, String endIpAddress, com.microsoft.rest.ServiceCallback<FirewallRule> serviceCallback)
      Updates the specified firewall rule.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      firewallRuleName - The name of the firewall rule to update.
      startIpAddress - The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      endIpAddress - The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      serviceCallback - the async ServiceCallback to handle successful and failed responses.
      Returns:
      the ServiceFuture object
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • updateAsync

      rx.Observable<FirewallRule> updateAsync(String resourceGroupName, String accountName, String firewallRuleName, String startIpAddress, String endIpAddress)
      Updates the specified firewall rule.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      firewallRuleName - The name of the firewall rule to update.
      startIpAddress - The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      endIpAddress - The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      Returns:
      the observable to the FirewallRule object
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • updateWithServiceResponseAsync

      rx.Observable<com.microsoft.rest.ServiceResponse<FirewallRule>> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String firewallRuleName, String startIpAddress, String endIpAddress)
      Updates the specified firewall rule.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      firewallRuleName - The name of the firewall rule to update.
      startIpAddress - The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      endIpAddress - The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      Returns:
      the observable to the FirewallRule object
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • delete

      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.
      accountName - The name of the Data Lake Analytics account.
      firewallRuleName - The name of the firewall rule to delete.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
      com.microsoft.azure.CloudException - thrown if the request is rejected by server
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent
    • deleteAsync

      com.microsoft.rest.ServiceFuture<Void> deleteAsync(String resourceGroupName, String accountName, String firewallRuleName, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
      Deletes the specified firewall rule from the specified Data Lake Analytics account.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      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
    • deleteAsync

      rx.Observable<Void> 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.
      accountName - The name of the Data Lake Analytics account.
      firewallRuleName - The name of the firewall rule to delete.
      Returns:
      the ServiceResponse object if successful.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • deleteWithServiceResponseAsync

      rx.Observable<com.microsoft.rest.ServiceResponse<Void>> 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.
      accountName - The name of the Data Lake Analytics account.
      firewallRuleName - The name of the firewall rule to delete.
      Returns:
      the ServiceResponse object if successful.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • listByAccountNext

      com.microsoft.azure.PagedList<FirewallRule> listByAccountNext(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
      com.microsoft.azure.CloudException - thrown if the request is rejected by server
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent
    • listByAccountNextAsync

      com.microsoft.rest.ServiceFuture<List<FirewallRule>> listByAccountNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<FirewallRule>> serviceFuture, com.microsoft.azure.ListOperationCallback<FirewallRule> 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
    • listByAccountNextAsync

      rx.Observable<com.microsoft.azure.Page<FirewallRule>> listByAccountNextAsync(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
    • listByAccountNextWithServiceResponseAsync

      rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<FirewallRule>>> listByAccountNextWithServiceResponseAsync(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