FirewallRules interface
Interface representing a FirewallRules.
Methods
create |
Creates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule. |
delete(string, string, string, Firewall |
Deletes the specified firewall rule from the specified Data Lake Analytics account |
get(string, string, string, Firewall |
Gets the specified Data Lake Analytics firewall rule. |
list |
Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account. |
update(string, string, string, Firewall |
Updates the specified firewall rule. |
Method Details
createOrUpdate(string, string, string, CreateOrUpdateFirewallRuleParameters, FirewallRulesCreateOrUpdateOptionalParams)
Creates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule.
function createOrUpdate(resourceGroupName: string, accountName: string, firewallRuleName: string, parameters: CreateOrUpdateFirewallRuleParameters, options?: FirewallRulesCreateOrUpdateOptionalParams): Promise<FirewallRule>
Parameters
- resourceGroupName
-
string
The name of the Azure resource group.
- accountName
-
string
The name of the Data Lake Analytics account.
- firewallRuleName
-
string
The name of the firewall rule to create or update.
- parameters
- CreateOrUpdateFirewallRuleParameters
Parameters supplied to create or update the firewall rule.
The options parameters.
Returns
Promise<FirewallRule>
delete(string, string, string, FirewallRulesDeleteOptionalParams)
Deletes the specified firewall rule from the specified Data Lake Analytics account
function delete(resourceGroupName: string, accountName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the Azure resource group.
- accountName
-
string
The name of the Data Lake Analytics account.
- firewallRuleName
-
string
The name of the firewall rule to delete.
The options parameters.
Returns
Promise<void>
get(string, string, string, FirewallRulesGetOptionalParams)
Gets the specified Data Lake Analytics firewall rule.
function get(resourceGroupName: string, accountName: string, firewallRuleName: string, options?: FirewallRulesGetOptionalParams): Promise<FirewallRule>
Parameters
- resourceGroupName
-
string
The name of the Azure resource group.
- accountName
-
string
The name of the Data Lake Analytics account.
- firewallRuleName
-
string
The name of the firewall rule to retrieve.
- options
- FirewallRulesGetOptionalParams
The options parameters.
Returns
Promise<FirewallRule>
listByAccount(string, string, FirewallRulesListByAccountOptionalParams)
Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.
function listByAccount(resourceGroupName: string, accountName: string, options?: FirewallRulesListByAccountOptionalParams): PagedAsyncIterableIterator<FirewallRule, FirewallRule[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the Azure resource group.
- accountName
-
string
The name of the Data Lake Analytics account.
The options parameters.
Returns
update(string, string, string, FirewallRulesUpdateOptionalParams)
Updates the specified firewall rule.
function update(resourceGroupName: string, accountName: string, firewallRuleName: string, options?: FirewallRulesUpdateOptionalParams): Promise<FirewallRule>
Parameters
- resourceGroupName
-
string
The name of the Azure resource group.
- accountName
-
string
The name of the Data Lake Analytics account.
- firewallRuleName
-
string
The name of the firewall rule to update.
The options parameters.
Returns
Promise<FirewallRule>
Azure SDK for JavaScript