DatabaseAccount Class
Database account.
A DatabaseAccount is the container for databases.
- Inheritance
-
builtins.objectDatabaseAccount
Constructor
DatabaseAccount()
Variables
- 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
- dict
UserConsistencyPolicy settings.
- ConsistencyPolicy['defaultConsistencyLevel']
- dict
The default consistency level.
- ConsistencyPolicy['maxStalenessPrefix']
- int
In bounded staleness consistency, the maximum allowed staleness in terms difference in sequence numbers (aka version).
- ConsistencyPolicy['maxStalenessIntervalInSeconds']
- int
In bounded staleness consistency, the maximum allowed staleness in terms time interval.
- 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.
WritableLocations
The list of writable locations for a geo-replicated database account.
Feedback
Submit and view feedback for