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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java