IFirewallRuleOperations.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 System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleCreateResponse> CreateAsync (string serverName, Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : string * Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleCreateResponse>
Public Function CreateAsync (serverName As String, parameters As FirewallRuleCreateParameters, cancellationToken As CancellationToken) As Task(Of FirewallRuleCreateResponse)
Parameters
- serverName
- String
The name of the Azure SQL Database Server to which this rule will be applied.
- parameters
- FirewallRuleCreateParameters
The parameters for the Create Firewall Rule operation.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Contains the response to a Create Firewall Rule operation.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET