Поделиться через


FirewallRuleOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates an Azure SQL Database Server Firewall rule.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.FirewallRuleGetResponse> CreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IFirewallRuleOperations operations, string resourceGroupName, string serverName, string firewallRule, Microsoft.Azure.Management.Sql.LegacySdk.Models.FirewallRuleCreateOrUpdateParameters parameters);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Sql.LegacySdk.IFirewallRuleOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.FirewallRuleCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.FirewallRuleGetResponse>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IFirewallRuleOperations, resourceGroupName As String, serverName As String, firewallRule As String, parameters As FirewallRuleCreateOrUpdateParameters) As Task(Of FirewallRuleGetResponse)

Parameters

operations
IFirewallRuleOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IFirewallRuleOperations.

resourceGroupName
String

Required. The name of the Resource Group to which the server belongs.

serverName
String

Required. The name of the Azure SQL Database Server on which the database is hosted.

firewallRule
String

Required. The name of the Azure SQL Database Server Firewall Rule.

parameters
FirewallRuleCreateOrUpdateParameters

Required. The required parameters for createing or updating a firewall rule.

Returns

Represents the response to a List Firewall Rules request.

Applies to