Skip to content

Fix Az.CosmosDB Syntax Errors #18009

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/CosmosDB/CosmosDB/help/Get-AzCosmosDBAccount.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The **Get-AzCosmosDBAccount** cmdlet gets the list of all existing CosmosDB acco

### Example 1
```powershell
Get-AzCosmosDBAccount -ResourceGroupName {resourceGroupName} -Name {databaseAccountName}
Get-AzCosmosDBAccount -ResourceGroupName "resourceGroupName" -Name "databaseAccountName"
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBCassandraKeyspace** cmdlet creates a new or updates an exist

### Example 1
```powershell
Get-AzCosmosDBCassandraKeyspace -ResourceGroupName {resourceGroupName} -AccountName {accountName} -Name {name}
Get-AzCosmosDBCassandraKeyspace -ResourceGroupName "resourceGroupName" -AccountName "accountName" -Name "name"
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBCassandraKeyspaceThroughput** cmdlet gets the throughput obj

### Example 1
```powershell
Get-AzCosmosDBCassandraKeyspaceThroughput -ResourceGroupName {resourceGroupName} -AccountName {accountName} -Name {name}
Get-AzCosmosDBCassandraKeyspaceThroughput -ResourceGroupName "resourceGroupName" -AccountName "accountName" -Name "name"
```

## PARAMETERS
Expand Down
2 changes: 1 addition & 1 deletion src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTable.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBCassandraTable** cmdlet creates a new or updates an existing

### Example 1
```powershell
$table = Get-AzCosmosDBCassandraTable -ResourceGroupName {resourceGroupName} -AccountName {accountName} -KeyspaceName {keyspaceName} -Name {name}
Get-AzCosmosDBCassandraTable -ResourceGroupName "resourceGroupName" -AccountName "accountName" -KeyspaceName "keyspaceName" -Name "tableName"
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBCassandraTableThroughput** cmdlet gets the throughput object

### Example 1
```powershell
Get-AzCosmosDBCassandraTableThroughput -ResourceGroupName {resourceGroupName} -AccountName {accountName} -KeyspaceName {keyspaceName} -Name {tableName}
Get-AzCosmosDBCassandraTableThroughput -ResourceGroupName "resourceGroupName" -AccountName "accountName" -KeyspaceName "keyspaceName" -Name "tableName"
```

## PARAMETERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBGremlinDatabase** cmdlet gets the CosmosDB Gremlin Database.

### Example 1
```powershell
Get-AzCosmosDBGremlinDatabase -ResourceGroupName {rgName} -AccountName {accountName} -Name {databaseName}
Get-AzCosmosDBGremlinDatabase -ResourceGroupName "rgName" -AccountName "accountName" -Name "databaseName"
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBGremlinDatabaseThroughput** cmdlet gets the throughput of a

### Example 1
```powershell
Get-AzCosmosDBGremlinDatabaseThroughput -ResourceGroupName {rgName} -AccountName {accountName} -Name {databaseName}
Get-AzCosmosDBGremlinDatabaseThroughput -ResourceGroupName "rgName" -AccountName "accountName" -Name "databaseName"
```

```output
Expand Down
2 changes: 1 addition & 1 deletion src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraph.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBGremlinGraph** cmdlet gets the CosmosDB Gremlin Graph proper

### Example 1
```powershell
Get-AzCosmosDBGremlinGraph -ResourceGroupName {rgName} -AccountName {accountName} -DatabaseName {dbName} -Name {graphName}
Get-AzCosmosDBGremlinGraph -ResourceGroupName "rgName" -AccountName "accountName" -DatabaseName "dbName" -Name "graphName"
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBGremlinGraphThroughput** cmdlet gets the throughput of a Cos

### Example 1
```powershell
Get-AzCosmosDBGremlinGraphThroughput -ResourceGroupName {rgName} -AccountName {accountName} -DatabaseName {dbName} -Name {graphName}
Get-AzCosmosDBGremlinGraphThroughput -ResourceGroupName "rgName" -AccountName "accountName" -DatabaseName "dbName" -Name "graphName"
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The **Get-AzCosmosDBMongoDBCollectionThroughput** cmdlet gets the throughput pro

### Example 1
```powershell
Get-AzCosmosDBMongoDBCollectionThroughput -ResourceGroupName {rgName} -AccountName {accountName} -DatabaseName {databaseName} -Name {collectionName}
Get-AzCosmosDBMongoDBCollectionThroughput -ResourceGroupName "rgName" -AccountName "accountName" -DatabaseName "databaseName" -Name "collectionName"
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBMongoDBDatabase** cmdlet gets the CosmosDB MongoDB Database.

### Example 1
```powershell
Get-AzCosmosDBMongoDBDatabase -ResourceGroupName {rgName} -AccountName {accountName} -Name {dbName}
Get-AzCosmosDBMongoDBDatabase -ResourceGroupName "rgName" -AccountName "accountName" -Name "dbName"
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBMongoDBDatabaseThroughput** cmdlet gets the throughput prope

### Example 1
```powershell
Get-AzCosmosDBMongoDBDatabaseThroughput -ResourceGroupName {rgName} -AccountName {accountName} -Name {databaseName}
Get-AzCosmosDBMongoDBDatabaseThroughput -ResourceGroupName "rgName" -AccountName "accountName" -Name "databaseName"
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ For example, if user wants to restore the database account to a timestamp when a

### Example 1
```powershell
Get-AzCosmosDBMongoDBRestorableCollection -Location {locationName} -DatabaseAccountInstanceId {DatabaseAccountInstanceIdInstanceId} -DatabaseRId {DatabaseRId}
Get-AzCosmosDBMongoDBRestorableCollection -Location "location" -DatabaseAccountInstanceId "DatabaseAccountInstanceId" -DatabaseRId "DatabaseRId"
```

```output
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{locationName}/restorableDatabaseAccounts
/{DatabaseAccountInstanceIdInstanceId}/restorableMongoDBCollections/6a0cb3e4-7d2b-4363-b585-04a3b14ada8c
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts
/{DatabaseAccountInstanceId}/restorableMongoDBCollections/6a0cb3e4-7d2b-4363-b585-04a3b14ada8c
Name : 6a0cb3e4-7d2b-4363-b585-04a3b14ada8c
Type : Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableMongoDBCollections
_rid : qsLuzwAAAA==
Expand All @@ -48,8 +48,8 @@ EventTimestamp : 01/20/2021 18:44:07
OwnerId : foo-collection2
OwnerResourceId : Ts0YAPGKTvw=

Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{locationName}/restorableDatabaseAccounts
/{DatabaseAccountInstanceIdInstanceId}/restorableMongoDBCollections/ff36d1d3-f9dc-40a0-a003-60fe349abcfb
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts
/{DatabaseAccountInstanceId}/restorableMongoDBCollections/ff36d1d3-f9dc-40a0-a003-60fe349abcfb
Name : ff36d1d3-f9dc-40a0-a003-60fe349abcfb
Type : Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableMongoDBCollections
_rid : Ngu72QAAAA==
Expand All @@ -58,8 +58,8 @@ EventTimestamp : 01/20/2021 18:44:07
OwnerId : foo-collection1
OwnerResourceId : Ts0YAP+RbG0=

Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{locationName}/restorableDatabaseAccounts
/{DatabaseAccountInstanceIdInstanceId}/restorableMongoDBCollections/2afb35ba-1755-4fbc-85be-ae175dd0668f
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts
/{DatabaseAccountInstanceId}/restorableMongoDBCollections/2afb35ba-1755-4fbc-85be-ae175dd0668f
Name : 2afb35ba-1755-4fbc-85be-ae175dd0668f
Type : Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableMongoDBCollections
_rid : lSuf5gAAAA==
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ For example, if user wants to restore the database account to a timestamp when a

### Example 1
```powershell
Get-AzCosmosDBMongoDBRestorableDatabase -Location {location} -DatabaseAccountInstanceId {DatabaseAccountInstanceIdInstanceId}
Get-AzCosmosDBMongoDBRestorableDatabase -Location "location" -DatabaseAccountInstanceId "DatabaseAccountInstanceId"
```

```output
Name : cb04fbfc-4142-413d-b2c5-c91723a17e28
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{DatabaseAccountInstanceIdInstanceId}/restorableMongoDBDatabases/cb04fbfc-4142-413d-b2c5-c91723
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{DatabaseAccountInstanceId}/restorableMongoDBDatabases/cb04fbfc-4142-413d-b2c5-c91723
a17e28
Type : Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableMongoDBDatabases
_rid : a+35ZwAAAA==
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The user can also use this list and provide a subset of restorable resources if

### Example 1
```powershell
Get-AzCosmosDBMongoDBRestorableResource -Location {location} -DatabaseAccountInstanceId {DatabaseInstanceId} -RestoreLocation {Database} -RestoreTimestampInUtc {RestoreTimestamp}
Get-AzCosmosDBMongoDBRestorableResource -Location "location" -DatabaseAccountInstanceId "DatabaseInstanceId" -RestoreLocation "Database" -RestoreTimestampInUtc $RestoreTimestamp
```

```output
Expand Down
2 changes: 1 addition & 1 deletion src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBSqlContainer** cmdlet gets the list of all existing CosmosDB

### Example 1
```powershell
Get-AzCosmosDBSqlContainer -AccountName {accountName} -ResourceGroupName {resourceGroupName} -DatabaseName {databaseName}
Get-AzCosmosDBSqlContainer -AccountName "accountName" -ResourceGroupName "resourceGroupName" -DatabaseName "databaseName"
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBSqlContainerThroughput** cmdlet gets the throughput settings

### Example 1
```powershell
Get-AzCosmosDBSqlContainerThroughput -AccountName {accountName} -ResourceGroupName {resourceGroupName} -DatabaseName {databaseName} -Name {containerName}
Get-AzCosmosDBSqlContainerThroughput -AccountName "accountName" -ResourceGroupName "resourceGroupName" -DatabaseName "databaseName" -Name "containerName"
```

```output
Expand Down
2 changes: 1 addition & 1 deletion src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabase.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBSqlDatabase** cmdlet gets the list of all existing CosmosDB

### Example 1
```powershell
Get-AzCosmosDBSqlDatabase -AccountName {accountName} -ResourceGroupName {resourceGroupName} -Name {databaseName}
Get-AzCosmosDBSqlDatabase -AccountName "accountName" -ResourceGroupName "resourceGroupName" -Name "databaseName"
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBSqlDatabaseThroughput** cmdlet gets the throughput settings

### Example 1
```powershell
Get-AzCosmosDBSqlDatabaseThroughput -AccountName {accountName} -ResourceGroupName {resourceGroupName} -Name {databaseName}
Get-AzCosmosDBSqlDatabaseThroughput -AccountName "accountName" -ResourceGroupName "resourceGroupName" -Name "databaseName"
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ For example, if user wants to restore the database account to a timestamp when a

### Example 1
```powershell
Get-AzCosmosDBSqlRestorableContainer -Location {location} -DatabaseAccountInstanceId {DatabaseAccountInstanceIdInstanceId} -DatabaseRId {DatabaseRId}
Get-AzCosmosDBSqlRestorableContainer -Location "location" -DatabaseAccountInstanceId "DatabaseAccountInstanceId" -DatabaseRId "DatabaseRId"
```

```output
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts
/{DatabaseAccountInstanceIdInstanceId}/restorableSqlContainers/6a0cb3e4-7d2b-4363-b585-04a3b14ada8c
/{DatabaseAccountInstanceId}/restorableSqlContainers/6a0cb3e4-7d2b-4363-b585-04a3b14ada8c
Name : 6a0cb3e4-7d2b-4363-b585-04a3b14ada8c
Type : Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableSqlContainers
_rid : qsLuzwAAAA==
Expand All @@ -50,7 +50,7 @@ OwnerResourceId : Ts0YAPGKTvw=
Container : Microsoft.Azure.Management.CosmosDB.Models.PSRestorableSqlContainerPropertiesResourceContainer

Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts
/{DatabaseAccountInstanceIdInstanceId}/restorableSqlContainers/ff36d1d3-f9dc-40a0-a003-60fe349abcfb
/{DatabaseAccountInstanceId}/restorableSqlContainers/ff36d1d3-f9dc-40a0-a003-60fe349abcfb
Name : ff36d1d3-f9dc-40a0-a003-60fe349abcfb
Type : Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableSqlContainers
_rid : Ngu72QAAAA==
Expand All @@ -61,7 +61,7 @@ OwnerResourceId : Ts0YAP+RbG0=
Container : Microsoft.Azure.Management.CosmosDB.Models.PSRestorableSqlContainerPropertiesResourceContainer

Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts
/{DatabaseAccountInstanceIdInstanceId}/restorableSqlContainers/2afb35ba-1755-4fbc-85be-ae175dd0668f
/{DatabaseAccountInstanceId}/restorableSqlContainers/2afb35ba-1755-4fbc-85be-ae175dd0668f
Name : 2afb35ba-1755-4fbc-85be-ae175dd0668f
Type : Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableSqlContainers
_rid : lSuf5gAAAA==
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ For example, if user wants to restore the database account to a timestamp when a

