Share via


FirewallRuleOperationsExtensions.Create Method (IFirewallRuleOperations, String, FirewallRuleCreateParameters)

 

Adds a new server-level Firewall Rule for an Azure SQL Database Server.

Namespace:   Microsoft.WindowsAzure.Management.Sql
Assembly:  Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)

Syntax

public static FirewallRuleCreateResponse Create(
    this IFirewallRuleOperations operations,
    string serverName,
    FirewallRuleCreateParameters parameters
)
public:
[ExtensionAttribute]
static FirewallRuleCreateResponse^ Create(
    IFirewallRuleOperations^ operations,
    String^ serverName,
    FirewallRuleCreateParameters^ parameters
)
static member Create : 
        operations:IFirewallRuleOperations *
        serverName:string *
        parameters:FirewallRuleCreateParameters -> FirewallRuleCreateResponse
<ExtensionAttribute>
Public Shared Function Create (
    operations As IFirewallRuleOperations,
    serverName As String,
    parameters As FirewallRuleCreateParameters
) As FirewallRuleCreateResponse

Parameters

  • serverName
    Type: System.String

    Required. The name of the Azure SQL Database Server to which this rule will be applied.

Return Value

Type: Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleCreateResponse

Contains the response to a Create Firewall Rule operation.

See Also

FirewallRuleOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top