FirewallRules class

Class representing a FirewallRules.

Constructors

FirewallRules(DataLakeAnalyticsAccountManagementClientContext)

Create a FirewallRules.

Methods

createOrUpdate(string, string, string, CreateOrUpdateFirewallRuleParameters, RequestOptionsBase)

Creates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule.

createOrUpdate(string, string, string, CreateOrUpdateFirewallRuleParameters, RequestOptionsBase, ServiceCallback<FirewallRule>)
createOrUpdate(string, string, string, CreateOrUpdateFirewallRuleParameters, ServiceCallback<FirewallRule>)
deleteMethod(string, string, string, RequestOptionsBase)

Deletes the specified firewall rule from the specified Data Lake Analytics account

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, string, ServiceCallback<void>)
get(string, string, string, RequestOptionsBase)

Gets the specified Data Lake Analytics firewall rule.

get(string, string, string, RequestOptionsBase, ServiceCallback<FirewallRule>)
get(string, string, string, ServiceCallback<FirewallRule>)
listByAccount(string, string, RequestOptionsBase)

Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.

listByAccount(string, string, RequestOptionsBase, ServiceCallback<FirewallRuleListResult>)
listByAccount(string, string, ServiceCallback<FirewallRuleListResult>)
listByAccountNext(string, RequestOptionsBase)

Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.

listByAccountNext(string, RequestOptionsBase, ServiceCallback<FirewallRuleListResult>)
listByAccountNext(string, ServiceCallback<FirewallRuleListResult>)
update(string, string, string, FirewallRulesUpdateOptionalParams)

Updates the specified firewall rule.

update(string, string, string, FirewallRulesUpdateOptionalParams, ServiceCallback<FirewallRule>)
update(string, string, string, ServiceCallback<FirewallRule>)

Constructor Details

FirewallRules(DataLakeAnalyticsAccountManagementClientContext)

Create a FirewallRules.

new FirewallRules(client: DataLakeAnalyticsAccountManagementClientContext)

Parameters

client
DataLakeAnalyticsAccountManagementClientContext

Reference to the service client.

Method Details

createOrUpdate(string, string, string, CreateOrUpdateFirewallRuleParameters, RequestOptionsBase)

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?: RequestOptionsBase): Promise<FirewallRulesCreateOrUpdateResponse>

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.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.FirewallRulesCreateOrUpdateResponse>

createOrUpdate(string, string, string, CreateOrUpdateFirewallRuleParameters, RequestOptionsBase, ServiceCallback<FirewallRule>)

function createOrUpdate(resourceGroupName: string, accountName: string, firewallRuleName: string, parameters: CreateOrUpdateFirewallRuleParameters, options: RequestOptionsBase, callback: ServiceCallback<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.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<FirewallRule>

The callback

createOrUpdate(string, string, string, CreateOrUpdateFirewallRuleParameters, ServiceCallback<FirewallRule>)

function createOrUpdate(resourceGroupName: string, accountName: string, firewallRuleName: string, parameters: CreateOrUpdateFirewallRuleParameters, callback: ServiceCallback<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.

callback

ServiceCallback<FirewallRule>

The callback

deleteMethod(string, string, string, RequestOptionsBase)

Deletes the specified firewall rule from the specified Data Lake Analytics account

function deleteMethod(resourceGroupName: string, accountName: string, firewallRuleName: string, options?: RequestOptionsBase): Promise<RestResponse>

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.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, accountName: string, firewallRuleName: string, options: RequestOptionsBase, callback: ServiceCallback<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.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

deleteMethod(string, string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, accountName: string, firewallRuleName: string, callback: ServiceCallback<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.

callback

ServiceCallback<void>

The callback

get(string, string, string, RequestOptionsBase)

Gets the specified Data Lake Analytics firewall rule.

function get(resourceGroupName: string, accountName: string, firewallRuleName: string, options?: RequestOptionsBase): Promise<FirewallRulesGetResponse>

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
RequestOptionsBase

The optional parameters

Returns

Promise<Models.FirewallRulesGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<FirewallRule>)

function get(resourceGroupName: string, accountName: string, firewallRuleName: string, options: RequestOptionsBase, callback: ServiceCallback<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
RequestOptionsBase

The optional parameters

callback

ServiceCallback<FirewallRule>

The callback

get(string, string, string, ServiceCallback<FirewallRule>)

function get(resourceGroupName: string, accountName: string, firewallRuleName: string, callback: ServiceCallback<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.

callback

ServiceCallback<FirewallRule>

The callback

listByAccount(string, string, RequestOptionsBase)

Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.

function listByAccount(resourceGroupName: string, accountName: string, options?: RequestOptionsBase): Promise<FirewallRulesListByAccountResponse>

Parameters

resourceGroupName

string

The name of the Azure resource group.

accountName

string

The name of the Data Lake Analytics account.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.FirewallRulesListByAccountResponse>

listByAccount(string, string, RequestOptionsBase, ServiceCallback<FirewallRuleListResult>)

function listByAccount(resourceGroupName: string, accountName: string, options: RequestOptionsBase, callback: ServiceCallback<FirewallRuleListResult>)

Parameters

resourceGroupName

string

The name of the Azure resource group.

accountName

string

The name of the Data Lake Analytics account.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<FirewallRuleListResult>

The callback

listByAccount(string, string, ServiceCallback<FirewallRuleListResult>)

function listByAccount(resourceGroupName: string, accountName: string, callback: ServiceCallback<FirewallRuleListResult>)

Parameters

resourceGroupName

string

The name of the Azure resource group.

accountName

string

The name of the Data Lake Analytics account.

callback

ServiceCallback<FirewallRuleListResult>

The callback

listByAccountNext(string, RequestOptionsBase)

Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.

function listByAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<FirewallRulesListByAccountNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.FirewallRulesListByAccountNextResponse>

listByAccountNext(string, RequestOptionsBase, ServiceCallback<FirewallRuleListResult>)

function listByAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<FirewallRuleListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<FirewallRuleListResult>

The callback

listByAccountNext(string, ServiceCallback<FirewallRuleListResult>)

function listByAccountNext(nextPageLink: string, callback: ServiceCallback<FirewallRuleListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<FirewallRuleListResult>

The callback

update(string, string, string, FirewallRulesUpdateOptionalParams)

Updates the specified firewall rule.

function update(resourceGroupName: string, accountName: string, firewallRuleName: string, options?: FirewallRulesUpdateOptionalParams): Promise<FirewallRulesUpdateResponse>

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.

options
FirewallRulesUpdateOptionalParams

The optional parameters

Returns

Promise<Models.FirewallRulesUpdateResponse>

update(string, string, string, FirewallRulesUpdateOptionalParams, ServiceCallback<FirewallRule>)

function update(resourceGroupName: string, accountName: string, firewallRuleName: string, options: FirewallRulesUpdateOptionalParams, callback: ServiceCallback<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.

options
FirewallRulesUpdateOptionalParams

The optional parameters

callback

ServiceCallback<FirewallRule>

The callback

update(string, string, string, ServiceCallback<FirewallRule>)

function update(resourceGroupName: string, accountName: string, firewallRuleName: string, callback: ServiceCallback<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.

callback

ServiceCallback<FirewallRule>

The callback