### Example 1
```powershell
Get-AzCosmosDBSqlRestorableDatabase -Location {location} -DatabaseAccountInstanceId {DatabaseAccountInstanceIdInstanceId}
Get-AzCosmosDBSqlRestorableDatabase -Location "location" -DatabaseAccountInstanceId "DatabaseAccountInstanceId"
```

```output
Name : cb04fbfc-4142-413d-b2c5-c91723a17e28
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{DatabaseAccountInstanceIdInstanceId}/restorableSqlDatabases/cb04fbfc-4142-413d-b2c5-c91723
Id : /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{DatabaseAccountInstanceId}/restorableSqlDatabases/cb04fbfc-4142-413d-b2c5-c91723
a17e28
Type : Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableSqlDatabases
_rid : a+35ZwAAAA==
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The user can also use this list and provide a subset of restorable resources if

### Example 1
```powershell
Get-AzCosmosDBSqlRestorableResource -Location {locationName} -DatabaseAccountInstanceId {DatabaseInstanceId} -RestoreLocation {Database} -RestoreTimestampInUtc {RestoreTimestamp}
Get-AzCosmosDBSqlRestorableResource -Location "location" -DatabaseAccountInstanceId "DatabaseInstanceId" -RestoreLocation "Database" -RestoreTimestampInUtc $RestoreTimestamp
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBSqlStoredProcedure** cmdlet gets the list of all existing Co

### Example 1
```powershell
Get-AzCosmosDBSqlStoredProcedure -AccountName {accountName} -ResourceGroupName {resourceGroupName} -DatabaseName {databaseName} -Name {storedProcedureName} -ContainerName {containerName}
Get-AzCosmosDBSqlStoredProcedure -AccountName "accountName" -ResourceGroupName "resourceGroupName" -DatabaseName "databaseName" -Name "storedProcedureName" -ContainerName "containerName"
```

```output
Expand Down
2 changes: 1 addition & 1 deletion src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlTrigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBSqlTrigger** cmdlet gets the list of all existing CosmosDB S

### Example 1
```powershell
Get-AzCosmosDBSqlTrigger -AccountName {accountName} -ResourceGroupName {resourceGroupName} -DatabaseName {databaseName} -Name {triggerName} -ContainerName {containerName}
Get-AzCosmosDBSqlTrigger -AccountName "accountName" -ResourceGroupName "resourceGroupName" -DatabaseName "databaseName" -Name "triggerName" -ContainerName "containerName"
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBSqlUserDefinedFunction** cmdlet gets the list of all existin

### Example 1
```powershell
Get-AzCosmosDBSqlUserDefinedFunction -AccountName {accountName} -ResourceGroupName {resourceGroupName} -DatabaseName {databaseName} -Name {userDefinedFunctionName} -ContainerName {containerName}
Get-AzCosmosDBSqlUserDefinedFunction -AccountName "accountName" -ResourceGroupName "resourceGroupName" -DatabaseName "databaseName" -Name "userDefinedFunctionName" -ContainerName "containerName"
```

