Share via


IFirewallRuleOperations.ListAsync(String, String, CancellationToken) Method

Definition

Returns a list of Azure SQL Database Server Firewall rules.

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

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.

cancellationToken
CancellationToken

Cancellation token.

Returns

Represents the response to a List Firewall Rules request.

Applies to