CosmosDatabaseResponse Class
- java.
lang. Object - com.
azure. cosmos. models. CosmosResponse<T> - com.
azure. cosmos. models. CosmosDatabaseResponse
- com.
- com.
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. |
Cosmos |
getProperties()
Gets the cosmos database properties |
Methods inherited from CosmosResponse
getActivityId
getCurrentResourceQuotaUsage
getDiagnostics
getDuration
getMaxResourceQuota
getProperties
getRequestCharge
getResponseHeaders
getSessionToken
getStatusCode
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