共用方式為


CosmosDatabaseResponse Class

public class CosmosDatabaseResponse
extends CosmosResponse<CosmosDatabaseProperties>

The type Cosmos database response.

Method Summary

Modifier and Type Method and Description
long getDatabaseQuota()

Gets the Max Quota.

long getDatabaseUsage()

Gets the current Usage.

CosmosDatabaseProperties getProperties()

Gets the cosmos database properties

Methods inherited from CosmosResponse

Methods inherited from java.lang.Object

Method Details

getDatabaseQuota

public long getDatabaseQuota()

Gets the Max Quota.

Returns:

the getDatabase quota.

getDatabaseUsage

public long getDatabaseUsage()

Gets the current Usage.

Returns:

the current getDatabase usage.

getProperties

public CosmosDatabaseProperties getProperties()

Gets the cosmos database properties

Overrides:

CosmosDatabaseResponse.getProperties()

Returns:

the cosmos database properties

Applies to