Interface FirewallRules
public interface FirewallRules
Resource collection API of FirewallRules.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new FirewallRule resource.void
Deletes the specified firewall rule from the specified Data Lake Store account.void
deleteById
(String id) Deletes the specified firewall rule from the specified Data Lake Store account.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes the specified firewall rule from the specified Data Lake Store 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 Store account.Gets the specified Data Lake Store firewall rule.Gets the specified Data Lake Store firewall rule.com.azure.core.http.rest.Response<FirewallRule>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets the specified Data Lake Store firewall rule.com.azure.core.http.rest.Response<FirewallRule>
getWithResponse
(String resourceGroupName, String accountName, String firewallRuleName, com.azure.core.util.Context context) Gets the specified Data Lake Store firewall rule.com.azure.core.http.rest.PagedIterable<FirewallRule>
listByAccount
(String resourceGroupName, String accountName) Lists the Data Lake Store firewall rules within the specified Data Lake Store account.com.azure.core.http.rest.PagedIterable<FirewallRule>
listByAccount
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Lists the Data Lake Store firewall rules within the specified Data Lake Store account.
-
Method Details
-
listByAccount
com.azure.core.http.rest.PagedIterable<FirewallRule> listByAccount(String resourceGroupName, String accountName) Lists the Data Lake Store firewall rules within the specified Data Lake Store account.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Store account.- Returns:
- data Lake Store 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<FirewallRule> listByAccount(String resourceGroupName, String accountName, com.azure.core.util.Context context) Lists the Data Lake Store firewall rules within the specified Data Lake Store account.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Store account.context
- The context to associate with this operation.- Returns:
- data Lake Store 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.
-
getWithResponse
com.azure.core.http.rest.Response<FirewallRule> getWithResponse(String resourceGroupName, String accountName, String firewallRuleName, com.azure.core.util.Context context) Gets the specified Data Lake Store firewall rule.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Store account.firewallRuleName
- The name of the firewall rule to retrieve.context
- The context to associate with this operation.- Returns:
- the specified Data Lake Store 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 Store firewall rule.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Store account.firewallRuleName
- The name of the firewall rule to retrieve.- Returns:
- the specified Data Lake Store 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.
-
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 Store account.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Store 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 Store account.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Store 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.
-
getById
Gets the specified Data Lake Store firewall rule.- Parameters:
id
- the resource ID.- Returns:
- the specified Data Lake Store 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<FirewallRule> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets the specified Data Lake Store firewall rule.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- the specified Data Lake Store 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.
-
deleteById
Deletes the specified firewall rule from the specified Data Lake Store account.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes the specified firewall rule from the specified Data Lake Store account.- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new FirewallRule resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new FirewallRule definition.
-