Is there a way to programmatically change TTL on a cosmos db Table
问题 As the title describes, I'm trying to change the TTL of a cosmos db table. I couldn't find anything in c#/powershell/arm templates Here is what I'm trying to achieve The only thing I was able to find is the api call that is triggered in azure portal, but I'm wondering if it is safe to use this API directly? 回答1: In Cosmos DB Table API, Tables are essentially Containers thus you can use Cosmos DB SQL API SDK to manipulate the Table. Here's the sample code to do so: var cosmosClient = new