DatabaseAccount Class
Database account.
A DatabaseAccount is the container for databases.
Constructor
DatabaseAccount()
Variables
| Name | Description |
|---|---|
|
DatabaseLink
|
The self-link for Databases in the databaseAccount. |
|
MediaLink
|
The self-link for Media in the databaseAccount. |
|
MaxMediaStorageUsageInMB
|
Attachment content (media) storage quota in MBs (Retrieved from gateway). |
|
CurrentMediaStorageUsageInMB
|
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[dict[str, str]]
WritableLocations
The list of writable locations for a geo-replicated database account. :returns: List of writable locations for the database account. :rtype: list[dict[str, str]]