DatabaseAccount 类

定义

Represents a database account in the Azure Cosmos DB database service.

public class DatabaseAccount extends Resource
继承
java.lang.Object
Serializable
DatabaseAccount

继承成员

构造函数

DatabaseAccount(JSONObject jsonObject)

Initialize a database account object from json object.

DatabaseAccount(String jsonString)

Initialize a database account object from json string.

方法

getAddressesLink()

Get the addresseslink of the databaseAccount.

getConsistencyPolicy()

Gets the ConsistencyPolicy settings.

getDatabasesLink()

Get the databases link of the databaseAccount.

getMaxMediaStorageUsageInMB()

Attachment content (media) storage quota in MBs Retrieved from gateway.

getMediaLink()

Get the medialink of the databaseAccount.

getMediaStorageUsageInMB()

Current attachment content (media) usage in MBs.

Retrieved from gateway. Value is returned from cached information updated periodically and is not guaranteed to be real time.

getReadableLocations()

Gets the list of readable locations for this database account.

getReplicationPolicy()

Gets the ReplicationPolicy settings.

getWritableLocations()

Gets the list of writable locations for this database account.

适用于