FirewallRules class
Class representing a FirewallRules.
Firewall |
Create a FirewallRules. |
Create a FirewallRules.
new FirewallRules(client: DataLakeAnalyticsAccountManagementClientContext)
Parameters
Reference to the service client.
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<FirewallRulesCreateOrUpdateResponse>
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
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
The callback
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>
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
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
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<FirewallRulesGetResponse>
Promise<Models.FirewallRulesGetResponse>
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
The callback
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
The callback
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<FirewallRulesListByAccountResponse>
Promise<Models.FirewallRulesListByAccountResponse>
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
The callback
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
The callback
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>
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
The callback
function listByAccountNext(nextPageLink: string, callback: ServiceCallback<FirewallRuleListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- callback
The callback
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.
The optional parameters
Returns
Promise<FirewallRulesUpdateResponse>
Promise<Models.FirewallRulesUpdateResponse>
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.
The optional parameters
- callback
The callback
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
The callback