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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for Java