你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CosmosDatabaseResponse Class

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.

CosmosDatabaseProperties getProperties()

Gets the cosmos database properties

Methods inherited from CosmosResponse

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