Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

az cosmosdb sql container update - set TTL to OFF #29205

Open
renegade968 opened this issue Jun 19, 2024 · 1 comment
Open

az cosmosdb sql container update - set TTL to OFF #29205

renegade968 opened this issue Jun 19, 2024 · 1 comment
Labels
Auto-Assign Auto assign by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. CosmosDB az cosmosdb customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Attention This issue is responsible by Azure service team.

Comments

@renegade968
Copy link

Describe the bug

Is there an cli option or CosmosDB sql container to set the ttl back to
"defaultTtl": null

Related command

az cosmosdb sql container update --ttl ""

Errors

argument --ttl: invalid int value: ''

Issue script & Debug output

az cosmosdb sql container update -g RgName --account-name AccountName --database-name DbName --name containerName --ttl ""

Expected behavior

if --ttl "" or --ttl null set "defaultTtl": null

Environment Summary

azure-cli 2.61.0
core 2.61.0
telemetry 1.1.0

Extensions:
application-insights 1.2.1
datafactory 1.0.2
storage-preview 1.0.0b1

Dependencies:
msal 1.28.0
azure-mgmt-resource 23.1.1

Python location '/opt/homebrew/Cellar/azure-cli/2.61.0/libexec/bin/python'
Extensions directory '/Users/adlere1/.azure/cliextensions'

Python (Darwin) 3.11.9 (main, Apr 2 2024, 08:25:04) [Clang 15.0.0 (clang-1500.3.9.4)]

Additional context

No response

@renegade968 renegade968 added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Jun 19, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Jun 19, 2024

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot Service Attention This issue is responsible by Azure service team. CosmosDB az cosmosdb labels Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. CosmosDB az cosmosdb customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants