FirewallRuleOperationsExtensions.Create Method (IFirewallRuleOperations, String, FirewallRuleCreateParameters)
Adds a new server-level Firewall Rule for an Azure SQL Database Server.
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
public static FirewallRuleCreateResponse Create( this IFirewallRuleOperations operations, string serverName, FirewallRuleCreateParameters parameters )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperations
Reference to the Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperations.
- serverName
-
Type:
System.String
Required. The name of the Azure SQL Database Server to which this rule will be applied.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleCreateParameters
Required. The parameters for the Create Firewall Rule operation.
Return Value
Type: Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleCreateResponseContains the response to a Create Firewall Rule operation.
Show: