public class CosmosAsyncDatabaseResponse extends CosmosResponse<CosmosDatabaseProperties>
Modifier and Type | Method and Description |
---|---|
CosmosAsyncDatabase |
getDatabase()
Gets the CosmosAsyncDatabase object
|
long |
getDatabaseQuota()
Gets the Max Quota.
|
long |
getDatabaseUsage()
Gets the current Usage.
|
CosmosDatabaseProperties |
getProperties()
Gets the cosmos database properties
|
getActivityId, getCosmosResponseDiagnostics, getCurrentResourceQuotaUsage, getMaxResourceQuota, getRequestCharge, getRequestLatency, getResponseHeaders, getSessionToken, getStatusCode
public CosmosAsyncDatabase getDatabase()
CosmosAsyncDatabase
public CosmosDatabaseProperties getProperties()
getProperties
in class CosmosResponse<CosmosDatabaseProperties>
public long getDatabaseQuota()
public long getDatabaseUsage()
Copyright © 2020 Microsoft Corporation. All rights reserved.