QueryTexts Interface

public interface QueryTexts

Resource collection API of QueryTexts.

Method Summary

Modifier and Type Method and Description
abstract QueryText get(String resourceGroupName, String serverName, String queryId)

Retrieve the Query-Store query texts for the queryId.

abstract Response<QueryText> getWithResponse(String resourceGroupName, String serverName, String queryId, Context context)

Retrieve the Query-Store query texts for the queryId.

abstract PagedIterable<QueryText> listByServer(String resourceGroupName, String serverName, List<String> queryIds)

Retrieve the Query-Store query texts for specified queryIds.

abstract PagedIterable<QueryText> listByServer(String resourceGroupName, String serverName, List<String> queryIds, Context context)

Retrieve the Query-Store query texts for specified queryIds.

Method Details

get

public abstract QueryText get(String resourceGroupName, String serverName, String queryId)

Retrieve the Query-Store query texts for the queryId.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
queryId - The Query-Store query identifier.

Returns:

represents a Query Text.

getWithResponse

public abstract Response<QueryText> getWithResponse(String resourceGroupName, String serverName, String queryId, Context context)

Retrieve the Query-Store query texts for the queryId.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
queryId - The Query-Store query identifier.
context - The context to associate with this operation.

Returns:

represents a Query Text along with Response<T>.

listByServer

public abstract PagedIterable<QueryText> listByServer(String resourceGroupName, String serverName, List<String> queryIds)

Retrieve the Query-Store query texts for specified queryIds.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
queryIds - The query identifiers.

Returns:

a list of query texts.

listByServer

public abstract PagedIterable<QueryText> listByServer(String resourceGroupName, String serverName, List<String> queryIds, Context context)

Retrieve the Query-Store query texts for specified queryIds.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
queryIds - The query identifiers.
context - The context to associate with this operation.

Returns:

a list of query texts.

Applies to