FirewallRuleOperationsExtensions.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a new server-level Firewall Rule for an Azure SQL Database Server.
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleCreateResponse> CreateAsync (this Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperations operations, string serverName, Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleCreateParameters parameters);
static member CreateAsync : Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperations * string * Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleCreateParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleCreateResponse>
<Extension()>
Public Function CreateAsync (operations As IFirewallRuleOperations, serverName As String, parameters As FirewallRuleCreateParameters) As Task(Of FirewallRuleCreateResponse)
Parameters
- operations
- IFirewallRuleOperations
Reference to the Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperations.
- serverName
- String
Required. The name of the Azure SQL Database Server to which this rule will be applied.
- parameters
- FirewallRuleCreateParameters
Required. The parameters for the Create Firewall Rule operation.
Returns
Contains the response to a Create Firewall Rule operation.
Applies to
Azure SDK for .NET