IpFirewallRules interface
Interface representing a IpFirewallRules.
Methods
begin |
Creates or updates a firewall rule |
begin |
Creates or updates a firewall rule |
begin |
Deletes a firewall rule |
begin |
Deletes a firewall rule |
begin |
Replaces firewall rules |
begin |
Replaces firewall rules |
get(string, string, string, Ip |
Get a firewall rule |
list |
Returns a list of firewall rules |
Method Details
beginCreateOrUpdate(string, string, string, IpFirewallRuleInfo, IpFirewallRulesCreateOrUpdateOptionalParams)
Creates or updates a firewall rule
function beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, ruleName: string, ipFirewallRuleInfo: IpFirewallRuleInfo, options?: IpFirewallRulesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<IpFirewallRuleInfo>, IpFirewallRuleInfo>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- ruleName
-
string
The IP firewall rule name
- ipFirewallRuleInfo
- IpFirewallRuleInfo
IP firewall rule properties
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<IpFirewallRuleInfo>, IpFirewallRuleInfo>>
beginCreateOrUpdateAndWait(string, string, string, IpFirewallRuleInfo, IpFirewallRulesCreateOrUpdateOptionalParams)
Creates or updates a firewall rule
function beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, ruleName: string, ipFirewallRuleInfo: IpFirewallRuleInfo, options?: IpFirewallRulesCreateOrUpdateOptionalParams): Promise<IpFirewallRuleInfo>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- ruleName
-
string
The IP firewall rule name
- ipFirewallRuleInfo
- IpFirewallRuleInfo
IP firewall rule properties
The options parameters.
Returns
Promise<IpFirewallRuleInfo>
beginDelete(string, string, string, IpFirewallRulesDeleteOptionalParams)
Deletes a firewall rule
function beginDelete(resourceGroupName: string, workspaceName: string, ruleName: string, options?: IpFirewallRulesDeleteOptionalParams): Promise<PollerLike<PollOperationState<IpFirewallRuleInfo>, IpFirewallRuleInfo>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- ruleName
-
string
The IP firewall rule name
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<IpFirewallRuleInfo>, IpFirewallRuleInfo>>
beginDeleteAndWait(string, string, string, IpFirewallRulesDeleteOptionalParams)
Deletes a firewall rule
function beginDeleteAndWait(resourceGroupName: string, workspaceName: string, ruleName: string, options?: IpFirewallRulesDeleteOptionalParams): Promise<IpFirewallRuleInfo>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- ruleName
-
string
The IP firewall rule name
The options parameters.
Returns
Promise<IpFirewallRuleInfo>
beginReplaceAll(string, string, ReplaceAllIpFirewallRulesRequest, IpFirewallRulesReplaceAllOptionalParams)
Replaces firewall rules
function beginReplaceAll(resourceGroupName: string, workspaceName: string, request: ReplaceAllIpFirewallRulesRequest, options?: IpFirewallRulesReplaceAllOptionalParams): Promise<PollerLike<PollOperationState<ReplaceAllFirewallRulesOperationResponse>, ReplaceAllFirewallRulesOperationResponse>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- request
- ReplaceAllIpFirewallRulesRequest
Replace all IP firewall rules request
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<ReplaceAllFirewallRulesOperationResponse>, ReplaceAllFirewallRulesOperationResponse>>
beginReplaceAllAndWait(string, string, ReplaceAllIpFirewallRulesRequest, IpFirewallRulesReplaceAllOptionalParams)
Replaces firewall rules
function beginReplaceAllAndWait(resourceGroupName: string, workspaceName: string, request: ReplaceAllIpFirewallRulesRequest, options?: IpFirewallRulesReplaceAllOptionalParams): Promise<ReplaceAllFirewallRulesOperationResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- request
- ReplaceAllIpFirewallRulesRequest
Replace all IP firewall rules request
The options parameters.
Returns
get(string, string, string, IpFirewallRulesGetOptionalParams)
Get a firewall rule
function get(resourceGroupName: string, workspaceName: string, ruleName: string, options?: IpFirewallRulesGetOptionalParams): Promise<IpFirewallRuleInfo>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- ruleName
-
string
The IP firewall rule name
- options
- IpFirewallRulesGetOptionalParams
The options parameters.
Returns
Promise<IpFirewallRuleInfo>
listByWorkspace(string, string, IpFirewallRulesListByWorkspaceOptionalParams)
Returns a list of firewall rules
function listByWorkspace(resourceGroupName: string, workspaceName: string, options?: IpFirewallRulesListByWorkspaceOptionalParams): PagedAsyncIterableIterator<IpFirewallRuleInfo, IpFirewallRuleInfo[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
The options parameters.
Returns
Azure SDK for JavaScript