Package com.azure.cosmos.models
Class CosmosDatabaseResponse
- java.lang.Object
-
- com.azure.cosmos.models.CosmosResponse<CosmosDatabaseProperties>
-
- com.azure.cosmos.models.CosmosDatabaseResponse
-
public class CosmosDatabaseResponse extends CosmosResponse<CosmosDatabaseProperties>
The type Cosmos database response.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDatabaseQuota()
Gets the Max Quota.long
getDatabaseUsage()
Gets the current Usage.CosmosDatabaseProperties
getProperties()
Gets the cosmos database properties-
Methods inherited from class com.azure.cosmos.models.CosmosResponse
getActivityId, getCurrentResourceQuotaUsage, getDiagnostics, getDuration, getMaxResourceQuota, getRequestCharge, getResponseHeaders, getSessionToken, getStatusCode
-
-
-
-
Method Detail
-
getProperties
public CosmosDatabaseProperties getProperties()
Gets the cosmos database properties- Overrides:
getProperties
in classCosmosResponse<CosmosDatabaseProperties>
- Returns:
- the cosmos database properties
-
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.
-
-