Package com.azure.data.cosmos
Class CosmosDatabaseResponse
- java.lang.Object
-
- com.azure.data.cosmos.CosmosResponse<CosmosDatabaseProperties>
-
- com.azure.data.cosmos.CosmosDatabaseResponse
-
public class CosmosDatabaseResponse extends CosmosResponse<CosmosDatabaseProperties>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CosmosDatabase
database()
Gets the CosmosDatabase objectlong
databaseQuota()
Gets the Max Quota.long
databaseUsage()
Gets the current Usage.CosmosDatabaseProperties
properties()
Gets the cosmos database properties-
Methods inherited from class com.azure.data.cosmos.CosmosResponse
activityId, cosmosResponseDiagnosticsString, currentResourceQuotaUsage, maxResourceQuota, requestCharge, requestLatency, responseHeaders, sessionToken, statusCode
-
-
-
-
Method Detail
-
database
public CosmosDatabase database()
Gets the CosmosDatabase object- Returns:
CosmosDatabase
-
properties
public CosmosDatabaseProperties properties()
Gets the cosmos database properties- Returns:
- the cosmos database properties
-
databaseQuota
public long databaseQuota()
Gets the Max Quota.- Returns:
- the database quota.
-
databaseUsage
public long databaseUsage()
Gets the current Usage.- Returns:
- the current database usage.
-
-