Udostępnij za pośrednictwem


IFirewallRuleOperations.UpdateAsync Method

Definition

Updates an existing server-level Firewall Rule for an Azure SQL Database Server.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleUpdateResponse> UpdateAsync (string serverName, string ruleName, Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member UpdateAsync : string * string * Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleUpdateResponse>
Public Function UpdateAsync (serverName As String, ruleName As String, parameters As FirewallRuleUpdateParameters, cancellationToken As CancellationToken) As Task(Of FirewallRuleUpdateResponse)

Parameters

serverName
String

The name of the Azure SQL Database Server that has the Firewall Rule to be updated.

ruleName
String

The name of the Firewall Rule to be updated.

parameters
FirewallRuleUpdateParameters

The parameters for the Update Firewall Rule operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

Represents the firewall rule update response.

Applies to