IFirewallRuleOperations.CreateAsync Method (String, FirewallRuleCreateParameters, CancellationToken)

 

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)

Function CreateAsync (
	serverName As String,
	parameters As FirewallRuleCreateParameters,
	cancellationToken As CancellationToken
) As Task(Of FirewallRuleCreateResponse)

Parameters

serverName
Type: System.String

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

parameters
Type: Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleCreateParameters

The parameters for the Create Firewall Rule operation.

cancellationToken
Type: System.Threading.CancellationToken

Cancellation token.

Return Value

Type: System.Threading.Tasks.Task(Of FirewallRuleCreateResponse)

Contains the response to a Create Firewall Rule operation.

Return to top
Show: