Skip to content

Commit b8709d4

Browse files
authored
Format update
1 parent 22b60da commit b8709d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/cosmos-db/time-to-live.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ By default, time to live is disabled by default in all Cosmos DB collections and
5050

5151
2. Navigate to the collection you want to set the TTL value, Open the **Scale & Settings** pane. You can see that the Time to Live is by default set to **off**. You can change it to **on (no default)** or **on**.
5252

53-
**off** - Documents are not deleted automatically.
54-
**on (no default)** -
55-
**on** - Documents expire "n” seconds after last modification.
53+
**off** - Documents are not deleted automatically.
54+
**on (no default)** -
55+
**on** - Documents expire "n” seconds after last modification.
5656

57-
![Set time to live](./media/time-to-live/set-ttl-in-portal.png)
57+
![Set time to live](./media/time-to-live/set-ttl-in-portal.png)
5858

5959
## Enabling TTL
6060
To enable TTL on a collection, or the documents within a collection, you need to set the DefaultTTL property of a collection to either -1 or a non-zero positive number. Setting the DefaultTTL to -1 means that by default all documents in the collection will live forever but the Cosmos DB service should monitor this collection for documents that have overridden this default.

0 commit comments

Comments
 (0)