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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.