Skip to content

Commit a89df9a

Browse files
authored
Update configure-synapse-link.md
1 parent e6f1c8d commit a89df9a

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

articles/cosmos-db/configure-synapse-link.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,11 +292,25 @@ The following links show how to update containers analytical TTL by using PowerS
292292
* [Azure Cosmos DB API for Mongo DB](/powershell/module/az.cosmosdb/update-azcosmosdbmongodbcollection)
293293
* [Azure Cosmos DB SQL API](/powershell/module/az.cosmosdb/update-azcosmosdbsqlcontainer)
294294

295-
## <a id="disable-analytical-store"></a> Optional - Disable analytical store in a container
295+
## <a id="disable-analytical-store"></a> Optional - Disable analytical store in a SQL API container
296296

297-
Analytical store can be disabled in SQL API containers using `Update-AzCosmosDBSqlContainer` PowerShell command, by updating `-AnalyticalStorageTtl` (analytical Time-To-Live) to `0`. Please note that currently this action can't be undone. If analytical store is disabled in a container, it can never be re-enabled.
297+
Analytical store can be disabled in SQL API containers using Azure CLI or PowerShell.
298+
299+
> [!NOTE]
300+
> Please note that currently this action can't be undone. If analytical store is disabled in a container, it can never be re-enabled.
301+
302+
> [!NOTE]
303+
> Please note that disabling analitical store is not available for MongoDB API collections.
304+
305+
306+
### Azure CLI
307+
308+
Set `--analytical-storage-ttl` parameter to 0 using the `az cosmosdb sql container update` Azure CLI command.
309+
310+
### PowerShell
311+
312+
Set `-AnalyticalStorageTtl` paramenter to 0 using the `Update-AzCosmosDBSqlContainer` PowerShell command.
298313

299-
Currently you can't be disabled in MongoDB API collections.
300314

301315
## <a id="connect-to-cosmos-database"></a> Connect to a Synapse workspace
302316

0 commit comments

Comments
 (0)