```output
Expand Down
2 changes: 1 addition & 1 deletion src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTable.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBTable** cmdlet gets an existing Table.

### Example 1
```powershell
Get-AzCosmosDBTable -AccountName {account} -Name {tableName} -ResourceGroupName {rgName}
Get-AzCosmosDBTable -AccountName "account" -Name "tableName" -ResourceGroupName "rgName"
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The **Get-AzCosmosDBTableThroughput** cmdlet gets the throughput of a CosmosDB T

### Example 1
```powershell
Get-AzCosmosDBTableThroughput -ResourceGroupName {rgName} -AccountName {accountName} -Name {databaseName}
Get-AzCosmosDBTableThroughput -ResourceGroupName "rgName" -AccountName "accountName" -Name "databaseName"
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ The **Get-AzCosmosDbClientEncryptionKey** cmdlet gets the list of all existing C

### Example 1
```powershell
PS C:\> Get-AzCosmosDbClientEncryptionKey -AccountName myAccountName -DatabaseName myDatabaseName -ResourceGroupName myRgName
Get-AzCosmosDbClientEncryptionKey -AccountName myAccountName -DatabaseName myDatabaseName -ResourceGroupName myRgName
```

```output
Name : {clientEncryptionKeyName}
Id : Id
Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlClientEncryptionKeyGetPropertiesResource
Expand Down
4 changes: 2 additions & 2 deletions src/CosmosDB/CosmosDB/help/Get-AzManagedCassandraCluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ The **Get-AzManagedCassandraCluster** cmdlet fetches the properties of an existi

### Example 1
```powershell
Get-AzManagedCassandraCluster -ResourceGroupName {resourceGroupName} -ClusterName {clusterName}
Get-AzManagedCassandraCluster -ResourceGroupName "resourceGroupName" -ClusterName "clusterName"
```

### Example 2
```powershell
Get-AzManagedCassandraCluster -ResourceId {resourceId}
Get-AzManagedCassandraCluster -ResourceId "resourceId"
```

### Example 3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ The **Get-AzManagedCassandraDataCenter** cmdlet fetches the properties of an exi

### Example 1
```powershell
Get-AzManagedCassandraDataCenter -ResourceGroupName {resourceGroupName} -ClusterName {clusterName} -DataCenterName {dataCenterName}
Get-AzManagedCassandraDataCenter -ResourceGroupName "resourceGroupName" -ClusterName "clusterName" -DataCenterName "dataCenterName"
```

### Example 2
```powershell
Get-AzManagedCassandraDataCenter -ResourceId {resourceId}
Get-AzManagedCassandraDataCenter -ResourceId "resourceId"
```

### Example 3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The **New-AzCosmosDBCassandraClusterKey** creates a new CosmosDB Cassandra Clust

### Example 1
```powershell
New-AzCosmosDBCassandraClusterKey -Name <String> -OrderBy <String>
New-AzCosmosDBCassandraClusterKey -Name "name" -OrderBy "Asc"
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The **New-AzCosmosDBCassandraSchema** creates a new CosmosDB Cassandra Schema.

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

```output
Expand Down
2 changes: 1 addition & 1 deletion src/CosmosDB/CosmosDB/help/New-AzCosmosDBLocationObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Create a new CosmosDB Location Object(PSLocation).

### Example 1
```powershell
New-AzCosmosDBLocationObject -LocationName {locationName} -FailoverPriority 2 -IsZoneRedundant 0
New-AzCosmosDBLocationObject -LocationName "locationName" -FailoverPriority 2 -IsZoneRedundant 0
```

```output
Expand Down
2 changes: 1 addition & 1 deletion src/CosmosDB/CosmosDB/help/New-AzCosmosDBMongoDBIndex.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The **New-AzCosmosDBMongoDBIndex** creates a new CosmosDB MongoDB Index.

### Example 1
```powershell
New-AzCosmosDBMongoDBIndex -TtlInSeconds {val} -Unique 1 -Key "key1"
New-AzCosmosDBMongoDBIndex -TtlInSeconds 604800 -Unique 1 -Key "key1"
```

```output
Expand Down
Loading