FirewallRules class
Class representing a FirewallRules.
Constructors
Firewall |
Create a FirewallRules. |
Methods
Constructor Details
FirewallRules(DataLakeAnalyticsAccountManagementClientContext)
Create a FirewallRules.
new FirewallRules(client: DataLakeAnalyticsAccountManagementClientContext)
Parameters
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<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
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<FirewallRulesGetResponse>
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
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
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<FirewallRulesListByAccountResponse>
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
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
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
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
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.
The optional parameters
Returns
Promise<FirewallRulesUpdateResponse>
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.
The optional parameters
- callback
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
The callback