Set Container TTL as -1

Litty Kuriakose 106 Reputation points
2022-05-04T16:51:28.073+00:00

Hi Team,

Is it possible to set conatiner TTL as -1 using azure portal. Please provide information on how to set TTL as -1.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,529 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. GeethaThatipatri-MSFT 29,012 Reputation points Microsoft Employee
    2022-05-04T19:31:58.137+00:00

    Hi, @Litty Kuriakose Thanks for the ask and for using the Microsoft Q&A platform.
    As we understand the ask here is you want to know if it is possible to set container TTL as -1.
    Yes, we can set container TTL to -1 please refer to this document for more information.
    Under container settings please select the option "On (no default) shown as below

    199003-image.png

    199014-image.png

    Please let me know if the information is helpful.
    Regards
    Geetha