Share via


DatabaseAdvisorOperationsExtensions.ListAsync Method

Definition

Returns list of Advisors for the Azure SQL Database.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.AdvisorListResponse> ListAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseAdvisorOperations operations, string resourceGroupName, string serverName, string databaseName, string expand);
static member ListAsync : Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseAdvisorOperations * string * string * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.AdvisorListResponse>
<Extension()>
Public Function ListAsync (operations As IDatabaseAdvisorOperations, resourceGroupName As String, serverName As String, databaseName As String, expand As String) As Task(Of AdvisorListResponse)

Parameters

operations
IDatabaseAdvisorOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseAdvisorOperations.

resourceGroupName
String

Required. The name of the Resource Group.

serverName
String

Required. The name of the Azure SQL server.

databaseName
String

Required. The name of the Azure SQL database.

expand
String

Optional. The comma separated list of child objects that we want to expand on in response. NULL if expand is not required.

Returns

Represents the response to a list sql azure database advisors request.

Applies to