FirewallRulesOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.Store.Models.FirewallRule> CreateOrUpdateAsync (this Microsoft.Azure.Management.DataLake.Store.IFirewallRulesOperations operations, string resourceGroupName, string accountName, string firewallRuleName, Microsoft.Azure.Management.DataLake.Store.Models.CreateOrUpdateFirewallRuleParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.DataLake.Store.IFirewallRulesOperations * string * string * string * Microsoft.Azure.Management.DataLake.Store.Models.CreateOrUpdateFirewallRuleParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Store.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 Store 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.Store.Models.FirewallRule> CreateOrUpdateAsync (this Microsoft.Azure.Management.DataLake.Store.IFirewallRulesOperations operations, string resourceGroupName, string accountName, string firewallRuleName, Microsoft.Azure.Management.DataLake.Store.Models.FirewallRule parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.DataLake.Store.IFirewallRulesOperations * string * string * string * Microsoft.Azure.Management.DataLake.Store.Models.FirewallRule * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Store.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 Store account.
- accountName
- String
The name of the Data Lake Store 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
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기