AdvisorsOperationsExtensions.GetAsync(IAdvisorsOperations, String, String, String, CancellationToken) Method

Definition

Get a recommendation action advisor.

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

Parameters

operations
IAdvisorsOperations

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.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Advisor>

Applies to