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
operations
Type: Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperationsReference to the Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperations.
serverName
Type: System.StringRequired. The name of the Azure SQL Database Server that has the Firewall Rule to be updated.
ruleName
Type: System.StringRequired. The name of the Firewall Rule to be updated.
parameters
Type: Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleUpdateParametersRequired. The parameters for the Update Firewall Rule operation.
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