Share via


FirewallRulesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Overloads

CreateOrUpdateAsync(IFirewallRulesOperations, String, String, String, CreateOrUpdateFirewallRuleParameters, CancellationToken)

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

CreateOrUpdateAsync(IFirewallRulesOperations, String, String, String, FirewallRule, CancellationToken)

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

CreateOrUpdateAsync(IFirewallRulesOperations, String, String, String, CreateOrUpdateFirewallRuleParameters, CancellationToken)

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

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

Parameters

operations
IFirewallRulesOperations

The operations group for this extension method.

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to

CreateOrUpdateAsync(IFirewallRulesOperations, String, String, String, FirewallRule, CancellationToken)

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

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

Parameters

operations
IFirewallRulesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the Azure resource group that contains the Data Lake Analytics account.

accountName
String

The name of the Data Lake Analytics account to add or replace the firewall rule.

firewallRuleName
String

The name of the firewall rule to create or update.

parameters
FirewallRule

Parameters supplied to create or update the firewall rule.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to