You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cosmos-db/powershell-samples-sql.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Get the Azure PowerShell samples to perform various common tasks i
4
4
author: markjbrown
5
5
ms.service: cosmos-db
6
6
ms.topic: sample
7
-
ms.date: 03/26/2020
7
+
ms.date: 05/13/2020
8
8
ms.author: mjbrown
9
9
---
10
10
@@ -15,7 +15,7 @@ The following table includes links to commonly used Azure PowerShell scripts for
15
15
For additional Cosmos DB PowerShell samples for SQL (Core) API and documentation, see [Manage Azure Cosmos DB SQL API resources using PowerShell](manage-with-powershell.md). For Cosmos DB PowerShell samples for other APIs, see [Cassandra API](powershell-samples-cassandra.md), [MongoDB API](powershell-samples-mongodb.md), [Gremlin API](powershell-samples-gremlin.md), and [Table API](powershell-samples-table.md).
16
16
17
17
> [!NOTE]
18
-
> The samples use [Az.CosmosDB](https://docs.microsoft.com/powershell/module/az.cosmosdb) management cmdlets. Please note that the `Az.CosmosDB` cmdlets are still in preview and may change before release. Please check for updates to `Az.CosmosDB` regularly.
18
+
> The samples use [Az.CosmosDB](https://docs.microsoft.com/powershell/module/az.cosmosdb) management cmdlets. Please check for updates to `Az.CosmosDB` regularly.
Copy file name to clipboardExpand all lines: articles/cosmos-db/scripts/powershell/sql/ps-sql-container-create-index-none.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: markjbrown
5
5
ms.service: cosmos-db
6
6
ms.subservice: cosmosdb-sql
7
7
ms.topic: sample
8
-
ms.date: 03/17/2020
8
+
ms.date: 05/13/2020
9
9
ms.author: mjbrown
10
10
---
11
11
@@ -34,10 +34,10 @@ This script uses the following commands. Each command in the table links to comm
34
34
| Command | Notes |
35
35
|---|---|
36
36
|**Azure Cosmos DB**||
37
-
|[New-AzCosmosDBAccount](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbaccount)| Creates a new Cosmos DB Account. |
38
-
|[Set-AzCosmosDBSqlDatabase](https://docs.microsoft.com/powershell/module/az.cosmosdb/set-azcosmosdbsqldatabase)| Creates a new or updates an existing Cosmos DB SQL Database. |
39
-
|[New-AzCosmosDBSqlIndexingPolicy](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqlindexingpolicy)| Creates a new object of type PSSqlIndexingPolicy used as a parameter for Set-AzCosmosDBSqlContainer. |
40
-
|[Set-AzCosmosDBSqlContainer](https://docs.microsoft.com/powershell/module/az.cosmosdb/set-azcosmosdbsqlcontainer)| Creates a new or updates an existing Cosmos DB SQL Container. |
37
+
|[New-AzCosmosDBAccount](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbaccount)| Creates a Cosmos DB Account. |
38
+
|[New-AzCosmosDBSqlDatabase](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqldatabase)| Creates a Cosmos DB SQL Database. |
39
+
|[New-AzCosmosDBSqlIndexingPolicy](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqlindexingpolicy)| Creates a PSSqlIndexingPolicy object used as a parameter for New-AzCosmosDBSqlContainer. |
40
+
|[New-AzCosmosDBSqlContainer](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqlcontainer)| Creates a Cosmos DB SQL Container. |
41
41
|**Azure Resource Groups**||
42
42
|[Remove-AzResourceGroup](https://docs.microsoft.com/powershell/module/az.resources/remove-azresourcegroup)| Deletes a resource group including all nested resources. |
Copy file name to clipboardExpand all lines: articles/cosmos-db/scripts/powershell/sql/ps-sql-container-create-large-partition-key.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: markjbrown
5
5
ms.service: cosmos-db
6
6
ms.subservice: cosmosdb-sql
7
7
ms.topic: sample
8
-
ms.date: 03/17/2020
8
+
ms.date: 05/13/2020
9
9
ms.author: mjbrown
10
10
---
11
11
@@ -34,9 +34,9 @@ This script uses the following commands. Each command in the table links to comm
34
34
| Command | Notes |
35
35
|---|---|
36
36
|**Azure Cosmos DB**||
37
-
|[New-AzCosmosDBAccount](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbaccount)| Creates a new Cosmos DB Account. |
38
-
|[Set-AzCosmosDBSqlDatabase](https://docs.microsoft.com/powershell/module/az.cosmosdb/set-azcosmosdbsqldatabase)| Creates a new or updates an existing Cosmos DB SQL Database. |
39
-
|[Set-AzCosmosDBSqlContainer](https://docs.microsoft.com/powershell/module/az.cosmosdb/set-azcosmosdbsqlcontainer)| Creates a new or updates an existing Cosmos DB SQL Container. |
37
+
|[New-AzCosmosDBAccount](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbaccount)| Creates a Cosmos DB Account. |
38
+
|[New-AzCosmosDBSqlDatabase](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqldatabase)| Creates a Cosmos DB SQL Database. |
39
+
|[New-AzCosmosDBSqlContainer](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqlcontainer)| Creates a Cosmos DB SQL Container. |
40
40
|**Azure Resource Groups**||
41
41
|[Remove-AzResourceGroup](https://docs.microsoft.com/powershell/module/az.resources/remove-azresourcegroup)| Deletes a resource group including all nested resources. |
Copy file name to clipboardExpand all lines: articles/cosmos-db/scripts/powershell/sql/ps-sql-create.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: markjbrown
5
5
ms.service: cosmos-db
6
6
ms.subservice: cosmosdb-sql
7
7
ms.topic: sample
8
-
ms.date: 05/01/2020
8
+
ms.date: 05/13/2020
9
9
ms.author: mjbrown
10
10
---
11
11
@@ -36,16 +36,16 @@ This script uses the following commands. Each command in the table links to comm
36
36
| Command | Notes |
37
37
|---|---|
38
38
|**Azure Cosmos DB**||
39
-
|[New-AzCosmosDBAccount](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbaccount)| Creates a new Cosmos DB Account. |
40
-
|[Set-AzCosmosDBSqlDatabase](https://docs.microsoft.com/powershell/module/az.cosmosdb/set-azcosmosdbsqldatabase)| Creates a new or updates an existing Cosmos DB SQL Database. |
41
-
|[New-AzCosmosDBSqlUniqueKey](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqluniquekey)| Creates a new Cosmos DB SQL PSSqlUniqueKey object used as a parameter for New-AzCosmosDBSqlUniqueKeyPolicy. |
42
-
|[New-AzCosmosDBSqlUniqueKeyPolicy](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqluniquekeypolicy)| Creates a new Cosmos DB SQL PSSqlUniqueKeyPolicy object used as a parameter for Set-AzCosmosDBSqlContainer. |
43
-
|[New-AzCosmosDBSqlCompositePath](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqlcompositepath)| Creates a new Cosmos DB SQL PSCompositePath object used as a parameter for New-AzCosmosDBSqlIndexingPolicy. |
44
-
|[New-AzCosmosDBSqlIncludedPathIndex](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqlincludedpathindex)| Creates a new object of type PSIndexes used as a parameter for Set-AzCosmosDBSqlIncludedPath. |
45
-
|[New-AzCosmosDBSqlIncludedPath](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqlincludedpath)| Creates a new object of type PSIncludedPath used as a parameter for New-AzCosmosDBSqlIndexingPolicy. |
46
-
|[New-AzCosmosDBSqlIndexingPolicy](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqlindexingpolicy)| Creates a new object of type PSSqlIndexingPolicy used as a parameter for Set-AzCosmosDBSqlContainer. |
47
-
|[New-AzCosmosDBSqlConflictResolutionPolicy](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqlconflictresolutionpolicy)| Creates a new object of type PSSqlConflictResolutionPolicy used as a parameter for Set-AzCosmosDBSqlContainer. |
48
-
|[Set-AzCosmosDBSqlContainer](https://docs.microsoft.com/powershell/module/az.cosmosdb/set-azcosmosdbsqlcontainer)| Creates a new or updates an existing Cosmos DB SQL Container. |
39
+
|[New-AzCosmosDBAccount](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbaccount)| Creates a Cosmos DB Account. |
40
+
|[New-AzCosmosDBSqlDatabase](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqldatabase)| Creates a Cosmos DB SQL Database. |
41
+
|[New-AzCosmosDBSqlUniqueKey](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqluniquekey)| Creates a PSSqlUniqueKey object used as a parameter for New-AzCosmosDBSqlUniqueKeyPolicy. |
42
+
|[New-AzCosmosDBSqlUniqueKeyPolicy](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqluniquekeypolicy)| Creates a PSSqlUniqueKeyPolicy object used as a parameter for New-AzCosmosDBSqlContainer. |
43
+
|[New-AzCosmosDBSqlCompositePath](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqlcompositepath)| Creates a PSCompositePath object used as a parameter for New-AzCosmosDBSqlIndexingPolicy. |
44
+
|[New-AzCosmosDBSqlIncludedPathIndex](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqlincludedpathindex)| Creates a PSIndexes object used as a parameter for New-AzCosmosDBSqlIncludedPath. |
45
+
|[New-AzCosmosDBSqlIncludedPath](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqlincludedpath)| Creates a PSIncludedPath object used as a parameter for New-AzCosmosDBSqlIndexingPolicy. |
46
+
|[New-AzCosmosDBSqlIndexingPolicy](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqlindexingpolicy)| Creates a PSSqlIndexingPolicy object used as a parameter for New-AzCosmosDBSqlContainer. |
47
+
|[New-AzCosmosDBSqlConflictResolutionPolicy](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqlconflictresolutionpolicy)| Creates a PSSqlConflictResolutionPolicy object used as a parameter for New-AzCosmosDBSqlContainer. |
48
+
|[New-AzCosmosDBSqlContainer](https://docs.microsoft.com/powershell/module/az.cosmosdb/new-azcosmosdbsqlcontainer)| Creates a new Cosmos DB SQL Container. |
49
49
|**Azure Resource Groups**||
50
50
|[Remove-AzResourceGroup](https://docs.microsoft.com/powershell/module/az.resources/remove-azresourcegroup)| Deletes a resource group including all nested resources. |
0 commit comments