public interface IpFirewallRules
Modifier and Type | Method and Description |
---|---|
IpFirewallRuleInfo.DefinitionStages.Blank |
define(String name)
Begins definition for a new IpFirewallRuleInfo resource.
|
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.
|
Object |
deleteById(String id)
Deletes a firewall rule.
|
Object |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Deletes a firewall rule.
|
IpFirewallRuleInfo |
get(String resourceGroupName,
String workspaceName,
String ruleName)
Get a firewall rule.
|
IpFirewallRuleInfo |
getById(String id)
Get a firewall rule.
|
com.azure.core.http.rest.Response<IpFirewallRuleInfo> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Get a firewall rule.
|
com.azure.core.http.rest.Response<IpFirewallRuleInfo> |
getWithResponse(String resourceGroupName,
String workspaceName,
String ruleName,
com.azure.core.util.Context context)
Get a firewall rule.
|
com.azure.core.http.rest.PagedIterable<IpFirewallRuleInfo> |
listByWorkspace(String resourceGroupName,
String workspaceName)
Returns a list of firewall rules.
|
com.azure.core.http.rest.PagedIterable<IpFirewallRuleInfo> |
listByWorkspace(String resourceGroupName,
String workspaceName,
com.azure.core.util.Context context)
Returns a list of firewall rules.
|
ReplaceAllFirewallRulesOperationResponse |
replaceAll(String resourceGroupName,
String workspaceName,
ReplaceAllIpFirewallRulesRequest request)
Replaces firewall rules.
|
ReplaceAllFirewallRulesOperationResponse |
replaceAll(String resourceGroupName,
String workspaceName,
ReplaceAllIpFirewallRulesRequest request,
com.azure.core.util.Context context)
Replaces firewall rules.
|
com.azure.core.http.rest.PagedIterable<IpFirewallRuleInfo> listByWorkspace(String resourceGroupName, String workspaceName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.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.com.azure.core.http.rest.PagedIterable<IpFirewallRuleInfo> listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
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.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.Object delete(String resourceGroupName, String workspaceName, String ruleName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.ruleName
- The IP firewall rule name.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.Object delete(String resourceGroupName, String workspaceName, String ruleName, com.azure.core.util.Context context)
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.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.IpFirewallRuleInfo get(String resourceGroupName, String workspaceName, String ruleName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.ruleName
- The IP firewall rule name.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.com.azure.core.http.rest.Response<IpFirewallRuleInfo> getWithResponse(String resourceGroupName, String workspaceName, String ruleName, com.azure.core.util.Context context)
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.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.ReplaceAllFirewallRulesOperationResponse replaceAll(String resourceGroupName, String workspaceName, ReplaceAllIpFirewallRulesRequest request)
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.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.ReplaceAllFirewallRulesOperationResponse replaceAll(String resourceGroupName, String workspaceName, ReplaceAllIpFirewallRulesRequest request, com.azure.core.util.Context context)
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.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.IpFirewallRuleInfo getById(String id)
id
- the resource ID.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.com.azure.core.http.rest.Response<IpFirewallRuleInfo> getByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.context
- The context to associate with this operation.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.Object deleteById(String id)
id
- the resource ID.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.Object deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.context
- The context to associate with this operation.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.IpFirewallRuleInfo.DefinitionStages.Blank define(String name)
name
- resource name.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.