DatabasesClient.listUsagesAsync Method

Definition

Overloads

listUsagesAsync(String resourceGroupName, String accountName, String databaseRid)

Retrieves the usages (most recent data) for the given database.

listUsagesAsync(String resourceGroupName, String accountName, String databaseRid, String filter)

Retrieves the usages (most recent data) for the given database.

listUsagesAsync(String resourceGroupName, String accountName, String databaseRid)

Retrieves the usages (most recent data) for the given database.

public abstract PagedFlux<UsageInner> listUsagesAsync(String resourceGroupName, String accountName, String databaseRid)

Parameters

resourceGroupName
java.lang.String

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

accountName
java.lang.String

Cosmos DB database account name.

databaseRid
java.lang.String

Cosmos DB database rid.

Returns

the response to a list usage request.

listUsagesAsync(String resourceGroupName, String accountName, String databaseRid, String filter)

Retrieves the usages (most recent data) for the given database.

public abstract PagedFlux<UsageInner> listUsagesAsync(String resourceGroupName, String accountName, String databaseRid, String filter)

Parameters

resourceGroupName
java.lang.String

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

accountName
java.lang.String

Cosmos DB database account name.

databaseRid
java.lang.String

Cosmos DB database rid.

filter
java.lang.String

An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names).

Returns

the response to a list usage request.

Applies to