DatabaseAccount Class

Database account.

A DatabaseAccount is the container for databases.

Inheritance
builtins.object
DatabaseAccount

Constructor

DatabaseAccount()

Variables

Name Description
DatabaseLink
str

The self-link for Databases in the databaseAccount.

MediaLink
str

The self-link for Media in the databaseAccount.

MaxMediaStorageUsageInMB
int

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

CurrentMediaStorageUsageInMB
int

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.

ConsistencyPolicy

UserConsistencyPolicy settings.

EnableMultipleWritableLocations
<xref:boolean>

Flag on the azure Cosmos account that indicates if writes can take place in multiple locations.

Attributes

ReadableLocations

The list of readable locations for a geo-replicated database account. :returns: List of readable locations for the database account. :rtype: List[str]

WritableLocations

The list of writable locations for a geo-replicated database account. :returns: List of writable locations for the database account. :rtype: List[str]