Skip to content

Commit ef2ee75

Browse files
[CosmosDB] Modify Example 1 with the correct cmdlet (#20707)
1 parent a370dcd commit ef2ee75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlContainer.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ Updates the CosmosDB Sql Container. Performs a client side patch operation by re
5555

5656
### Example 1
5757
```powershell
58-
Update-AzCosmosDBMongoDBDatabase -AccountName myAccountName -Name myDatabaseName -ResourceGroupName myResourcegroupName -Throughput 800
58+
Update-AzCosmosDBSqlContainer -AccountName myAccountName -Name myDatabaseName -ResourceGroupName myResourcegroupName -Throughput 800
5959
```
6060

6161
```output
6262
Name : myDatabaseName
63-
Id : /subscriptions/mySubscriptionId/resourceGroups/myResourcegroupName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/mongodbDatabases/myDatabaseName
63+
Id : /subscriptions/mySubscriptionId/resourceGroups/myResourcegroupName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/sqlDatabases/myDatabaseName
6464
Location :
6565
Tags :
66-
Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSMongoDBDatabaseGetPropertiesResource
66+
Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlContainerGetPropertiesResource
6767
```
6868

6969
## PARAMETERS

0 commit comments

Comments
 (0)