Partager via


DatabaseUsagesClient Interface

public interface DatabaseUsagesClient

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

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<DatabaseUsageInner> listByDatabase(String resourceGroupName, String serverName, String databaseName)

Gets database usages.

abstract PagedIterable<DatabaseUsageInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, Context context)

Gets database usages.

abstract PagedFlux<DatabaseUsageInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)

Gets database usages.

Method Details

listByDatabase

public abstract PagedIterable listByDatabase(String resourceGroupName, String serverName, String databaseName)

Gets database usages.

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.
serverName - The name of the server.
databaseName - The name of the database.

Returns:

database usages as paginated response with PagedIterable<T>.

listByDatabase

public abstract PagedIterable listByDatabase(String resourceGroupName, String serverName, String databaseName, Context context)

Gets database usages.

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.
serverName - The name of the server.
databaseName - The name of the database.
context - The context to associate with this operation.

Returns:

database usages as paginated response with PagedIterable<T>.

listByDatabaseAsync

public abstract PagedFlux listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)

Gets database usages.

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.
serverName - The name of the server.
databaseName - The name of the database.

Returns:

database usages as paginated response with PagedFlux<T>.

Applies to