diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBAccount.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBAccount.md index 9a996277a165..706840aa9305 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBAccount.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBAccount.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspace.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspace.md index 7803f413d659..cda6b6674851 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspace.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspace.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspaceThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspaceThroughput.md index 696fa1b99b72..9db4c6972052 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspaceThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspaceThroughput.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTable.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTable.md index d1db5ee5e671..3ed793f5875b 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTable.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTable.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTableThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTableThroughput.md index 81463c962e0a..74e9f02d8885 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTableThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTableThroughput.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabase.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabase.md index 488ff0b3c55a..e68394109629 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabase.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabaseThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabaseThroughput.md index 59df29b81afb..5227071247bb 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabaseThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabaseThroughput.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraph.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraph.md index 10f49983d958..cde4e7470172 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraph.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraph.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraphThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraphThroughput.md index ee05c315d185..f5864a457b4a 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraphThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraphThroughput.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollectionThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollectionThroughput.md index c3bf6a519309..e40356b00d1e 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollectionThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollectionThroughput.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabase.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabase.md index 3c82a172ccae..e3060ed312f4 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabase.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabaseThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabaseThroughput.md index 48e1d83bbaf5..795ffa92f1a6 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabaseThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabaseThroughput.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBRestorableCollection.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBRestorableCollection.md index 8156ab183dae..77b90f941862 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBRestorableCollection.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBRestorableCollection.md @@ -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== @@ -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== @@ -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== diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBRestorableDatabase.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBRestorableDatabase.md index f6845f46ecff..ba885a4dbd92 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBRestorableDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBRestorableDatabase.md @@ -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== diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBRestorableResource.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBRestorableResource.md index e6c19fe2c22f..c7d9b5253d7a 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBRestorableResource.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBRestorableResource.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainer.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainer.md index 8b91fcaa8137..f184dc3ecbf7 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainer.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainer.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainerThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainerThroughput.md index 0e596a5e0e34..a6e079d5f508 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainerThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainerThroughput.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabase.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabase.md index 286979fd299c..5efa7a04dd4d 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabase.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabaseThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabaseThroughput.md index 587502a20f6a..d17a550a97d4 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabaseThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabaseThroughput.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlRestorableContainer.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlRestorableContainer.md index e7a4332724e7..0d4b0efc2192 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlRestorableContainer.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlRestorableContainer.md @@ -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== @@ -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== @@ -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== diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlRestorableDatabase.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlRestorableDatabase.md index e87d9c3ed773..3b6f8613370f 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlRestorableDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlRestorableDatabase.md @@ -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== diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlRestorableResource.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlRestorableResource.md index 859f150622b4..2b0bc014b082 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlRestorableResource.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlRestorableResource.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlStoredProcedure.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlStoredProcedure.md index 3c30b65f2554..43670a3fcf73 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlStoredProcedure.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlStoredProcedure.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlTrigger.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlTrigger.md index a547a5bd6de2..f00aebe78fda 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlTrigger.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlTrigger.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlUserDefinedFunction.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlUserDefinedFunction.md index d302cb832b4f..88c540d7af68 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlUserDefinedFunction.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlUserDefinedFunction.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTable.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTable.md index 762ae1d00064..ef251ffec407 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTable.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTable.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTableThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTableThroughput.md index 822864d4e3bf..8477ab95fe81 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTableThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTableThroughput.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDbClientEncryptionKey.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDbClientEncryptionKey.md index 18dbf4ec3c16..eee80f7d7866 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDbClientEncryptionKey.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDbClientEncryptionKey.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzManagedCassandraCluster.md b/src/CosmosDB/CosmosDB/help/Get-AzManagedCassandraCluster.md index cbb7fa1c813b..07985b26f058 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzManagedCassandraCluster.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzManagedCassandraCluster.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzManagedCassandraDataCenter.md b/src/CosmosDB/CosmosDB/help/Get-AzManagedCassandraDataCenter.md index 952a65b323af..5129d6dde2af 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzManagedCassandraDataCenter.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzManagedCassandraDataCenter.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraClusterKey.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraClusterKey.md index 7d3b21a917f9..e4596efb02aa 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraClusterKey.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraClusterKey.md @@ -24,7 +24,7 @@ The **New-AzCosmosDBCassandraClusterKey** creates a new CosmosDB Cassandra Clust ### Example 1 ```powershell -New-AzCosmosDBCassandraClusterKey -Name -OrderBy +New-AzCosmosDBCassandraClusterKey -Name "name" -OrderBy "Asc" ``` ```output diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraSchema.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraSchema.md index 2e0efdd9b497..541bb5ddec47 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraSchema.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraSchema.md @@ -24,7 +24,7 @@ The **New-AzCosmosDBCassandraSchema** creates a new CosmosDB Cassandra Schema. ### Example 1 ```powershell -New-AzCosmosDBCassandraSchema -Column {PSColumn[]} -PartitionKey -ClusterKey {PSClusterKey[]} +New-AzCosmosDBCassandraSchema -Column $column1 -PartitionKey "a" -ClusterKey $clusterkey1 ``` ```output diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBLocationObject.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBLocationObject.md index 36b9948c5d8f..a86d3b2544a0 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBLocationObject.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBLocationObject.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBMongoDBIndex.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBMongoDBIndex.md index 66e231b131e4..4a68375e36e5 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBMongoDBIndex.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBMongoDBIndex.md @@ -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 diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlRoleAssignment.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlRoleAssignment.md index 63b6d84a5053..9cdd892fbf33 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlRoleAssignment.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlRoleAssignment.md @@ -44,11 +44,11 @@ RoleDefinitionId can be either fully qualified or just the Guid. ### Example 1 ```powershell -New-AzCosmosDBSqlRoleAssignment - -AccountName accountName - -ResourceGroupName resourceGroupName - -RoleDefinitionId "/subscriptions/subId/resourceGroups/resourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/accountName/sqlRoleDefinitions/roleDefinitionId" - -Scope "/subscriptions/subId/resourceGroups/resourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/accountName" +New-AzCosmosDBSqlRoleAssignment ` + -AccountName accountName ` + -ResourceGroupName resourceGroupName ` + -RoleDefinitionId "/subscriptions/subId/resourceGroups/resourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/accountName/sqlRoleDefinitions/roleDefinitionId" ` + -Scope "/subscriptions/subId/resourceGroups/resourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/accountName" ` -PrincipalId principalId ``` diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlRoleDefinition.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlRoleDefinition.md index 776d42a2bb58..381f1445774f 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlRoleDefinition.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlRoleDefinition.md @@ -56,12 +56,12 @@ In order to specify the Role Definition's Permissions, either use the DataAction ### Example 1: Using DataAction ```powershell -New-AzCosmosDBSqlRoleDefinition - -AccountName accountName - -ResourceGroupName resourceGroupName - -Type CustomRole - -RoleName roleName - -DataAction "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create" +New-AzCosmosDBSqlRoleDefinition ` + -AccountName accountName ` + -ResourceGroupName resourceGroupName ` + -Type CustomRole ` + -RoleName roleName ` + -DataAction "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create" ` -AssignableScope "/" ``` @@ -77,11 +77,11 @@ AssignableScopes : {/subscriptions/subId/resourceGroups/resourceGroupName/provid ```powershell $DatabaseAccount = Get-AzCosmosDBAccount -Name accountName -ResourceGroupName resourceGroupName $Permission = New-AzCosmosDBPermission -DataAction "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create" -New-AzCosmosDBSqlRoleDefinition - -Type CustomRole - -RoleName roleName - -Permission $Permission - -AssignableScope "/" +New-AzCosmosDBSqlRoleDefinition ` + -Type CustomRole ` + -RoleName roleName ` + -Permission $Permission ` + -AssignableScope "/" ` -ParentObject $DatabaseAccount ``` diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKey.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKey.md index 04a26eb0e9ae..35baa0909023 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKey.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKey.md @@ -23,7 +23,7 @@ The **New-AzCosmosDBSqlUniqueKey** cmdlet creates a new object of type PSUniqueK ### Example 1 ```powershell -New-AzCosmosDBSqlUniqueKey -Path {path} +New-AzCosmosDBSqlUniqueKey -Path "path" ``` ```output diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKeyPolicy.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKeyPolicy.md index 08918a555c67..ab3618d0c07c 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKeyPolicy.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKeyPolicy.md @@ -24,7 +24,7 @@ The **New-AzCosmosDBSqlUniqueKeyPolicy** cmdlet creates a new object of type PSS ### Example 1 ```powershell -New-AzCosmosDBSqlUniqueKeyPolicy -UniqueKey {psUniqueKey1, psUniqueKey2} +New-AzCosmosDBSqlUniqueKeyPolicy -UniqueKey $psUniqueKey1, $psUniqueKey2 ``` ```output diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBVirtualNetworkRule.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBVirtualNetworkRule.md index 7970790fc0cd..7e93a00d7b9d 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBVirtualNetworkRule.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBVirtualNetworkRule.md @@ -24,7 +24,7 @@ Create a new CosmosDB VirtualNetworkRule Object(PSVirtualNetworkRule). ### Example 1 ```powershell -New-AzCosmosDBVirtualNetworkRule -Id {id} -IgnoreMissingVNetServiceEndpoint 0 +New-AzCosmosDBVirtualNetworkRule -Id "id" -IgnoreMissingVNetServiceEndpoint 0 ``` ```output diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDbClientEncryptionKey.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDbClientEncryptionKey.md index d395a1e2fae3..7a718e4fcb94 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDbClientEncryptionKey.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDbClientEncryptionKey.md @@ -35,9 +35,11 @@ The **New-AzCosmosDbClientEncryptionKey** creates a new CosmosDB Client Encrypti ### Example 1 ```powershell -PS C:\> $myKeyWrapMetadataObject = [Microsoft.Azure.Commands.CosmosDB.Models.PSSqlKeyWrapMetadata]::new([Microsoft.Azure.Management.CosmosDB.Models.KeyWrapMetadata]::new("myKekV1","AZURE_KEY_VAULT", "https://contoso.vault.azure.net/keys/myKekV1/78deebed173b48e48f55abf87ed4cf71", "RSA-OAEP")) -PS C:\> New-AzCosmosDbClientEncryptionKey -AccountName myAccountName -DatabaseName myDatabaseName -ResourceGroupName myRgName -Name myClientEncryptionKeyName -EncryptionAlgorithmName "AEAD_AES_256_CBC_HMAC_SHA256" -KeyWrapMetadata $myKeyWrapMetadataObject +$myKeyWrapMetadataObject = [Microsoft.Azure.Commands.CosmosDB.Models.PSSqlKeyWrapMetadata]::new([Microsoft.Azure.Management.CosmosDB.Models.KeyWrapMetadata]::new("myKekV1","AZURE_KEY_VAULT", "https://contoso.vault.azure.net/keys/myKekV1/78deebed173b48e48f55abf87ed4cf71", "RSA-OAEP")) +New-AzCosmosDbClientEncryptionKey -AccountName myAccountName -DatabaseName myDatabaseName -ResourceGroupName myRgName -Name myClientEncryptionKeyName -EncryptionAlgorithmName "AEAD_AES_256_CBC_HMAC_SHA256" -KeyWrapMetadata $myKeyWrapMetadataObject +``` +```output Name : myContainerName Id : /subscriptions/mySubscriptionId/resourceGroups/myRgName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/sqlDatabases/myDatabaseName/clientEncryptionKeys/myClientEncryptionKeyName Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlClientEncryptionKeyGetPropertiesResource @@ -49,10 +51,12 @@ In the second command a new key is created with name as set in myClientEncryptio ### Example 2 ```powershell -PS C:\> $myKeyWrapMetadataObject = [Microsoft.Azure.Commands.CosmosDB.Models.PSSqlKeyWrapMetadata]::new([Microsoft.Azure.Management.CosmosDB.Models.KeyWrapMetadata]::new("myKekV1","AZURE_KEY_VAULT", "https://contoso.vault.azure.net/keys/myKekV1/78deebed173b48e48f55abf87ed4cf71", "RSA-OAEP")) -PS C:\> $azureKeyVaultKeyResolver = [Azure.Security.KeyVault.Keys.Cryptography.KeyResolver]::new([Azure.Identity.DefaultAzureCredential]::new()) -PS C:\> New-AzCosmosDbClientEncryptionKey -AccountName myAccountName -DatabaseName myDatabaseName -ResourceGroupName myRgName -Name myClientEncryptionKeyName -EncryptionAlgorithmName "AEAD_AES_256_CBC_HMAC_SHA256" -KeyWrapMetadata $myKeyWrapMetadataObject -KeyEncryptionKeyResolver $azureKeyVaultKeyResolver +$myKeyWrapMetadataObject = [Microsoft.Azure.Commands.CosmosDB.Models.PSSqlKeyWrapMetadata]::new([Microsoft.Azure.Management.CosmosDB.Models.KeyWrapMetadata]::new("myKekV1","AZURE_KEY_VAULT", "https://contoso.vault.azure.net/keys/myKekV1/78deebed173b48e48f55abf87ed4cf71", "RSA-OAEP")) +$azureKeyVaultKeyResolver = [Azure.Security.KeyVault.Keys.Cryptography.KeyResolver]::new([Azure.Identity.DefaultAzureCredential]::new()) +New-AzCosmosDbClientEncryptionKey -AccountName myAccountName -DatabaseName myDatabaseName -ResourceGroupName myRgName -Name myClientEncryptionKeyName -EncryptionAlgorithmName "AEAD_AES_256_CBC_HMAC_SHA256" -KeyWrapMetadata $myKeyWrapMetadataObject -KeyEncryptionKeyResolver $azureKeyVaultKeyResolver +``` +```output Name : myContainerName Id : /subscriptions/mySubscriptionId/resourceGroups/myRgName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/sqlDatabases/myDatabaseName/clientEncryptionKeys/myClientEncryptionKeyName Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlClientEncryptionKeyGetPropertiesResource diff --git a/src/CosmosDB/CosmosDB/help/New-AzManagedCassandraCluster.md b/src/CosmosDB/CosmosDB/help/New-AzManagedCassandraCluster.md index 565582b3a67f..fa25683b5d07 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzManagedCassandraCluster.md +++ b/src/CosmosDB/CosmosDB/help/New-AzManagedCassandraCluster.md @@ -29,11 +29,11 @@ The **New-AzManagedCassandraCluster** cmdlet creates a new managed Cassandra clu ### Example 1 ```powershell New-AzManagedCassandraCluster ` - -ResourceGroupName {resourceGroupName} ` - -ClusterName {clusterName} ` - -DelegatedManagementSubnetId {resourceId} ` - -Location {location} ` - -InitialCassandraAdminPassword {password} + -ResourceGroupName "resourceGroupName" ` + -ClusterName "clusterName" ` + -DelegatedManagementSubnetId "resourceId" ` + -Location "location" ` + -InitialCassandraAdminPassword "password" ``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/New-AzManagedCassandraDataCenter.md b/src/CosmosDB/CosmosDB/help/New-AzManagedCassandraDataCenter.md index 0e54fc058bb8..3035fec04978 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzManagedCassandraDataCenter.md +++ b/src/CosmosDB/CosmosDB/help/New-AzManagedCassandraDataCenter.md @@ -38,12 +38,12 @@ The **New-AzManagedCassandraDataCenter** cmdlet creates a new managed Cassandra ### Example 1 ```powershell New-AzManagedCassandraDataCenter ` - -ResourceGroupName {resourceGroupName} ` - -ClusterName {clusterName} ` - -DataCenterName {dataCenterName} ` - -DelegatedSubnetId {resourceId} ` - -Location {location} ` - -NodeCount {N} + -ResourceGroupName "resourceGroupName" ` + -ClusterName "clusterName" ` + -DataCenterName "dataCenterName" ` + -DelegatedSubnetId "resourceId" ` + -Location "location" ` + -NodeCount 3 ``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraKeyspace.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraKeyspace.md index 133217b38f7a..845e874602d3 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraKeyspace.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraKeyspace.md @@ -31,7 +31,7 @@ The **Remove-AzCosmosDBCassandraKeyspace** cmdlet deletes an existing CosmosDB C ### Example 1 ```powershell -Remove-AzCosmosDBCassandraKeyspace -ResourceGroupName {resourceGroupName} -AccountName {accountName} -Name {keyspaceName} +Remove-AzCosmosDBCassandraKeyspace -ResourceGroupName "resourceGroupName" -AccountName "accountName" -Name "keyspaceName" ``` The cmdlet returns an object of type bool(when -PassThru is passed) which is true if the delete was successful. diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraTable.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraTable.md index 1103538036ca..fcf539f322f6 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraTable.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraTable.md @@ -32,7 +32,7 @@ The **Remove-AzCosmosDBCassandraTable** delete a CosmosDB Cassandra Table. ### Example 1 ```powershell -Remove-AzCosmosDBCassandraTable -ResourceGroupName {resourceGroup} -AccountName {account} -KeyspaceName {keyspace} -Name {tableName} +Remove-AzCosmosDBCassandraTable -ResourceGroupName "resourceGroupName" -AccountName "accountName" -KeyspaceName "keyspaceName" -Name "tableName" ``` The cmdlet returns an object of type bool(when -PassThru is passed) which is true, if the delete was successful. diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinDatabase.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinDatabase.md index 016841950088..c7f69f85079a 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinDatabase.md @@ -31,7 +31,7 @@ The **Remove-AzCosmosDBGremlinDatabase** cmdlet deletes a CosmosDB Gremlin Datab ### Example 1 ```powershell -Remove-AzCosmosDBGremlinDatabase -ResourceGroupName {rgName} -AccountName {accountName} -Name {dbName} +Remove-AzCosmosDBGremlinDatabase -ResourceGroupName "rgName" -AccountName "accountName" -Name "dbName" ``` The cmdlet returns an object of type bool(when -PassThru is passed) which is true, if the delete was successful. diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinGraph.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinGraph.md index f188930fb1aa..da6f5a9b98ba 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinGraph.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinGraph.md @@ -32,7 +32,7 @@ The **Remove-AzCosmosDBGremlinGraph** cmdlet deletes a CosmosDB Gremlin Graph. ### Example 1 ```powershell -Remove-AzCosmosDBGremlinGraph -ResourceGroupName {rgName} -AccountName {accountName} -DatabaseName {dbName} -Name {graphName} +Remove-AzCosmosDBGremlinGraph -ResourceGroupName "rgName" -AccountName "accountName" -DatabaseName "dbName" -Name "graphName" ``` The cmdlet returns an object of type bool(when -PassThru is passed) which is true, if the delete was successful. diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBCollection.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBCollection.md index 7640a8a164f5..69415078e801 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBCollection.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBCollection.md @@ -32,7 +32,7 @@ The **Remove-AzCosmosDBMongoDBCollection** cmdlet deletes a CosmosDB MongoDB Col ### Example 1 ```powershell -Remove-AzCosmosDBMongoDBCollection -ResourceGroupName {rgName} -AccountName {accountName} -DatabaseName {dbName} -Name {collectionName} +Remove-AzCosmosDBMongoDBCollection -ResourceGroupName "rgName" -AccountName "accountName" -DatabaseName "dbName" -Name "collectionName" ``` The cmdlet returns an object of type bool(when -PassThru is passed) which is true, if the delete was successful. diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBDatabase.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBDatabase.md index 4496d17371b8..94c72d37fca8 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBDatabase.md @@ -31,7 +31,7 @@ The **Remove-AzCosmosDBMongoDBDatabase** cmdlet deletes a CosmosDB MongoDB Datab ### Example 1 ```powershell -Remove-AzCosmosDBMongoDBDatabase -ResourceGroupName {rgName} -AccountName {accountName} -Name {dbName} +Remove-AzCosmosDBMongoDBDatabase -ResourceGroupName "rgName" -AccountName "accountName" -Name "dbName" ``` The cmdlet returns an object of type bool(when -PassThru is passed) which is true, if the delete was successful. diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlContainer.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlContainer.md index e93115932170..33bbb589bd82 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlContainer.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlContainer.md @@ -32,7 +32,7 @@ The **Remove-AzCosmosDBSqlContainer** cmdlet deletes the CosmosDB Sql Container ### Example 1 ```powershell -Remove-AzCosmosDBSqlContainer -ResourceGroupName {resourceGroupName} -AccountName {accountName} -DatabaseName {databaseName} -Name {containerName} +Remove-AzCosmosDBSqlContainer -ResourceGroupName "resourceGroupName" -AccountName "accountName" -DatabaseName "databaseName" -Name "containerName" ``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlDatabase.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlDatabase.md index f8f22808a35d..f10e1ffcc33d 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlDatabase.md @@ -31,7 +31,7 @@ The **Remove-AzCosmosDBSqlDatabase** cmdlet deletes the CosmosDB Sql Database co ### Example 1 ```powershell -Remove-AzCosmosDBSqlDatabase -ResourceGroupName {resourceGroupName} -AccountName {accountName} -Name {databaseName} +Remove-AzCosmosDBSqlDatabase -ResourceGroupName "resourceGroupName" -AccountName "accountName" -Name "databaseName" ``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlStoredProcedure.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlStoredProcedure.md index d6f148cb14dc..3f275c83159d 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlStoredProcedure.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlStoredProcedure.md @@ -32,7 +32,7 @@ The **Remove-AzCosmosDBSqlStoredProcedure** cmdlet deletes the CosmosDB Sql Stor ### Example 1 ```powershell -Remove-AzCosmosDBSqlStoredProcedure -ResourceGroupName {resourceGroupName} -AccountName {accountName} -DatabaseName {databaseName} -ContainerName {containerName} -Name {storedProcedureName} +Remove-AzCosmosDBSqlStoredProcedure -ResourceGroupName "resourceGroupName" -AccountName "accountName" -DatabaseName "databaseName" -ContainerName "containerName" -Name "storedProcedureName" ``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlTrigger.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlTrigger.md index eb8781b9db28..9c0392c885d5 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlTrigger.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlTrigger.md @@ -32,7 +32,7 @@ The **Remove-AzCosmosDBSqlTrigger** cmdlet deletes the CosmosDB Sql Trigger corr ### Example 1 ```powershell -Remove-AzCosmosDBSqlTrigger -ResourceGroupName {resourceGroupName} -AccountName {accountName} -DatabaseName {databaseName} -ContainerName {containerName} -Name {triggerName} +Remove-AzCosmosDBSqlTrigger -ResourceGroupName "resourceGroupName" -AccountName "accountName" -DatabaseName "databaseName" -ContainerName "containerName" -Name "triggerName" ``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlUserDefinedFunction.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlUserDefinedFunction.md index 8870c6a95405..23f34a4cb479 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlUserDefinedFunction.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlUserDefinedFunction.md @@ -32,7 +32,7 @@ The **Remove-AzCosmosDBSqlUserDefinedFunction** cmdlet deletes the CosmosDB Sql ### Example 1 ```powershell -Remove-AzCosmosDBSqlUserDefinedFunction -ResourceGroupName {resourceGroupName} -AccountName {accountName} -DatabaseName {databaseName} -ContainerName {containerName} -Name {userDefinedFunctionName} +Remove-AzCosmosDBSqlUserDefinedFunction -ResourceGroupName "resourceGroupName" -AccountName "accountName" -DatabaseName "databaseName" -ContainerName "containerName" -Name "userDefinedFunctionName" ``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBTable.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBTable.md index 75bd6170cf38..63b11343800e 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBTable.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBTable.md @@ -31,7 +31,7 @@ The **Remove-AzCosmosDBTable** cmdlet deletes the CosmosDB Table. ### Example 1 ```powershell -Remove-AzCosmosDBTable -AccountName {account} -Name {tableName} -ResourceGroupName {rgName} +Remove-AzCosmosDBTable -AccountName "account" -Name "tableName" -ResourceGroupName "rgName" ``` The cmdlet returns an object of type bool(when -PassThru is passed) which is true, if the delete was successful. diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzManagedCassandraCluster.md b/src/CosmosDB/CosmosDB/help/Remove-AzManagedCassandraCluster.md index 34b1360cfcde..7ac7a6eab150 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzManagedCassandraCluster.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzManagedCassandraCluster.md @@ -38,13 +38,13 @@ The **Remove-AzManagedCassandraCluster** cmdlet deletes a managed Cassandra clus ### Example 1 ```powershell Remove-AzManagedCassandraCluster ` - -ResourceGroupName {resourceGroupName} ` - -ClusterName {clusterName} + -ResourceGroupName "resourceGroupName" ` + -ClusterName "clusterName" ``` ### Example 2 ```powershell -Remove-AzManagedCassandraCluster -ResourceId {clusterResourceId} +Remove-AzManagedCassandraCluster -ResourceId "clusterResourceId" ``` ### Example 3 diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzManagedCassandraDataCenter.md b/src/CosmosDB/CosmosDB/help/Remove-AzManagedCassandraDataCenter.md index b585af077a61..cfcd9c585d83 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzManagedCassandraDataCenter.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzManagedCassandraDataCenter.md @@ -44,14 +44,14 @@ The **Remove-AzManagedCassandraDataCenter** cmdlet deletes a managed Cassandra d ### Example 1 ```powershell Remove-AzManagedCassandraDataCenter ` - -ResourceGroupName {resourceGroupName} ` - -ClusterName {clusterName} - -DataCenterName {dataCenterName} + -ResourceGroupName "resourceGroupName" ` + -ClusterName "clusterName" ` + -DataCenterName "dataCenterName" ``` ### Example 2 ```powershell -Remove-AzManagedCassandraDataCenter -ResourceId {dataCenterResourceId} +Remove-AzManagedCassandraDataCenter -ResourceId "dataCenterResourceId" ``` ### Example 3 diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBCassandraKeyspaceThroughput.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBCassandraKeyspaceThroughput.md index 8177c3e4ff43..c241faddb99a 100644 --- a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBCassandraKeyspaceThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBCassandraKeyspaceThroughput.md @@ -40,7 +40,7 @@ Updates the throughput value of a CosmosDB Cassandra Keyspace. ### Example 1 ```powershell -Update-AzCosmosDBCassandraKeyspaceThroughput -AccountName {myAccountName} -ResourceGroupName {myResourceGroupName} -Name {myKeyspaceName} -Throughput {updatedThroughputValue} +Update-AzCosmosDBCassandraKeyspaceThroughput -AccountName "myAccountName" -ResourceGroupName "myResourceGroupName" -Name "myKeyspaceName" -Throughput $updatedThroughputValue ``` ```output diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBCassandraTableThroughput.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBCassandraTableThroughput.md index 38e39b19fd34..3e0a14c0e458 100644 --- a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBCassandraTableThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBCassandraTableThroughput.md @@ -40,7 +40,7 @@ Updates the throughput value of a CosmosDB Cassandra Table. ### Example 1 ```powershell -Update-AzCosmosDBCassandraTableThroughput -AccountName {myAccountName} -ResourceGroupName {myResourceGroupName} -KeyspaceName {myKeyspacename} -Name {myTableName} -Throughput {updatedThroughputValue} +Update-AzCosmosDBCassandraTableThroughput -AccountName "myAccountName" -ResourceGroupName "myResourceGroupName" -KeyspaceName "myKeyspaceName" -Name "myTableName" -Throughput $updatedThroughputValue ``` ```output diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinDatabase.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinDatabase.md index f5164606d7a9..8d23dc233d6e 100644 --- a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinDatabase.md @@ -40,7 +40,7 @@ Updates the CosmosDB Gremlin Database. Performs a client side patch operation by ### Example 1 ```powershell -Update-AzCosmosDBGremlinDatabase -AccountName myAccountName -Name myDatabaseName -ResourceGroupName myResourcegroupName -throughput updatedThroughputValueAsInteger +Update-AzCosmosDBGremlinDatabase -AccountName "myAccountName" -Name "myDatabaseName" -ResourceGroupName "myResourcegroupName" -Throughput 700 ``` ```output diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinDatabaseThroughput.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinDatabaseThroughput.md index c972592b2e00..da3176f1ce9c 100644 --- a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinDatabaseThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinDatabaseThroughput.md @@ -40,7 +40,7 @@ Updates the throughput value of a CosmosDB Gremlin Database. ### Example 1 ```powershell -Update-AzCosmosDBGremlinDatabaseThroughput -AccountName {myAccountName} -ResourceGroupName {myResourceGroupName} -Name {myDatabaseName} -Throughput {updatedThroughputValue} +Update-AzCosmosDBGremlinDatabaseThroughput -AccountName "myAccountName" -ResourceGroupName "myResourceGroupName" -Name "myDatabaseName" -Throughput $updatedThroughputValue ``` ```output diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinGraphThroughput.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinGraphThroughput.md index acbb4e2eb8b2..cc93930c208b 100644 --- a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinGraphThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinGraphThroughput.md @@ -40,7 +40,7 @@ Updates the throughput value of a CosmosDB Gremlin Graph. ### Example 1 ```powershell -Update-AzCosmosDBGremlinGraphThroughput -AccountName {myAccountName} -ResourceGroupName {myResourceGroupName} -DatabaseName {mydatabaseName} -Name {myGraphName} -Throughput {updatedThroughputValue} +Update-AzCosmosDBGremlinGraphThroughput -AccountName "myAccountName" -ResourceGroupName "myResourceGroupName" -DatabaseName "mydatabaseName" -Name "myGraphName" -Throughput $updatedThroughputValue ``` ```output diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBMongoDBCollectionThroughput.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBMongoDBCollectionThroughput.md index a2766364bf5c..7e525ae68f7b 100644 --- a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBMongoDBCollectionThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBMongoDBCollectionThroughput.md @@ -40,7 +40,7 @@ Updates the throughput value of a CosmosDB MongoDB Collection. ### Example 1 ```powershell -Update-AzCosmosDBMongoDBCollectionThroughput -AccountName {myAccountName} -ResourceGroupName {myResourceGroupName} -DatabaseName {mydatabaseName} -Name {myCollectionName} -Throughput {updatedThroughputValue} +Update-AzCosmosDBMongoDBCollectionThroughput -AccountName "myAccountName" -ResourceGroupName "myResourceGroupName" -DatabaseName "mydatabaseName" -Name "myCollectionName" -Throughput $updatedThroughputValue ``` ```output diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBMongoDBDatabaseThroughput.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBMongoDBDatabaseThroughput.md index 45e4148b121b..3488faa54e0b 100644 --- a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBMongoDBDatabaseThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBMongoDBDatabaseThroughput.md @@ -40,7 +40,7 @@ Updates the throughput value of a CosmosDB MongoDB Database. ### Example 1 ```powershell -Update-AzCosmosDBMongoDBThroughput -AccountName {myAccountName} -ResourceGroupName {myResourceGroupName} -Name {myDatabaseName} -Throughput {updatedThroughputValue} +Update-AzCosmosDBMongoDBThroughput -AccountName "myAccountName" -ResourceGroupName "myResourceGroupName" -Name "myDatabaseName" -Throughput $updatedThroughputValue ``` ```output diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlContainerThroughput.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlContainerThroughput.md index adf4ffb2432b..9c2a9cf7b4b2 100644 --- a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlContainerThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlContainerThroughput.md @@ -40,7 +40,7 @@ Updates the throughput value of a CosmosDB Sql Container. ### Example 1 ```powershell -Update-AzCosmosDBSqlContainerThroughput -AccountName {myAccountName} -ResourceGroupName {myResourceGroupName} -DatabaseName {myDatabaseName} -Name {myContainerName} -Throughput {updatedThroughputValue} +Update-AzCosmosDBSqlContainerThroughput -AccountName "myAccountName" -ResourceGroupName "myResourceGroupName" -DatabaseName "myDatabaseName" -Name "myContainerName" -Throughput $updatedThroughputValue ``` ```output diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlDatabaseThroughput.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlDatabaseThroughput.md index a1ac3d30d93f..e306781df3d9 100644 --- a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlDatabaseThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlDatabaseThroughput.md @@ -40,7 +40,7 @@ Updates the throughput value of a CosmosDB Sql Database. ### Example 1 ```powershell -Update-AzCosmosDBSqlDatabaseThroughput -AccountName {myAccountName} -ResourceGroupName {myResourceGroupName} -Name {myDatabaseName} -Throughput {updatedThroughputValue} +Update-AzCosmosDBSqlDatabaseThroughput -AccountName "myAccountName" -ResourceGroupName "myResourceGroupName" -Name "myDatabaseName" -Throughput $updatedThroughputValue ``` ```output diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlRoleDefinition.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlRoleDefinition.md index a6f179d1d8da..fb2e41c988e4 100644 --- a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlRoleDefinition.md +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlRoleDefinition.md @@ -49,13 +49,13 @@ In order to specify the Role Definition's Permissions, either use the DataAction ### Example 1 ```powershell -Update-AzCosmosDBSqlRoleDefinition - -AccountName accountName - -ResourceGroupName resourceGroupName - -Id id - -Type CustomRole - -RoleName roleName - -DataAction "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create" +Update-AzCosmosDBSqlRoleDefinition ` + -AccountName accountName ` + -ResourceGroupName resourceGroupName ` + -Id id ` + -Type CustomRole ` + -RoleName roleName ` + -DataAction "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create" ` -AssignableScope "/" ``` @@ -71,12 +71,12 @@ AssignableScopes : {/subscriptions/subId/resourceGroups/resourceGroupName/provid ```powershell $DatabaseAccount = Get-AzCosmosDBAccount -Name accountName -ResourceGroupName resourceGroupName $Permission = New-AzCosmosDBPermission -DataAction "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create" -Update-AzCosmosDBSqlRoleDefinition - -Type CustomRole - -Id id - -RoleName roleName - -Permission $Permission - -AssignableScope "/" +Update-AzCosmosDBSqlRoleDefinition ` + -Type CustomRole ` + -Id id ` + -RoleName roleName ` + -Permission $Permission ` + -AssignableScope "/" ` -ParentObject $DatabaseAccount ``` diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBTableThroughput.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBTableThroughput.md index f9e20622f929..1570a1ef99cd 100644 --- a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBTableThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBTableThroughput.md @@ -40,7 +40,7 @@ Updates the throughput value of a CosmosDB Table. ### Example 1 ```powershell -Update-AzCosmosDBTableThroughput -AccountName {myAccountName} -ResourceGroupName {myResourceGroupName} -Name {myTableName} -Throughput {updatedThroughputValue} +Update-AzCosmosDBTableThroughput -AccountName "myAccountName" -ResourceGroupName "myResourceGroupName" -Name "myTableName" -Throughput $updatedThroughputValue ``` ```output diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDbClientEncryptionKey.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDbClientEncryptionKey.md index 644f14aa43df..6e3f3ef7a15e 100644 --- a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDbClientEncryptionKey.md +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDbClientEncryptionKey.md @@ -40,9 +40,11 @@ The **Update-AzCosmosDbClientEncryptionKey** updates the CosmosDb Client Encrypt ### Example 1 ```powershell -PS C:\> $updatedKeyWrapMetadataObject = [Microsoft.Azure.Commands.CosmosDB.Models.PSSqlKeyWrapMetadata]::new([Microsoft.Azure.Management.CosmosDB.Models.KeyWrapMetadata]::new("myKekV2","AZURE_KEY_VAULT", "https://contoso.vault.azure.net/keys/myKekV2/78deebed173b48e48f55abf87ed4cf71", "RSA-OAEP")) -PS C:\> Update-AzCosmosDbClientEncryptionKey -AccountName myAccountName -DatabaseName myDatabaseName -ResourceGroupName myRgName -Name myClientEncryptionKeyName -KeyWrapMetadata $updatedKeyWrapMetadataObject +$updatedKeyWrapMetadataObject = [Microsoft.Azure.Commands.CosmosDB.Models.PSSqlKeyWrapMetadata]::new([Microsoft.Azure.Management.CosmosDB.Models.KeyWrapMetadata]::new("myKekV2","AZURE_KEY_VAULT", "https://contoso.vault.azure.net/keys/myKekV2/78deebed173b48e48f55abf87ed4cf71", "RSA-OAEP")) +Update-AzCosmosDbClientEncryptionKey -AccountName myAccountName -DatabaseName myDatabaseName -ResourceGroupName myRgName -Name myClientEncryptionKeyName -KeyWrapMetadata $updatedKeyWrapMetadataObject +``` +```output Name : myContainerName Id : /subscriptions/mySubscriptionId/resourceGroups/myRgName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/sqlDatabases/myDatabaseName/clientEncryptionKeys/myClientEncryptionKeyName Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlClientEncryptionKeyGetPropertiesResource @@ -54,10 +56,12 @@ In the second command a key with name as set in myClientEncryptionKeyName variab ### Example 2 ```powershell -PS C:\> $updatedKeyWrapMetadataObject = [Microsoft.Azure.Commands.CosmosDB.Models.PSSqlKeyWrapMetadata]::new([Microsoft.Azure.Management.CosmosDB.Models.KeyWrapMetadata]::new("myKekV2","AZURE_KEY_VAULT", "https://contoso.vault.azure.net/keys/myKekV2/78deebed173b48e48f55abf87ed4cf71", "RSA-OAEP")) -PS C:\> $azureKeyVaultKeyResolver = [Azure.Security.KeyVault.Keys.Cryptography.KeyResolver]::new([Azure.Identity.DefaultAzureCredential]::new()) -PS C:\> Update-AzCosmosDbClientEncryptionKey -AccountName myAccountName -DatabaseName myDatabaseName -ResourceGroupName myRgName -Name myClientEncryptionKeyName -KeyWrapMetadata $updatedKeyWrapMetadataObject -KeyEncryptionKeyResolver $azureKeyVaultKeyResolver +$updatedKeyWrapMetadataObject = [Microsoft.Azure.Commands.CosmosDB.Models.PSSqlKeyWrapMetadata]::new([Microsoft.Azure.Management.CosmosDB.Models.KeyWrapMetadata]::new("myKekV2","AZURE_KEY_VAULT", "https://contoso.vault.azure.net/keys/myKekV2/78deebed173b48e48f55abf87ed4cf71", "RSA-OAEP")) +$azureKeyVaultKeyResolver = [Azure.Security.KeyVault.Keys.Cryptography.KeyResolver]::new([Azure.Identity.DefaultAzureCredential]::new()) +Update-AzCosmosDbClientEncryptionKey -AccountName myAccountName -DatabaseName myDatabaseName -ResourceGroupName myRgName -Name myClientEncryptionKeyName -KeyWrapMetadata $updatedKeyWrapMetadataObject -KeyEncryptionKeyResolver $azureKeyVaultKeyResolver +``` +```output Name : myContainerName Id : /subscriptions/mySubscriptionId/resourceGroups/myRgName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/sqlDatabases/myDatabaseName/clientEncryptionKeys/myClientEncryptionKeyName Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlClientEncryptionKeyGetPropertiesResource @@ -70,10 +74,12 @@ In the third command a key with name as set in myClientEncryptionKeyName variabl ### Example 3 ```powershell -PS C:\> $updatedKeyWrapMetadataObject = [Microsoft.Azure.Commands.CosmosDB.Models.PSSqlKeyWrapMetadata]::new([Microsoft.Azure.Management.CosmosDB.Models.KeyWrapMetadata]::new("myKekV2","AZURE_KEY_VAULT", "https://contoso.vault.azure.net/keys/myKekV2/78deebed173b48e48f55abf87ed4cf71", "RSA-OAEP")) -PS C:\> $keyToUpdate = Get-AzCosmosDbClientEncryptionKey -AccountName myAccountName -DatabaseName myDatabaseName -ResourceGroupName myRgName -ClientEncryptionKeyName myClientEncryptionKeyName -PS C:\> Update-AzCosmosDbClientEncryptionKey -InputObject $keyToUpdate -KeyWrapMetadata $updatedKeyWrapMetadataObject -KeyEncryptionKeyResolver $azureKeyVaultKeyResolver +$updatedKeyWrapMetadataObject = [Microsoft.Azure.Commands.CosmosDB.Models.PSSqlKeyWrapMetadata]::new([Microsoft.Azure.Management.CosmosDB.Models.KeyWrapMetadata]::new("myKekV2","AZURE_KEY_VAULT", "https://contoso.vault.azure.net/keys/myKekV2/78deebed173b48e48f55abf87ed4cf71", "RSA-OAEP")) +$keyToUpdate = Get-AzCosmosDbClientEncryptionKey -AccountName myAccountName -DatabaseName myDatabaseName -ResourceGroupName myRgName -ClientEncryptionKeyName myClientEncryptionKeyName +Update-AzCosmosDbClientEncryptionKey -InputObject $keyToUpdate -KeyWrapMetadata $updatedKeyWrapMetadataObject -KeyEncryptionKeyResolver $azureKeyVaultKeyResolver +``` +```output Name : myContainerName Id : /subscriptions/mySubscriptionId/resourceGroups/myRgName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/sqlDatabases/myDatabaseName/clientEncryptionKeys/myClientEncryptionKeyName Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlClientEncryptionKeyGetPropertiesResource diff --git a/src/CosmosDB/CosmosDB/help/Update-AzManagedCassandraCluster.md b/src/CosmosDB/CosmosDB/help/Update-AzManagedCassandraCluster.md index b98d80056958..cb69193cd396 100644 --- a/src/CosmosDB/CosmosDB/help/Update-AzManagedCassandraCluster.md +++ b/src/CosmosDB/CosmosDB/help/Update-AzManagedCassandraCluster.md @@ -47,28 +47,28 @@ The **Update-AzManagedCassandraCluster** cmdlet alters an existing managed Cassa ### Example 1 ```powershell Update-AzManagedCassandraCluster ` - -ResourceGroupName {resourceGroupName} ` - -ClusterName {clusterName} ` - -ExternalGossipCertificate {certificates} ` - -ClientCertificate {certificates} ` - -RepairEnabled {boolean} + -ResourceGroupName "resourceGroupName" ` + -ClusterName "clusterName" ` + -ExternalGossipCertificate "certificates" ` + -ClientCertificate "certificates" ` + -RepairEnabled $true ``` ### Example 2 ```powershell Update-AzManagedCassandraCluster ` - -ResourceId {clusterResourceId} ` - -ExternalGossipCertificate {certificates} ` - -ClientCertificate {certificates} ` - -RepairEnabled {boolean} + -ResourceId "clusterResourceId" ` + -ExternalGossipCertificate "certificates" ` + -ClientCertificate "certificates" ` + -RepairEnabled $true ``` ### Example 3 ```powershell $clusterResource | Update-AzManagedCassandraCluster ` - -ExternalGossipCertificate {certificates} ` - -ClientCertificate {certificates} ` - -RepairEnabled {boolean} + -ExternalGossipCertificate "certificates" ` + -ClientCertificate "certificates" ` + -RepairEnabled $true ``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Update-AzManagedCassandraDataCenter.md b/src/CosmosDB/CosmosDB/help/Update-AzManagedCassandraDataCenter.md index 59f9ae27239d..98de11ddd495 100644 --- a/src/CosmosDB/CosmosDB/help/Update-AzManagedCassandraDataCenter.md +++ b/src/CosmosDB/CosmosDB/help/Update-AzManagedCassandraDataCenter.md @@ -48,10 +48,10 @@ The **Update-AzManagedCassandraDataCenter** cmdlet updates an existing managed C ### Example 1 ```powershell Update-AzManagedCassandraDataCenter ` - -ResourceGroupName {resourceGroupName} ` - -ClusterName {clusterName} ` - -DataCenterName {dataCenterName} ` - -NodeCount {N} + -ResourceGroupName "resourceGroupName" ` + -ClusterName "clusterName" ` + -DataCenterName "dataCenterName" ` + -NodeCount 3 ``` ## PARAMETERS