共用方式為


MySqlQueryTextCollection.GetAllAsync Method

Definition

Retrieve the Query-Store query texts for specified queryIds.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/queryTexts
  • Operation Id: QueryTexts_ListByServer
  • Default Api Version: 2018-06-01
  • Resource: MySqlQueryTextResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.MySql.MySqlQueryTextResource> GetAllAsync (System.Collections.Generic.IEnumerable<string> queryIds, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : seq<string> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MySql.MySqlQueryTextResource>
override this.GetAllAsync : seq<string> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MySql.MySqlQueryTextResource>
Public Overridable Function GetAllAsync (queryIds As IEnumerable(Of String), Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MySqlQueryTextResource)

Parameters

queryIds
IEnumerable<String>

The query identifiers.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of MySqlQueryTextResource that may take multiple service requests to iterate over.

Exceptions

queryIds is null.

Applies to