Partager via


QueryTexts interface

Interface representing a QueryTexts.

Methods

get(string, string, string, QueryTextsGetOptionalParams)

Retrieve the Query-Store query texts for the queryId.

listByServer(string, string, string[], QueryTextsListByServerOptionalParams)

Retrieve the Query-Store query texts for specified queryIds.

Method Details

get(string, string, string, QueryTextsGetOptionalParams)

Retrieve the Query-Store query texts for the queryId.

function get(resourceGroupName: string, serverName: string, queryId: string, options?: QueryTextsGetOptionalParams): Promise<QueryText>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serverName

string

The name of the server.

queryId

string

The Query-Store query identifier.

options
QueryTextsGetOptionalParams

The options parameters.

Returns

Promise<QueryText>

listByServer(string, string, string[], QueryTextsListByServerOptionalParams)

Retrieve the Query-Store query texts for specified queryIds.

function listByServer(resourceGroupName: string, serverName: string, queryIds: string[], options?: QueryTextsListByServerOptionalParams): PagedAsyncIterableIterator<QueryText, QueryText[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serverName

string

The name of the server.

queryIds

string[]

The query identifiers

options
QueryTextsListByServerOptionalParams

The options parameters.

Returns