ManagedDatabaseQueriesClient Interface

public interface ManagedDatabaseQueriesClient

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

Method Summary

Modifier and Type Method and Description
abstract ManagedInstanceQueryInner get(String resourceGroupName, String managedInstanceName, String databaseName, String queryId)

Get query by query id.

abstract Mono<ManagedInstanceQueryInner> getAsync(String resourceGroupName, String managedInstanceName, String databaseName, String queryId)

Get query by query id.

abstract Response<ManagedInstanceQueryInner> getWithResponse(String resourceGroupName, String managedInstanceName, String databaseName, String queryId, Context context)

Get query by query id.

abstract Mono<Response<ManagedInstanceQueryInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String databaseName, String queryId)

Get query by query id.

abstract PagedIterable<QueryStatisticsInner> listByQuery(String resourceGroupName, String managedInstanceName, String databaseName, String queryId)

Get query execution statistics by query id.

abstract PagedIterable<QueryStatisticsInner> listByQuery(String resourceGroupName, String managedInstanceName, String databaseName, String queryId, String startTime, String endTime, QueryTimeGrainType interval, Context context)

Get query execution statistics by query id.

abstract PagedFlux<QueryStatisticsInner> listByQueryAsync(String resourceGroupName, String managedInstanceName, String databaseName, String queryId)

Get query execution statistics by query id.

abstract PagedFlux<QueryStatisticsInner> listByQueryAsync(String resourceGroupName, String managedInstanceName, String databaseName, String queryId, String startTime, String endTime, QueryTimeGrainType interval)

Get query execution statistics by query id.

Method Details

get

public abstract ManagedInstanceQueryInner get(String resourceGroupName, String managedInstanceName, String databaseName, String queryId)

Get query by query id.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The name of the managed instance.
databaseName - The name of the database.
queryId - The queryId parameter.

Returns:

query by query id.

getAsync

public abstract Mono getAsync(String resourceGroupName, String managedInstanceName, String databaseName, String queryId)

Get query by query id.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The name of the managed instance.
databaseName - The name of the database.
queryId - The queryId parameter.

Returns:

query by query id on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String managedInstanceName, String databaseName, String queryId, Context context)

Get query by query id.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The name of the managed instance.
databaseName - The name of the database.
queryId - The queryId parameter.
context - The context to associate with this operation.

Returns:

query by query id along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String databaseName, String queryId)

Get query by query id.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The name of the managed instance.
databaseName - The name of the database.
queryId - The queryId parameter.

Returns:

query by query id along with Response<T> on successful completion of Mono.

listByQuery

public abstract PagedIterable listByQuery(String resourceGroupName, String managedInstanceName, String databaseName, String queryId)

Get query execution statistics by query id.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The name of the managed instance.
databaseName - The name of the database.
queryId - The queryId parameter.

Returns:

query execution statistics by query id as paginated response with PagedIterable<T>.

listByQuery

public abstract PagedIterable listByQuery(String resourceGroupName, String managedInstanceName, String databaseName, String queryId, String startTime, String endTime, QueryTimeGrainType interval, Context context)

Get query execution statistics by query id.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The name of the managed instance.
databaseName - The name of the database.
queryId - The queryId parameter.
startTime - Start time for observed period.
endTime - End time for observed period.
interval - The time step to be used to summarize the metric values.
context - The context to associate with this operation.

Returns:

query execution statistics by query id as paginated response with PagedIterable<T>.

listByQueryAsync

public abstract PagedFlux listByQueryAsync(String resourceGroupName, String managedInstanceName, String databaseName, String queryId)

Get query execution statistics by query id.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The name of the managed instance.
databaseName - The name of the database.
queryId - The queryId parameter.

Returns:

query execution statistics by query id as paginated response with PagedFlux<T>.

listByQueryAsync

public abstract PagedFlux listByQueryAsync(String resourceGroupName, String managedInstanceName, String databaseName, String queryId, String startTime, String endTime, QueryTimeGrainType interval)

Get query execution statistics by query id.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The name of the managed instance.
databaseName - The name of the database.
queryId - The queryId parameter.
startTime - Start time for observed period.
endTime - End time for observed period.
interval - The time step to be used to summarize the metric values.

Returns:

query execution statistics by query id as paginated response with PagedFlux<T>.

Applies to