Skip to content

Commit 667621d

Browse files
Merge pull request #265368 from tarabhatiamsft/docs-editor/merge-1707172283
Update merge.md
2 parents dc4f23c + 01f9a0d commit 667621d

File tree

1 file changed

+2
-55
lines changed

1 file changed

+2
-55
lines changed

articles/cosmos-db/merge.md

Lines changed: 2 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.service: cosmos-db
1010
ms.date: 04/28/2023
1111
---
1212

13+
14+
1315
# Merge partitions in Azure Cosmos DB (preview)
1416

1517
[!INCLUDE[NoSQL, MongoDB](includes/appliesto-nosql-mongodb.md)]
@@ -131,34 +133,6 @@ $parameters = @{
131133
Invoke-AzCosmosDBSqlContainerMerge @parameters
132134
```
133135

134-
For **shared-throughput databases**, use `Invoke-AzCosmosDBSqlDatabaseMerge` with the `-WhatIf` parameter to preview the merge without actually performing the operation.
135-
136-
137-
138-
```azurepowershell-interactive
139-
$parameters = @{
140-
ResourceGroupName = "<resource-group-name>"
141-
AccountName = "<cosmos-account-name>"
142-
Name = "<cosmos-database-name>"
143-
WhatIf = $true
144-
}
145-
Invoke-AzCosmosDBSqlDatabaseMerge @parameters
146-
```
147-
148-
Start the merge by running the same command without the `-WhatIf` parameter.
149-
150-
151-
152-
```azurepowershell-interactive
153-
$parameters = @{
154-
ResourceGroupName = "<resource-group-name>"
155-
AccountName = "<cosmos-account-name>"
156-
Name = "<cosmos-database-name>"
157-
}
158-
Invoke-AzCosmosDBSqlDatabaseMerge @parameters
159-
160-
```
161-
162136
#### [API for NoSQL](#tab/nosql/azure-cli)
163137

164138
For **provisioned throughput** containers, start the merge by using [`az cosmosdb sql container merge`](/cli/azure/cosmosdb/sql/container#az-cosmosdb-sql-container-merge).
@@ -232,33 +206,6 @@ $parameters = @{
232206
Invoke-AzCosmosDBMongoDBCollectionMerge @parameters
233207
```
234208

235-
For **shared-throughput** databases, use `Invoke-AzCosmosDBMongoDBDatabaseMerge` with the `-WhatIf` parameter to preview the merge without actually performing the operation.
236-
237-
238-
239-
```azurepowershell-interactive
240-
$parameters = @{
241-
ResourceGroupName = "<resource-group-name>"
242-
AccountName = "<cosmos-account-name>"
243-
Name = "<cosmos-database-name>"
244-
WhatIf = $true
245-
}
246-
Invoke-AzCosmosDBMongoDBDatabaseMerge @parameters
247-
```
248-
249-
Start the merge by running the same command without the `-WhatIf` parameter.
250-
251-
252-
253-
```azurepowershell-interactive
254-
$parameters = @{
255-
ResourceGroupName = "<resource-group-name>"
256-
AccountName = "<cosmos-account-name>"
257-
Name = "<cosmos-database-name>"
258-
}
259-
Invoke-AzCosmosDBMongoDBDatabaseMerge @parameters
260-
```
261-
262209
#### [API for MongoDB](#tab/mongodb/azure-cli)
263210

264211
For **provisioned containers**, start the merge by using [`az cosmosdb mongodb collection merge`](/cli/azure/cosmosdb/mongodb/collection#az-cosmosdb-mongodb-collection-merge).

0 commit comments

Comments
 (0)