You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cosmos-db/merge.md
+23-11Lines changed: 23 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,17 +174,29 @@ az cosmosdb sql container merge \
174
174
175
175
For **shared throughput databases**, start the merge by using `az cosmosdb sql database merge`.
176
176
177
-
```azurecli
178
-
az cosmosdb sql database merge \
179
-
--account-name '<cosmos-account-name>'
180
-
--name '<cosmos-database-name>'
181
-
--resource-group '<resource-group-name>'
177
+
```azurecli-interactive
178
+
az cosmosdb sql database merge `
179
+
--resource-group "<resource-group-name>" `
180
+
--name "<database-name>" `
181
+
--account-name "<cosmos-db-account-name>"
182
182
```
183
183
184
184
185
-
```http
186
-
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/partitionMerge?api-version=2023-11-15-preview
#### [API for MongoDB](#tab/mongodb/azure-powershell)
190
202
@@ -262,17 +274,17 @@ az cosmosdb mongodb collection merge \
262
274
263
275
264
276
---
265
-
For **shared-throughput databases**, start the merge by using [`az cosmosdb mongodb database merge`](/cli/azure/cosmosdb/mongodb/database?view=azure-cli-latest).
277
+
For **shared-throughput databases**, start the merge by using [`az cosmosdb mongodb database merge`](/cli/azure/cosmosdb/mongodb/database).
266
278
267
-
```azurecli
279
+
```azurecli-interactive
268
280
az cosmosdb mongodb database merge \
269
281
--account-name '<cosmos-account-name>'
270
282
--name '<cosmos-database-name>'
271
283
--resource-group '<resource-group-name>'
272
284
```
273
285
274
286
275
-
```http
287
+
```http-interactive
276
288
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/partitionMerge?api-version=2023-11-15-preview
0 commit comments