FirewallRuleOperationsExtensions.CreateOrUpdate Method

Definition

Creates or updates an Azure SQL Database Server Firewall rule.

public static Microsoft.Azure.Management.Sql.LegacySdk.Models.FirewallRuleGetResponse CreateOrUpdate (this Microsoft.Azure.Management.Sql.LegacySdk.IFirewallRuleOperations operations, string resourceGroupName, string serverName, string firewallRule, Microsoft.Azure.Management.Sql.LegacySdk.Models.FirewallRuleCreateOrUpdateParameters parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Sql.LegacySdk.IFirewallRuleOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.FirewallRuleCreateOrUpdateParameters -> Microsoft.Azure.Management.Sql.LegacySdk.Models.FirewallRuleGetResponse
<Extension()>
Public Function CreateOrUpdate (operations As IFirewallRuleOperations, resourceGroupName As String, serverName As String, firewallRule As String, parameters As FirewallRuleCreateOrUpdateParameters) As 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