QueryTextsClient Interface

public interface QueryTextsClient

An instance of this class provides access to all the operations defined in QueryTextsClient.

Method Summary

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

Retrieve the Query-Store query texts for the queryId.

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

Retrieve the Query-Store query texts for the queryId.

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

Retrieve the Query-Store query texts for specified queryIds.

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

Retrieve the Query-Store query texts for specified queryIds.

Method Details

get

public abstract QueryTextInner 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<QueryTextInner> 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<QueryTextInner> 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<QueryTextInner> 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