QueryTextsOperationsExtensions.GetAsync(IQueryTextsOperations, String, String, String, CancellationToken) Method

Definition

Retrieve the Query-Store query texts for the queryId.

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

Parameters

operations
IQueryTextsOperations

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.

queryId
System.String

The Query-Store query identifier.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<QueryText>

Applies to