RecommendedActionsOperationsExtensions.ListByServerAsync Method

Definition

Retrieve recommended actions from the advisor.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.MySQL.Models.RecommendationAction>> ListByServerAsync (this Microsoft.Azure.Management.MySQL.IRecommendedActionsOperations operations, string resourceGroupName, string serverName, string advisorName, string sessionId = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByServerAsync : Microsoft.Azure.Management.MySQL.IRecommendedActionsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.MySQL.Models.RecommendationAction>>
<Extension()>
Public Function ListByServerAsync (operations As IRecommendedActionsOperations, resourceGroupName As String, serverName As String, advisorName As String, Optional sessionId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of RecommendationAction))

Parameters

operations
IRecommendedActionsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group. The name is case insensitive.

serverName
System.String

The name of the server.

advisorName
System.String

The advisor name for recommendation action.

sessionId
System.String

The recommendation action session identifier.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<IPage<RecommendationAction>>

Applies to