Feature Request
Priority: P2 (Medium)
Description
CosmosDB Shell cannot view or set conflict resolution policy or Time-to-Live (TTL) settings for containers. These are important container configuration options that require leaving the shell to manage.
Proposed Behavior
TTL Management:
ttl show — Display current TTL configuration
ttl set <seconds> — Set default TTL for the container
ttl off — Disable TTL
Conflict Resolution:
conflict show — Display current conflict resolution policy
conflict set --mode <lastWriterWins|custom> — Set conflict resolution mode
conflict set --path <path> — Set the conflict resolution path
Example Usage
cd /MyDatabase/MyContainer
ttl show
ttl set 86400
conflict show
conflict set --mode lastWriterWins --path /_ts
Feature Request
Priority: P2 (Medium)
Description
CosmosDB Shell cannot view or set conflict resolution policy or Time-to-Live (TTL) settings for containers. These are important container configuration options that require leaving the shell to manage.
Proposed Behavior
TTL Management:
ttl show— Display current TTL configurationttl set <seconds>— Set default TTL for the containerttl off— Disable TTLConflict Resolution:
conflict show— Display current conflict resolution policyconflict set --mode <lastWriterWins|custom>— Set conflict resolution modeconflict set --path <path>— Set the conflict resolution pathExample Usage