Udostępnij za pośrednictwem


IpFirewallRulesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a firewall rule

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Synapse.Models.IpFirewallRuleInfo> CreateOrUpdateAsync (this Microsoft.Azure.Management.Synapse.IIpFirewallRulesOperations operations, string resourceGroupName, string workspaceName, string ruleName, Microsoft.Azure.Management.Synapse.Models.IpFirewallRuleInfo ipFirewallRuleInfo, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Synapse.IIpFirewallRulesOperations * string * string * string * Microsoft.Azure.Management.Synapse.Models.IpFirewallRuleInfo * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Synapse.Models.IpFirewallRuleInfo>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IIpFirewallRulesOperations, resourceGroupName As String, workspaceName As String, ruleName As String, ipFirewallRuleInfo As IpFirewallRuleInfo, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IpFirewallRuleInfo)

Parameters

operations
IIpFirewallRulesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

workspaceName
String

The name of the workspace

ruleName
String

The IP firewall rule name

ipFirewallRuleInfo
IpFirewallRuleInfo

IP firewall rule properties

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to