Share via


FirewallRuleOperationsExtensions.UpdateAsync Method (IFirewallRuleOperations, String, String, FirewallRuleUpdateParameters)

 

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)

Syntax

public static Task<FirewallRuleUpdateResponse> UpdateAsync(
    this IFirewallRuleOperations operations,
    string serverName,
    string ruleName,
    FirewallRuleUpdateParameters parameters
)
public:
[ExtensionAttribute]
static Task<FirewallRuleUpdateResponse^>^ UpdateAsync(
    IFirewallRuleOperations^ operations,
    String^ serverName,
    String^ ruleName,
    FirewallRuleUpdateParameters^ parameters
)
static member UpdateAsync : 
        operations:IFirewallRuleOperations *
        serverName:string *
        ruleName:string *
        parameters:FirewallRuleUpdateParameters -> Task<FirewallRuleUpdateResponse>
<ExtensionAttribute>
Public Shared Function UpdateAsync (
    operations As IFirewallRuleOperations,
    serverName As String,
    ruleName As String,
    parameters As FirewallRuleUpdateParameters
) As Task(Of FirewallRuleUpdateResponse)

Parameters

  • serverName
    Type: System.String

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

  • ruleName
    Type: System.String

    Required. The name of the Firewall Rule to be updated.

Return Value

Type: System.Threading.Tasks.Task<FirewallRuleUpdateResponse>

Represents the firewall rule update response.

See Also

FirewallRuleOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top