Share via


FirewallRulesOperationsExtensions.Replace Method

Definition

Replaces all firewall rules on the server.

public static Microsoft.Azure.Management.Sql.Models.FirewallRule Replace (this Microsoft.Azure.Management.Sql.IFirewallRulesOperations operations, string resourceGroupName, string serverName, Microsoft.Azure.Management.Sql.Models.FirewallRuleList parameters);
static member Replace : Microsoft.Azure.Management.Sql.IFirewallRulesOperations * string * string * Microsoft.Azure.Management.Sql.Models.FirewallRuleList -> Microsoft.Azure.Management.Sql.Models.FirewallRule
<Extension()>
Public Function Replace (operations As IFirewallRulesOperations, resourceGroupName As String, serverName As String, parameters As FirewallRuleList) As FirewallRule

Parameters

operations
IFirewallRulesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName
String

The name of the server.

parameters
FirewallRuleList

Returns

Applies to