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
operations
Type: Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperationsReference to the Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperations.
serverName
Type: System.StringRequired. The name of the Azure SQL Database Server to which this rule will be applied.
parameters
Type: Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleCreateParametersRequired. The parameters for the Create Firewall Rule operation.
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