Interface FirewallRulesClient
public interface FirewallRulesClient
An instance of this class provides access to all the operations defined in FirewallRulesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String accountName, String firewallRuleName, CreateOrUpdateFirewallRuleParameters parameters) Creates or updates the specified firewall rule.com.azure.core.http.rest.Response<FirewallRuleInner>
createOrUpdateWithResponse
(String resourceGroupName, String accountName, String firewallRuleName, CreateOrUpdateFirewallRuleParameters parameters, com.azure.core.util.Context context) Creates or updates the specified firewall rule.void
Deletes the specified firewall rule from the specified Data Lake Analytics account.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String accountName, String firewallRuleName, com.azure.core.util.Context context) Deletes the specified firewall rule from the specified Data Lake Analytics account.Gets the specified Data Lake Analytics firewall rule.com.azure.core.http.rest.Response<FirewallRuleInner>
getWithResponse
(String resourceGroupName, String accountName, String firewallRuleName, com.azure.core.util.Context context) Gets the specified Data Lake Analytics firewall rule.com.azure.core.http.rest.PagedIterable<FirewallRuleInner>
listByAccount
(String resourceGroupName, String accountName) Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.com.azure.core.http.rest.PagedIterable<FirewallRuleInner>
listByAccount
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.Updates the specified firewall rule.com.azure.core.http.rest.Response<FirewallRuleInner>
updateWithResponse
(String resourceGroupName, String accountName, String firewallRuleName, UpdateFirewallRuleParameters parameters, com.azure.core.util.Context context) Updates the specified firewall rule.
-
Method Details
-
listByAccount
com.azure.core.http.rest.PagedIterable<FirewallRuleInner> 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:
- data Lake Analytics firewall rule list information as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByAccount
com.azure.core.http.rest.PagedIterable<FirewallRuleInner> listByAccount(String resourceGroupName, String accountName, com.azure.core.util.Context context) 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.context
- The context to associate with this operation.- Returns:
- data Lake Analytics firewall rule list information as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<FirewallRuleInner> createOrUpdateWithResponse(String resourceGroupName, String accountName, String firewallRuleName, CreateOrUpdateFirewallRuleParameters parameters, com.azure.core.util.Context context) 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.parameters
- Parameters supplied to create or update the firewall rule.context
- The context to associate with this operation.- Returns:
- data Lake Analytics firewall rule information along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
FirewallRuleInner createOrUpdate(String resourceGroupName, String accountName, String firewallRuleName, CreateOrUpdateFirewallRuleParameters 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.accountName
- The name of the Data Lake Analytics account.firewallRuleName
- The name of the firewall rule to create or update.parameters
- Parameters supplied to create or update the firewall rule.- Returns:
- data Lake Analytics firewall rule information.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<FirewallRuleInner> getWithResponse(String resourceGroupName, String accountName, String firewallRuleName, com.azure.core.util.Context context) 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.context
- The context to associate with this operation.- Returns:
- the specified Data Lake Analytics firewall rule along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
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 specified Data Lake Analytics firewall rule.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponse
com.azure.core.http.rest.Response<FirewallRuleInner> updateWithResponse(String resourceGroupName, String accountName, String firewallRuleName, UpdateFirewallRuleParameters parameters, com.azure.core.util.Context context) 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.parameters
- Parameters supplied to update the firewall rule.context
- The context to associate with this operation.- Returns:
- data Lake Analytics firewall rule information along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
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:
- data Lake Analytics firewall rule information.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String accountName, String firewallRuleName, com.azure.core.util.Context context) 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.context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
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.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-