QueryTextsOperationsExtensions.ListByServerAsync(IQueryTextsOperations, String, String, IList<String>, CancellationToken) Method

Definition

Retrieve the Query-Store query texts for specified queryIds.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.MySQL.Models.QueryText>> ListByServerAsync (this Microsoft.Azure.Management.MySQL.IQueryTextsOperations operations, string resourceGroupName, string serverName, System.Collections.Generic.IList<string> queryIds, System.Threading.CancellationToken cancellationToken = default);
static member ListByServerAsync : Microsoft.Azure.Management.MySQL.IQueryTextsOperations * string * string * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.MySQL.Models.QueryText>>
<Extension()>
Public Function ListByServerAsync (operations As IQueryTextsOperations, resourceGroupName As String, serverName As String, queryIds As IList(Of String), Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(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.

queryIds
System.Collections.Generic.IList<System.String>

The query identifiers

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

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

Applies to