Skip to content

Commit c4f4848

Browse files
v-yuzhichenZiyue Zheng
andauthored
Fix Az.CosmosDB Syntax Errors (#18009)
* Fix Az.CosmosDB Syntax Errors * Fix Az.CosmosDB Syntax Errors Co-authored-by: Ziyue Zheng <[email protected]>
1 parent 00e4082 commit c4f4848

File tree

70 files changed

+160
-148
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+160
-148
lines changed

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBAccount.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The **Get-AzCosmosDBAccount** cmdlet gets the list of all existing CosmosDB acco
3030

3131
### Example 1
3232
```powershell
33-
Get-AzCosmosDBAccount -ResourceGroupName {resourceGroupName} -Name {databaseAccountName}
33+
Get-AzCosmosDBAccount -ResourceGroupName "resourceGroupName" -Name "databaseAccountName"
3434
```
3535

3636
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBCassandraKeyspace** cmdlet creates a new or updates an exist
3131

3232
### Example 1
3333
```powershell
34-
Get-AzCosmosDBCassandraKeyspace -ResourceGroupName {resourceGroupName} -AccountName {accountName} -Name {name}
34+
Get-AzCosmosDBCassandraKeyspace -ResourceGroupName "resourceGroupName" -AccountName "accountName" -Name "name"
3535
```
3636

3737
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspaceThroughput.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBCassandraKeyspaceThroughput** cmdlet gets the throughput obj
3131

3232
### Example 1
3333
```powershell
34-
Get-AzCosmosDBCassandraKeyspaceThroughput -ResourceGroupName {resourceGroupName} -AccountName {accountName} -Name {name}
34+
Get-AzCosmosDBCassandraKeyspaceThroughput -ResourceGroupName "resourceGroupName" -AccountName "accountName" -Name "name"
3535
```
3636

3737
## PARAMETERS

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBCassandraTable** cmdlet creates a new or updates an existing
3131

3232
### Example 1
3333
```powershell
34-
$table = Get-AzCosmosDBCassandraTable -ResourceGroupName {resourceGroupName} -AccountName {accountName} -KeyspaceName {keyspaceName} -Name {name}
34+
Get-AzCosmosDBCassandraTable -ResourceGroupName "resourceGroupName" -AccountName "accountName" -KeyspaceName "keyspaceName" -Name "tableName"
3535
```
3636

3737
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTableThroughput.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBCassandraTableThroughput** cmdlet gets the throughput object
3131

3232
### Example 1
3333
```powershell
34-
Get-AzCosmosDBCassandraTableThroughput -ResourceGroupName {resourceGroupName} -AccountName {accountName} -KeyspaceName {keyspaceName} -Name {tableName}
34+
Get-AzCosmosDBCassandraTableThroughput -ResourceGroupName "resourceGroupName" -AccountName "accountName" -KeyspaceName "keyspaceName" -Name "tableName"
3535
```
3636

3737
## PARAMETERS

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBGremlinDatabase** cmdlet gets the CosmosDB Gremlin Database.
3131

3232
### Example 1
3333
```powershell
34-
Get-AzCosmosDBGremlinDatabase -ResourceGroupName {rgName} -AccountName {accountName} -Name {databaseName}
34+
Get-AzCosmosDBGremlinDatabase -ResourceGroupName "rgName" -AccountName "accountName" -Name "databaseName"
3535
```
3636

3737
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabaseThroughput.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBGremlinDatabaseThroughput** cmdlet gets the throughput of a
3131

3232
### Example 1
3333
```powershell
34-
Get-AzCosmosDBGremlinDatabaseThroughput -ResourceGroupName {rgName} -AccountName {accountName} -Name {databaseName}
34+
Get-AzCosmosDBGremlinDatabaseThroughput -ResourceGroupName "rgName" -AccountName "accountName" -Name "databaseName"
3535
```
3636

3737
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBGremlinGraph** cmdlet gets the CosmosDB Gremlin Graph proper
3131

3232
### Example 1
3333
```powershell
34-
Get-AzCosmosDBGremlinGraph -ResourceGroupName {rgName} -AccountName {accountName} -DatabaseName {dbName} -Name {graphName}
34+
Get-AzCosmosDBGremlinGraph -ResourceGroupName "rgName" -AccountName "accountName" -DatabaseName "dbName" -Name "graphName"
3535
```
3636

3737
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraphThroughput.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBGremlinGraphThroughput** cmdlet gets the throughput of a Cos
3131

3232
### Example 1
3333
```powershell
34-
Get-AzCosmosDBGremlinGraphThroughput -ResourceGroupName {rgName} -AccountName {accountName} -DatabaseName {dbName} -Name {graphName}
34+
Get-AzCosmosDBGremlinGraphThroughput -ResourceGroupName "rgName" -AccountName "accountName" -DatabaseName "dbName" -Name "graphName"
3535
```
3636

3737
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollectionThroughput.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The **Get-AzCosmosDBMongoDBCollectionThroughput** cmdlet gets the throughput pro
3232

3333
### Example 1
3434
```powershell
35-
Get-AzCosmosDBMongoDBCollectionThroughput -ResourceGroupName {rgName} -AccountName {accountName} -DatabaseName {databaseName} -Name {collectionName}
35+
Get-AzCosmosDBMongoDBCollectionThroughput -ResourceGroupName "rgName" -AccountName "accountName" -DatabaseName "databaseName" -Name "collectionName"
3636
```
3737

3838
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBMongoDBDatabase** cmdlet gets the CosmosDB MongoDB Database.
3131

3232
### Example 1
3333
```powershell
34-
Get-AzCosmosDBMongoDBDatabase -ResourceGroupName {rgName} -AccountName {accountName} -Name {dbName}
34+
Get-AzCosmosDBMongoDBDatabase -ResourceGroupName "rgName" -AccountName "accountName" -Name "dbName"
3535
```
3636

3737
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabaseThroughput.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBMongoDBDatabaseThroughput** cmdlet gets the throughput prope
3131

3232
### Example 1
3333
```powershell
34-
Get-AzCosmosDBMongoDBDatabaseThroughput -ResourceGroupName {rgName} -AccountName {accountName} -Name {databaseName}
34+
Get-AzCosmosDBMongoDBDatabaseThroughput -ResourceGroupName "rgName" -AccountName "accountName" -Name "databaseName"
3535
```
3636

3737
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBRestorableCollection.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ For example, if user wants to restore the database account to a timestamp when a
3434

3535
### Example 1
3636
```powershell
37-
Get-AzCosmosDBMongoDBRestorableCollection -Location {locationName} -DatabaseAccountInstanceId {DatabaseAccountInstanceIdInstanceId} -DatabaseRId {DatabaseRId}
37+
Get-AzCosmosDBMongoDBRestorableCollection -Location "location" -DatabaseAccountInstanceId "DatabaseAccountInstanceId" -DatabaseRId "DatabaseRId"
3838
```
3939

4040
```output
41-
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{locationName}/restorableDatabaseAccounts
42-
/{DatabaseAccountInstanceIdInstanceId}/restorableMongoDBCollections/6a0cb3e4-7d2b-4363-b585-04a3b14ada8c
41+
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts
42+
/{DatabaseAccountInstanceId}/restorableMongoDBCollections/6a0cb3e4-7d2b-4363-b585-04a3b14ada8c
4343
Name : 6a0cb3e4-7d2b-4363-b585-04a3b14ada8c
4444
Type : Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableMongoDBCollections
4545
_rid : qsLuzwAAAA==
@@ -48,8 +48,8 @@ EventTimestamp : 01/20/2021 18:44:07
4848
OwnerId : foo-collection2
4949
OwnerResourceId : Ts0YAPGKTvw=
5050
51-
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{locationName}/restorableDatabaseAccounts
52-
/{DatabaseAccountInstanceIdInstanceId}/restorableMongoDBCollections/ff36d1d3-f9dc-40a0-a003-60fe349abcfb
51+
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts
52+
/{DatabaseAccountInstanceId}/restorableMongoDBCollections/ff36d1d3-f9dc-40a0-a003-60fe349abcfb
5353
Name : ff36d1d3-f9dc-40a0-a003-60fe349abcfb
5454
Type : Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableMongoDBCollections
5555
_rid : Ngu72QAAAA==
@@ -58,8 +58,8 @@ EventTimestamp : 01/20/2021 18:44:07
5858
OwnerId : foo-collection1
5959
OwnerResourceId : Ts0YAP+RbG0=
6060
61-
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{locationName}/restorableDatabaseAccounts
62-
/{DatabaseAccountInstanceIdInstanceId}/restorableMongoDBCollections/2afb35ba-1755-4fbc-85be-ae175dd0668f
61+
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts
62+
/{DatabaseAccountInstanceId}/restorableMongoDBCollections/2afb35ba-1755-4fbc-85be-ae175dd0668f
6363
Name : 2afb35ba-1755-4fbc-85be-ae175dd0668f
6464
Type : Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableMongoDBCollections
6565
_rid : lSuf5gAAAA==

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBRestorableDatabase.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ For example, if user wants to restore the database account to a timestamp when a
3434

3535
### Example 1
3636
```powershell
37-
Get-AzCosmosDBMongoDBRestorableDatabase -Location {location} -DatabaseAccountInstanceId {DatabaseAccountInstanceIdInstanceId}
37+
Get-AzCosmosDBMongoDBRestorableDatabase -Location "location" -DatabaseAccountInstanceId "DatabaseAccountInstanceId"
3838
```
3939

4040
```output
4141
Name : cb04fbfc-4142-413d-b2c5-c91723a17e28
42-
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{DatabaseAccountInstanceIdInstanceId}/restorableMongoDBDatabases/cb04fbfc-4142-413d-b2c5-c91723
42+
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{DatabaseAccountInstanceId}/restorableMongoDBDatabases/cb04fbfc-4142-413d-b2c5-c91723
4343
a17e28
4444
Type : Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableMongoDBDatabases
4545
_rid : a+35ZwAAAA==

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBRestorableResource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The user can also use this list and provide a subset of restorable resources if
3636

3737
### Example 1
3838
```powershell
39-
Get-AzCosmosDBMongoDBRestorableResource -Location {location} -DatabaseAccountInstanceId {DatabaseInstanceId} -RestoreLocation {Database} -RestoreTimestampInUtc {RestoreTimestamp}
39+
Get-AzCosmosDBMongoDBRestorableResource -Location "location" -DatabaseAccountInstanceId "DatabaseInstanceId" -RestoreLocation "Database" -RestoreTimestampInUtc $RestoreTimestamp
4040
```
4141

4242
```output

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBSqlContainer** cmdlet gets the list of all existing CosmosDB
3131

3232
### Example 1
3333
```powershell
34-
Get-AzCosmosDBSqlContainer -AccountName {accountName} -ResourceGroupName {resourceGroupName} -DatabaseName {databaseName}
34+
Get-AzCosmosDBSqlContainer -AccountName "accountName" -ResourceGroupName "resourceGroupName" -DatabaseName "databaseName"
3535
```
3636

3737
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainerThroughput.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBSqlContainerThroughput** cmdlet gets the throughput settings
3131

3232
### Example 1
3333
```powershell
34-
Get-AzCosmosDBSqlContainerThroughput -AccountName {accountName} -ResourceGroupName {resourceGroupName} -DatabaseName {databaseName} -Name {containerName}
34+
Get-AzCosmosDBSqlContainerThroughput -AccountName "accountName" -ResourceGroupName "resourceGroupName" -DatabaseName "databaseName" -Name "containerName"
3535
```
3636

3737
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBSqlDatabase** cmdlet gets the list of all existing CosmosDB
3131

3232
### Example 1
3333
```powershell
34-
Get-AzCosmosDBSqlDatabase -AccountName {accountName} -ResourceGroupName {resourceGroupName} -Name {databaseName}
34+
Get-AzCosmosDBSqlDatabase -AccountName "accountName" -ResourceGroupName "resourceGroupName" -Name "databaseName"
3535
```
3636

3737
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabaseThroughput.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBSqlDatabaseThroughput** cmdlet gets the throughput settings
3131

3232
### Example 1
3333
```powershell
34-
Get-AzCosmosDBSqlDatabaseThroughput -AccountName {accountName} -ResourceGroupName {resourceGroupName} -Name {databaseName}
34+
Get-AzCosmosDBSqlDatabaseThroughput -AccountName "accountName" -ResourceGroupName "resourceGroupName" -Name "databaseName"
3535
```
3636

3737
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlRestorableContainer.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ For example, if user wants to restore the database account to a timestamp when a
3434

3535
### Example 1
3636
```powershell
37-
Get-AzCosmosDBSqlRestorableContainer -Location {location} -DatabaseAccountInstanceId {DatabaseAccountInstanceIdInstanceId} -DatabaseRId {DatabaseRId}
37+
Get-AzCosmosDBSqlRestorableContainer -Location "location" -DatabaseAccountInstanceId "DatabaseAccountInstanceId" -DatabaseRId "DatabaseRId"
3838
```
3939

4040
```output
4141
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts
42-
/{DatabaseAccountInstanceIdInstanceId}/restorableSqlContainers/6a0cb3e4-7d2b-4363-b585-04a3b14ada8c
42+
/{DatabaseAccountInstanceId}/restorableSqlContainers/6a0cb3e4-7d2b-4363-b585-04a3b14ada8c
4343
Name : 6a0cb3e4-7d2b-4363-b585-04a3b14ada8c
4444
Type : Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableSqlContainers
4545
_rid : qsLuzwAAAA==
@@ -50,7 +50,7 @@ OwnerResourceId : Ts0YAPGKTvw=
5050
Container : Microsoft.Azure.Management.CosmosDB.Models.PSRestorableSqlContainerPropertiesResourceContainer
5151
5252
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts
53-
/{DatabaseAccountInstanceIdInstanceId}/restorableSqlContainers/ff36d1d3-f9dc-40a0-a003-60fe349abcfb
53+
/{DatabaseAccountInstanceId}/restorableSqlContainers/ff36d1d3-f9dc-40a0-a003-60fe349abcfb
5454
Name : ff36d1d3-f9dc-40a0-a003-60fe349abcfb
5555
Type : Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableSqlContainers
5656
_rid : Ngu72QAAAA==
@@ -61,7 +61,7 @@ OwnerResourceId : Ts0YAP+RbG0=
6161
Container : Microsoft.Azure.Management.CosmosDB.Models.PSRestorableSqlContainerPropertiesResourceContainer
6262
6363
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts
64-
/{DatabaseAccountInstanceIdInstanceId}/restorableSqlContainers/2afb35ba-1755-4fbc-85be-ae175dd0668f
64+
/{DatabaseAccountInstanceId}/restorableSqlContainers/2afb35ba-1755-4fbc-85be-ae175dd0668f
6565
Name : 2afb35ba-1755-4fbc-85be-ae175dd0668f
6666
Type : Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableSqlContainers
6767
_rid : lSuf5gAAAA==

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlRestorableDatabase.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ For example, if user wants to restore the database account to a timestamp when a
3434

3535
### Example 1
3636
```powershell
37-
Get-AzCosmosDBSqlRestorableDatabase -Location {location} -DatabaseAccountInstanceId {DatabaseAccountInstanceIdInstanceId}
37+
Get-AzCosmosDBSqlRestorableDatabase -Location "location" -DatabaseAccountInstanceId "DatabaseAccountInstanceId"
3838
```
3939

4040
```output
4141
Name : cb04fbfc-4142-413d-b2c5-c91723a17e28
42-
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{DatabaseAccountInstanceIdInstanceId}/restorableSqlDatabases/cb04fbfc-4142-413d-b2c5-c91723
42+
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{DatabaseAccountInstanceId}/restorableSqlDatabases/cb04fbfc-4142-413d-b2c5-c91723
4343
a17e28
4444
Type : Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableSqlDatabases
4545
_rid : a+35ZwAAAA==

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlRestorableResource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The user can also use this list and provide a subset of restorable resources if
3636

3737
### Example 1
3838
```powershell
39-
Get-AzCosmosDBSqlRestorableResource -Location {locationName} -DatabaseAccountInstanceId {DatabaseInstanceId} -RestoreLocation {Database} -RestoreTimestampInUtc {RestoreTimestamp}
39+
Get-AzCosmosDBSqlRestorableResource -Location "location" -DatabaseAccountInstanceId "DatabaseInstanceId" -RestoreLocation "Database" -RestoreTimestampInUtc $RestoreTimestamp
4040
```
4141

4242
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlStoredProcedure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBSqlStoredProcedure** cmdlet gets the list of all existing Co
3131

3232
### Example 1
3333
```powershell
34-
Get-AzCosmosDBSqlStoredProcedure -AccountName {accountName} -ResourceGroupName {resourceGroupName} -DatabaseName {databaseName} -Name {storedProcedureName} -ContainerName {containerName}
34+
Get-AzCosmosDBSqlStoredProcedure -AccountName "accountName" -ResourceGroupName "resourceGroupName" -DatabaseName "databaseName" -Name "storedProcedureName" -ContainerName "containerName"
3535
```
3636

3737
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlTrigger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBSqlTrigger** cmdlet gets the list of all existing CosmosDB S
3131

3232
### Example 1
3333
```powershell
34-
Get-AzCosmosDBSqlTrigger -AccountName {accountName} -ResourceGroupName {resourceGroupName} -DatabaseName {databaseName} -Name {triggerName} -ContainerName {containerName}
34+
Get-AzCosmosDBSqlTrigger -AccountName "accountName" -ResourceGroupName "resourceGroupName" -DatabaseName "databaseName" -Name "triggerName" -ContainerName "containerName"
3535
```
3636

3737
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlUserDefinedFunction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBSqlUserDefinedFunction** cmdlet gets the list of all existin
3131

3232
### Example 1
3333
```powershell
34-
Get-AzCosmosDBSqlUserDefinedFunction -AccountName {accountName} -ResourceGroupName {resourceGroupName} -DatabaseName {databaseName} -Name {userDefinedFunctionName} -ContainerName {containerName}
34+
Get-AzCosmosDBSqlUserDefinedFunction -AccountName "accountName" -ResourceGroupName "resourceGroupName" -DatabaseName "databaseName" -Name "userDefinedFunctionName" -ContainerName "containerName"
3535
```
3636

3737
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBTable** cmdlet gets an existing Table.
3131

3232
### Example 1
3333
```powershell
34-
Get-AzCosmosDBTable -AccountName {account} -Name {tableName} -ResourceGroupName {rgName}
34+
Get-AzCosmosDBTable -AccountName "account" -Name "tableName" -ResourceGroupName "rgName"
3535
```
3636

3737
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTableThroughput.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The **Get-AzCosmosDBTableThroughput** cmdlet gets the throughput of a CosmosDB T
3131

3232
### Example 1
3333
```powershell
34-
Get-AzCosmosDBTableThroughput -ResourceGroupName {rgName} -AccountName {accountName} -Name {databaseName}
34+
Get-AzCosmosDBTableThroughput -ResourceGroupName "rgName" -AccountName "accountName" -Name "databaseName"
3535
```
3636

3737
```output

src/CosmosDB/CosmosDB/help/Get-AzCosmosDbClientEncryptionKey.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@ The **Get-AzCosmosDbClientEncryptionKey** cmdlet gets the list of all existing C
3131

3232
### Example 1
3333
```powershell
34-
PS C:\> Get-AzCosmosDbClientEncryptionKey -AccountName myAccountName -DatabaseName myDatabaseName -ResourceGroupName myRgName
34+
Get-AzCosmosDbClientEncryptionKey -AccountName myAccountName -DatabaseName myDatabaseName -ResourceGroupName myRgName
35+
```
3536

37+
```output
3638
Name : {clientEncryptionKeyName}
3739
Id : Id
3840
Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlClientEncryptionKeyGetPropertiesResource

src/CosmosDB/CosmosDB/help/Get-AzManagedCassandraCluster.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ The **Get-AzManagedCassandraCluster** cmdlet fetches the properties of an existi
3737

3838
### Example 1
3939
```powershell
40-
Get-AzManagedCassandraCluster -ResourceGroupName {resourceGroupName} -ClusterName {clusterName}
40+
Get-AzManagedCassandraCluster -ResourceGroupName "resourceGroupName" -ClusterName "clusterName"
4141
```
4242

4343
### Example 2
4444
```powershell
45-
Get-AzManagedCassandraCluster -ResourceId {resourceId}
45+
Get-AzManagedCassandraCluster -ResourceId "resourceId"
4646
```
4747

4848
### Example 3

src/CosmosDB/CosmosDB/help/Get-AzManagedCassandraDataCenter.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ The **Get-AzManagedCassandraDataCenter** cmdlet fetches the properties of an exi
4343

4444
### Example 1
4545
```powershell
46-
Get-AzManagedCassandraDataCenter -ResourceGroupName {resourceGroupName} -ClusterName {clusterName} -DataCenterName {dataCenterName}
46+
Get-AzManagedCassandraDataCenter -ResourceGroupName "resourceGroupName" -ClusterName "clusterName" -DataCenterName "dataCenterName"
4747
```
4848

4949
### Example 2
5050
```powershell
51-
Get-AzManagedCassandraDataCenter -ResourceId {resourceId}
51+
Get-AzManagedCassandraDataCenter -ResourceId "resourceId"
5252
```
5353

5454
### Example 3

src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraClusterKey.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The **New-AzCosmosDBCassandraClusterKey** creates a new CosmosDB Cassandra Clust
2424

2525
### Example 1
2626
```powershell
27-
New-AzCosmosDBCassandraClusterKey -Name <String> -OrderBy <String>
27+
New-AzCosmosDBCassandraClusterKey -Name "name" -OrderBy "Asc"
2828
```
2929

3030
```output

src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraSchema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The **New-AzCosmosDBCassandraSchema** creates a new CosmosDB Cassandra Schema.
2424

2525
### Example 1
2626
```powershell
27-
New-AzCosmosDBCassandraSchema -Column {PSColumn[]} -PartitionKey <String[]> -ClusterKey {PSClusterKey[]}
27+
New-AzCosmosDBCassandraSchema -Column $column1 -PartitionKey "a" -ClusterKey $clusterkey1
2828
```
2929

3030
```output

src/CosmosDB/CosmosDB/help/New-AzCosmosDBLocationObject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Create a new CosmosDB Location Object(PSLocation).
2424

2525
### Example 1
2626
```powershell
27-
New-AzCosmosDBLocationObject -LocationName {locationName} -FailoverPriority 2 -IsZoneRedundant 0
27+
New-AzCosmosDBLocationObject -LocationName "locationName" -FailoverPriority 2 -IsZoneRedundant 0
2828
```
2929

3030
```output

src/CosmosDB/CosmosDB/help/New-AzCosmosDBMongoDBIndex.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The **New-AzCosmosDBMongoDBIndex** creates a new CosmosDB MongoDB Index.
2424

2525
### Example 1
2626
```powershell
27-
New-AzCosmosDBMongoDBIndex -TtlInSeconds {val} -Unique 1 -Key "key1"
27+
New-AzCosmosDBMongoDBIndex -TtlInSeconds 604800 -Unique 1 -Key "key1"
2828
```
2929

3030
```output

0 commit comments

Comments
 (0)