Interface IpFirewallRulesClient
-
public interface IpFirewallRulesClient
An instance of this class provides access to all the operations defined in IpFirewallRulesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IpFirewallRuleInfoInner>,IpFirewallRuleInfoInner>
beginCreateOrUpdate(String resourceGroupName, String workspaceName, String ruleName, IpFirewallRuleInfoInner ipFirewallRuleInfo)
Creates or updates a firewall rule.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IpFirewallRuleInfoInner>,IpFirewallRuleInfoInner>
beginCreateOrUpdate(String resourceGroupName, String workspaceName, String ruleName, IpFirewallRuleInfoInner ipFirewallRuleInfo, com.azure.core.util.Context context)
Creates or updates a firewall rule.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object>
beginDelete(String resourceGroupName, String workspaceName, String ruleName)
Deletes a firewall rule.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object>
beginDelete(String resourceGroupName, String workspaceName, String ruleName, com.azure.core.util.Context context)
Deletes a firewall rule.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplaceAllFirewallRulesOperationResponseInner>,ReplaceAllFirewallRulesOperationResponseInner>
beginReplaceAll(String resourceGroupName, String workspaceName, ReplaceAllIpFirewallRulesRequest request)
Replaces firewall rules.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplaceAllFirewallRulesOperationResponseInner>,ReplaceAllFirewallRulesOperationResponseInner>
beginReplaceAll(String resourceGroupName, String workspaceName, ReplaceAllIpFirewallRulesRequest request, com.azure.core.util.Context context)
Replaces firewall rules.IpFirewallRuleInfoInner
createOrUpdate(String resourceGroupName, String workspaceName, String ruleName, IpFirewallRuleInfoInner ipFirewallRuleInfo)
Creates or updates a firewall rule.IpFirewallRuleInfoInner
createOrUpdate(String resourceGroupName, String workspaceName, String ruleName, IpFirewallRuleInfoInner ipFirewallRuleInfo, com.azure.core.util.Context context)
Creates or updates a firewall rule.Object
delete(String resourceGroupName, String workspaceName, String ruleName)
Deletes a firewall rule.Object
delete(String resourceGroupName, String workspaceName, String ruleName, com.azure.core.util.Context context)
Deletes a firewall rule.IpFirewallRuleInfoInner
get(String resourceGroupName, String workspaceName, String ruleName)
Get a firewall rule.com.azure.core.http.rest.Response<IpFirewallRuleInfoInner>
getWithResponse(String resourceGroupName, String workspaceName, String ruleName, com.azure.core.util.Context context)
Get a firewall rule.com.azure.core.http.rest.PagedIterable<IpFirewallRuleInfoInner>
listByWorkspace(String resourceGroupName, String workspaceName)
Returns a list of firewall rules.com.azure.core.http.rest.PagedIterable<IpFirewallRuleInfoInner>
listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
Returns a list of firewall rules.ReplaceAllFirewallRulesOperationResponseInner
replaceAll(String resourceGroupName, String workspaceName, ReplaceAllIpFirewallRulesRequest request)
Replaces firewall rules.ReplaceAllFirewallRulesOperationResponseInner
replaceAll(String resourceGroupName, String workspaceName, ReplaceAllIpFirewallRulesRequest request, com.azure.core.util.Context context)
Replaces firewall rules.
-
-
-
Method Detail
-
listByWorkspace
com.azure.core.http.rest.PagedIterable<IpFirewallRuleInfoInner> listByWorkspace(String resourceGroupName, String workspaceName)
Returns a list of firewall rules.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.- Returns:
- list of IP firewall rules 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.
-
listByWorkspace
com.azure.core.http.rest.PagedIterable<IpFirewallRuleInfoInner> listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
Returns a list of firewall rules.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.context
- The context to associate with this operation.- Returns:
- list of IP firewall rules 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IpFirewallRuleInfoInner>,IpFirewallRuleInfoInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String ruleName, IpFirewallRuleInfoInner ipFirewallRuleInfo)
Creates or updates a firewall rule.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.ruleName
- The IP firewall rule name.ipFirewallRuleInfo
- IP firewall rule properties.- Returns:
- the
SyncPoller
for polling of iP 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IpFirewallRuleInfoInner>,IpFirewallRuleInfoInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String ruleName, IpFirewallRuleInfoInner ipFirewallRuleInfo, com.azure.core.util.Context context)
Creates or updates a firewall rule.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.ruleName
- The IP firewall rule name.ipFirewallRuleInfo
- IP firewall rule properties.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of iP 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.
-
createOrUpdate
IpFirewallRuleInfoInner createOrUpdate(String resourceGroupName, String workspaceName, String ruleName, IpFirewallRuleInfoInner ipFirewallRuleInfo)
Creates or updates a firewall rule.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.ruleName
- The IP firewall rule name.ipFirewallRuleInfo
- IP firewall rule properties.- Returns:
- iP 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.
-
createOrUpdate
IpFirewallRuleInfoInner createOrUpdate(String resourceGroupName, String workspaceName, String ruleName, IpFirewallRuleInfoInner ipFirewallRuleInfo, com.azure.core.util.Context context)
Creates or updates a firewall rule.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.ruleName
- The IP firewall rule name.ipFirewallRuleInfo
- IP firewall rule properties.context
- The context to associate with this operation.- Returns:
- iP 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> beginDelete(String resourceGroupName, String workspaceName, String ruleName)
Deletes a firewall rule.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.ruleName
- The IP firewall rule name.- Returns:
- the
SyncPoller
for polling of any object. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> beginDelete(String resourceGroupName, String workspaceName, String ruleName, com.azure.core.util.Context context)
Deletes a firewall rule.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.ruleName
- The IP firewall rule name.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of any object. - 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
Object delete(String resourceGroupName, String workspaceName, String ruleName)
Deletes a firewall rule.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.ruleName
- The IP firewall rule name.- Returns:
- any object.
- 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
Object delete(String resourceGroupName, String workspaceName, String ruleName, com.azure.core.util.Context context)
Deletes a firewall rule.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.ruleName
- The IP firewall rule name.context
- The context to associate with this operation.- Returns:
- any object.
- 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
IpFirewallRuleInfoInner get(String resourceGroupName, String workspaceName, String ruleName)
Get a firewall rule.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.ruleName
- The IP firewall rule name.- Returns:
- a 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.
-
getWithResponse
com.azure.core.http.rest.Response<IpFirewallRuleInfoInner> getWithResponse(String resourceGroupName, String workspaceName, String ruleName, com.azure.core.util.Context context)
Get a firewall rule.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.ruleName
- The IP firewall rule name.context
- The context to associate with this operation.- Returns:
- a 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.
-
beginReplaceAll
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplaceAllFirewallRulesOperationResponseInner>,ReplaceAllFirewallRulesOperationResponseInner> beginReplaceAll(String resourceGroupName, String workspaceName, ReplaceAllIpFirewallRulesRequest request)
Replaces firewall rules.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.request
- Replace all IP firewall rules request.- Returns:
- the
SyncPoller
for polling of an existing operation for replacing the firewall rules. - 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.
-
beginReplaceAll
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplaceAllFirewallRulesOperationResponseInner>,ReplaceAllFirewallRulesOperationResponseInner> beginReplaceAll(String resourceGroupName, String workspaceName, ReplaceAllIpFirewallRulesRequest request, com.azure.core.util.Context context)
Replaces firewall rules.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.request
- Replace all IP firewall rules request.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of an existing operation for replacing the firewall rules. - 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.
-
replaceAll
ReplaceAllFirewallRulesOperationResponseInner replaceAll(String resourceGroupName, String workspaceName, ReplaceAllIpFirewallRulesRequest request)
Replaces firewall rules.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.request
- Replace all IP firewall rules request.- Returns:
- an existing operation for replacing the firewall rules.
- 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.
-
replaceAll
ReplaceAllFirewallRulesOperationResponseInner replaceAll(String resourceGroupName, String workspaceName, ReplaceAllIpFirewallRulesRequest request, com.azure.core.util.Context context)
Replaces firewall rules.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.request
- Replace all IP firewall rules request.context
- The context to associate with this operation.- Returns:
- an existing operation for replacing the firewall rules.
- 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.
-
-