Share via


FirewallRulesOperationsExtensions.UpdateAsync Method

Definition

Updates the specified firewall rule.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Analytics.Models.FirewallRule> UpdateAsync(this Microsoft.Azure.Management.DataLake.Analytics.IFirewallRulesOperations operations, string resourceGroupName, string accountName, string firewallRuleName, Microsoft.Azure.Management.DataLake.Analytics.Models.UpdateFirewallRuleParameters parameters = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.DataLake.Analytics.IFirewallRulesOperations * string * string * string * Microsoft.Azure.Management.DataLake.Analytics.Models.UpdateFirewallRuleParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Analytics.Models.FirewallRule>
<Extension()>
Public Function UpdateAsync (operations As IFirewallRulesOperations, resourceGroupName As String, accountName As String, firewallRuleName As String, Optional parameters As UpdateFirewallRuleParameters = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FirewallRule)

Parameters

operations
IFirewallRulesOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the Azure resource group.

accountName
System.String

The name of the Data Lake Analytics account.

firewallRuleName
System.String

The name of the firewall rule to update.

parameters
UpdateFirewallRuleParameters

Parameters supplied to update the firewall rule.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<FirewallRule>

Applies to