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
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Java