Share via


IFirewallRuleOperations.UpdateAsync Method

Updates an existing 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)

Usage

'Usage
Dim instance As IFirewallRuleOperations
Dim serverName As String
Dim ruleName As String
Dim parameters As FirewallRuleUpdateParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of FirewallRuleUpdateResponse)

returnValue = instance.UpdateAsync(serverName, ruleName, parameters, cancellationToken)

Syntax

'Declaration
Function UpdateAsync ( _
    serverName As String, _
    ruleName As String, _
    parameters As FirewallRuleUpdateParameters, _
    cancellationToken As CancellationToken _
) As Task(Of FirewallRuleUpdateResponse)
Task<FirewallRuleUpdateResponse> UpdateAsync (
    string serverName,
    string ruleName,
    FirewallRuleUpdateParameters parameters,
    CancellationToken cancellationToken
)
Task<FirewallRuleUpdateResponse^>^ UpdateAsync (
    String^ serverName, 
    String^ ruleName, 
    FirewallRuleUpdateParameters^ parameters, 
    CancellationToken cancellationToken
)
Task<FirewallRuleUpdateResponse> UpdateAsync (
    String serverName, 
    String ruleName, 
    FirewallRuleUpdateParameters parameters, 
    CancellationToken cancellationToken
)
function UpdateAsync (
    serverName : String, 
    ruleName : String, 
    parameters : FirewallRuleUpdateParameters, 
    cancellationToken : CancellationToken
) : Task<FirewallRuleUpdateResponse>

Parameters

  • serverName
    The name of the Azure SQL Database Server that has the Firewall Rule to be updated.
  • ruleName
    The name of the Firewall Rule to be updated.
  • parameters
    The parameters for the Update Firewall Rule operation.
  • cancellationToken
    Cancellation token.

Return Value

Represents the firewall rule update response.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

IFirewallRuleOperations Interface
IFirewallRuleOperations Members
Microsoft.WindowsAzure.Management.Sql Namespace