-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.cosmos.ConsistencyLevel.yml
61 lines (45 loc) · 2.12 KB
/
azure.cosmos.ConsistencyLevel.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
### YamlMime:PythonClass
uid: azure.cosmos.ConsistencyLevel
name: ConsistencyLevel
fullName: azure.cosmos.ConsistencyLevel
module: azure.cosmos
inheritances:
- builtins.object
summary: 'Represents the consistency levels supported for Azure Cosmos client
operations.
The requested ConsistencyLevel must match or be weaker than that provisioned
for the database account. Consistency levels.
Consistency levels by order of strength are Strong, BoundedStaleness,
Session, ConsistentPrefix and Eventual.'
constructor:
syntax: ConsistencyLevel()
attributes:
- uid: azure.cosmos.ConsistencyLevel.BoundedStaleness
name: BoundedStaleness
summary: 'Bounded Staleness guarantees that reads are not too out-of-date. This
can be configured based on number of operations (MaxStalenessPrefix)
or time (MaxStalenessIntervalInSeconds).'
signature: 'BoundedStaleness: Literal[''BoundedStaleness''] = ''BoundedStaleness'''
- uid: azure.cosmos.ConsistencyLevel.ConsistentPrefix
name: ConsistentPrefix
summary: 'ConsistentPrefix Consistency guarantees that reads will return some
prefix of all writes with no gaps. All writes will be eventually be
available for reads.'
signature: 'ConsistentPrefix: Literal[''ConsistentPrefix''] = ''ConsistentPrefix'''
- uid: azure.cosmos.ConsistencyLevel.Eventual
name: Eventual
summary: 'Eventual Consistency guarantees that reads will return a subset of
writes. All writes will be eventually be available for reads.'
signature: 'Eventual: Literal[''Eventual''] = ''Eventual'''
- uid: azure.cosmos.ConsistencyLevel.Session
name: Session
summary: 'Session Consistency guarantees monotonic reads (you never read old data,
then new, then old again), monotonic writes (writes are ordered) and
read your writes (your writes are immediately visible to your reads)
within any single session.'
signature: 'Session: Literal[''Session''] = ''Session'''
- uid: azure.cosmos.ConsistencyLevel.Strong
name: Strong
summary: 'Strong Consistency guarantees that read operations always return the
value that was last written.'
signature: 'Strong: Literal[''Strong''] = ''Strong'''