IpFirewallRules Interface

public interface IpFirewallRules

Resource collection API of IpFirewallRules.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new IpFirewallRuleInfo resource.

abstract Object delete(String resourceGroupName, String workspaceName, String ruleName)

Deletes a firewall rule.

abstract Object delete(String resourceGroupName, String workspaceName, String ruleName, Context context)

Deletes a firewall rule.

abstract Object deleteById(String id)

Deletes a firewall rule.

abstract Object deleteByIdWithResponse(String id, Context context)

Deletes a firewall rule.

abstract IpFirewallRuleInfo get(String resourceGroupName, String workspaceName, String ruleName)

Get a firewall rule.

abstract IpFirewallRuleInfo getById(String id)

Get a firewall rule.

abstract Response<IpFirewallRuleInfo> getByIdWithResponse(String id, Context context)

Get a firewall rule.

abstract Response<IpFirewallRuleInfo> getWithResponse(String resourceGroupName, String workspaceName, String ruleName, Context context)

Get a firewall rule.

abstract PagedIterable<IpFirewallRuleInfo> listByWorkspace(String resourceGroupName, String workspaceName)

Returns a list of firewall rules.

abstract PagedIterable<IpFirewallRuleInfo> listByWorkspace(String resourceGroupName, String workspaceName, Context context)

Returns a list of firewall rules.

abstract ReplaceAllFirewallRulesOperationResponse replaceAll(String resourceGroupName, String workspaceName, ReplaceAllIpFirewallRulesRequest request)

Replaces firewall rules.

abstract ReplaceAllFirewallRulesOperationResponse replaceAll(String resourceGroupName, String workspaceName, ReplaceAllIpFirewallRulesRequest request, Context context)

Replaces firewall rules.

Method Details

define

public abstract IpFirewallRuleInfo.DefinitionStages.Blank define(String name)

Begins definition for a new IpFirewallRuleInfo resource.

Parameters:

name - resource name.

Returns:

the first stage of the new IpFirewallRuleInfo definition.

delete

public abstract 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.

delete

public abstract Object delete(String resourceGroupName, String workspaceName, String ruleName, 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.

deleteById

public abstract Object deleteById(String id)

Deletes a firewall rule.

Parameters:

id - the resource ID.

Returns:

any object.

deleteByIdWithResponse

public abstract Object deleteByIdWithResponse(String id, Context context)

Deletes a firewall rule.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

any object.

get

public abstract IpFirewallRuleInfo 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.

getById

public abstract IpFirewallRuleInfo getById(String id)

Get a firewall rule.

Parameters:

id - the resource ID.

Returns:

a firewall rule along with Response<T>.

getByIdWithResponse

public abstract Response<IpFirewallRuleInfo> getByIdWithResponse(String id, Context context)

Get a firewall rule.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

a firewall rule along with Response<T>.

getWithResponse

public abstract Response<IpFirewallRuleInfo> getWithResponse(String resourceGroupName, String workspaceName, String ruleName, 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<T>.

listByWorkspace

public abstract PagedIterable<IpFirewallRuleInfo> 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<T>.

listByWorkspace

public abstract PagedIterable<IpFirewallRuleInfo> listByWorkspace(String resourceGroupName, String workspaceName, 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<T>.

replaceAll

public abstract ReplaceAllFirewallRulesOperationResponse 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.

replaceAll

public abstract ReplaceAllFirewallRulesOperationResponse replaceAll(String resourceGroupName, String workspaceName, ReplaceAllIpFirewallRulesRequest request, 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.

Applies to