共用方式為


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
String

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

serverName
String

The name of the server.

advisorName
String

The advisor name for recommendation action.

sessionId
String

The recommendation action session identifier.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to