RecommendedActionsOperationsExtensions.GetAsync Method

Definition

Retrieve recommended actions from the advisor.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.MySQL.Models.RecommendationAction> GetAsync (this Microsoft.Azure.Management.MySQL.IRecommendedActionsOperations operations, string resourceGroupName, string serverName, string advisorName, string recommendedActionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.MySQL.IRecommendedActionsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.MySQL.Models.RecommendationAction>
<Extension()>
Public Function GetAsync (operations As IRecommendedActionsOperations, resourceGroupName As String, serverName As String, advisorName As String, recommendedActionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(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.

recommendedActionName
System.String

The recommended action name.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<RecommendationAction>

Applies to