IFirewallRuleOperations.GetAsync Method

Definition

Returns an Azure SQL Database Server Firewall rule.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.FirewallRuleGetResponse> GetAsync (string resourceGroupName, string serverName, string firewallRule, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.FirewallRuleGetResponse>
Public Function GetAsync (resourceGroupName As String, serverName As String, firewallRule As String, cancellationToken As CancellationToken) As Task(Of FirewallRuleGetResponse)

Parameters

resourceGroupName
String

The name of the Resource Group to which the server belongs.

serverName
String

The name of the Azure SQL Database Server on which the database is hosted.

firewallRule
String

The name of the Azure SQL Database Server Firewall Rule.

cancellationToken
CancellationToken

Cancellation token.

Returns

Represents the response to a List Firewall Rules request.

Applies to