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/manage-cassandra-with-resource-manager.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,27 +4,27 @@ description: Use Azure Resource Manager templates to create and configure Azure
4
4
author: TheovanKraay
5
5
ms.service: cosmos-db
6
6
ms.topic: conceptual
7
-
ms.date: 11/07/2019
7
+
ms.date: 11/12/2019
8
8
ms.author: thvankra
9
9
---
10
10
11
-
# Manage Azure Cosmos DB Cassandra API resources using Azure Resource Manager Templates
11
+
# Manage Azure Cosmos DB Cassandra API resources using Azure Resource Manager templates
12
12
13
-
This article describes how to perform different operations to automate management of your Azure Cosmos DB accounts, databases and containers using Azure Resource Manager templates. This article has examples for SQL API accounts only, to find examples for other API type accounts see: use Resource Manager templates with Azure Cosmos DB's API for [SQL](manage-sql-with-resource-manager.md), [Gremlin](manage-gremlin-with-resource-manager.md), [MongoDB](manage-mongodb-with-resource-manager.md), [Table](manage-table-with-resource-manager.md) articles.
13
+
This article describes how to perform different operations to automate management of your Azure Cosmos DB accounts, databases and containers using Azure Resource Manager templates. This article has examples for SQL API accounts only, to find examples for other API type accounts see: use Azure Resource Manager templates with Azure Cosmos DB's API for [SQL](manage-sql-with-resource-manager.md), [Gremlin](manage-gremlin-with-resource-manager.md), [MongoDB](manage-mongodb-with-resource-manager.md), [Table](manage-table-with-resource-manager.md) articles.
14
14
15
15
## Create Azure Cosmos account, keyspace and table <aid="create-resource"></a>
16
16
17
17
Create Azure Cosmos DB resources using an Azure Resource Manager template. This template will create an Azure Cosmos account for Cassandra API with two tables that share 400 RU/s throughput at the keyspace-level. Copy the template and deploy as shown below or visit [Azure Quickstart Gallery](https://azure.microsoft.com/resources/templates/101-cosmosdb-cassandra/) and deploy from the Azure portal. You can also download the template to your local computer or create a new template and specify the local path with the `--template-file` parameter.
18
18
19
19
> [!NOTE]
20
-
> Account names must be lower case and < 44 characters.
20
+
> Account names must be lowercase and 44 or fewer characters.
21
21
> To update RU/s, resubmit the template with updated throughput property values.
To deploy the Resource Manager template using Azure CLI, **Copy** the script and select **Try it** to open the Azure Cloud shell. To paste the script, right-click the shell, and then select **Paste**:
27
+
To deploy the Azure Resource Manager template using the Azure CLI, **Copy** the script and select **Try it** to open Azure Cloud Shell. To paste the script, right-click the shell, and then select **Paste**:
28
28
29
29
```azurecli-interactive
30
30
@@ -46,10 +46,10 @@ az group deployment create --resource-group $resourceGroupName \
46
46
az cosmosdb show --resource-group $resourceGroupName --name accountName --output tsv
47
47
```
48
48
49
-
The `az cosmosdb show` command shows the newly created Azure Cosmos account after it has been provisioned. If you choose to use a locally installed version of Azure CLI instead of using CloudShell, see [Azure Command-Line Interface (CLI)](/cli/azure/) article.
49
+
The `az cosmosdb show` command shows the newly created Azure Cosmos account after it has been provisioned. If you choose to use a locally installed version of the Azure CLI instead of using Cloud Shell, see the [Azure CLI](/cli/azure/) article.
Copy file name to clipboardExpand all lines: articles/cosmos-db/manage-gremlin-with-resource-manager.md
+11-53Lines changed: 11 additions & 53 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,30 @@
1
1
---
2
2
title: Azure Resource Manager templates for Azure Cosmos DB Gremlin API
3
3
description: Use Azure Resource Manager templates to create and configure Azure Cosmos DB Gremlin API.
4
-
author: markjbrown
4
+
author: TheovanKraay
5
5
ms.service: cosmos-db
6
6
ms.topic: conceptual
7
-
ms.date: 08/05/2019
8
-
ms.author: mjbrown
7
+
ms.date: 11/12/2019
8
+
ms.author: thvankra
9
9
---
10
10
11
-
# Manage Azure Cosmos DB Gremlin API resources using Azure Resource Manager Templates
11
+
# Manage Azure Cosmos DB Gremlin API resources using Azure Resource Manager templates
12
12
13
-
This article describes how to perform different operations to automate management of your Azure Cosmos DB accounts, databases and containers using Azure Resource Manager templates. This article has examples for Gremlin API accounts only, to find examples for other API type accounts see: use Resource Manager templates with Azure Cosmos DB's API for [Cassandra](manage-cassandra-with-resource-manager.md), [SQL](manage-sql-with-resource-manager.md), [MongoDB](manage-mongodb-with-resource-manager.md), [Table](manage-table-with-resource-manager.md) articles.
13
+
This article describes how to perform different operations to automate management of your Azure Cosmos DB accounts, databases and containers using Azure Resource Manager templates. This article has examples for Gremlin API accounts only, to find examples for other API type accounts see: use Azure Resource Manager templates with Azure Cosmos DB's API for [Cassandra](manage-cassandra-with-resource-manager.md), [SQL](manage-sql-with-resource-manager.md), [MongoDB](manage-mongodb-with-resource-manager.md), [Table](manage-table-with-resource-manager.md) articles.
14
14
15
15
## Create Azure Cosmos DB API for MongoDB account, database and collection <aid="create-resource"></a>
16
16
17
17
Create Azure Cosmos DB resources using an Azure Resource Manager template. This template will create an Azure Cosmos account for Gremlin API with two graphs that share 400 RU/s throughput at the database level. Copy the template and deploy as shown below or visit [Azure Quickstart Gallery](https://azure.microsoft.com/resources/templates/101-cosmosdb-gremlin/) and deploy from the Azure portal. You can also download the template to your local computer or create a new template and specify the local path with the `--template-file` parameter.
18
18
19
19
> [!NOTE]
20
-
> Account names must be lower case and < 31 characters.
20
+
> Account names must be lowercase and 44 or fewer characters.
21
+
> To update RU/s, resubmit the template with updated throughput property values.
To deploy the Resource Manager template using Azure CLI, **Copy** the script and select **Try it** to open the Azure Cloud shell. To paste the script, right-click the shell, and then select **Paste**:
27
+
To deploy the Azure Resource Manager template using the Azure CLI, **Copy** the script and select **Try it** to open Azure Cloud Shell. To paste the script, right-click the shell, and then select **Paste**:
27
28
28
29
```azurecli-interactive
29
30
@@ -45,52 +46,9 @@ az group deployment create --resource-group $resourceGroupName \
45
46
az cosmosdb show --resource-group $resourceGroupName --name accountName --output tsv
46
47
```
47
48
48
-
The `az cosmosdb show` command shows the newly created Azure Cosmos account after it has been provisioned. If you choose to use a locally installed version of Azure CLI instead of using CloudShell, see [Azure Command-Line Interface (CLI)](/cli/azure/) article.
49
+
The `az cosmosdb show` command shows the newly created Azure Cosmos account after it has been provisioned. If you choose to use a locally installed version of the Azure CLI instead of using Cloud Shell, see the [Azure CLI](/cli/azure/) article.
49
50
50
-
## Update throughput (RU/s) on a database <aid="database-ru-update"></a>
51
-
52
-
The following template will update the throughput of a database. Copy the template and deploy as shown below or visit [Azure Quickstart Gallery](https://azure.microsoft.com/resources/templates/101-cosmosdb-gremlin-database-ru-update/) and deploy from the Azure portal. You can also download the template to your local computer or create a new template and specify the local path with the `--template-file` parameter.
To deploy the Resource Manager template using Azure CLI, select **Try it** to open the Azure Cloud shell. To paste the script, right-click the shell, and then select **Paste**:
59
-
60
-
```azurecli-interactive
61
-
read -p 'Enter the Resource Group name: ' resourceGroupName
62
-
read -p 'Enter the account name: ' accountName
63
-
read -p 'Enter the database name: ' databaseName
64
-
read -p 'Enter the new throughput: ' throughput
65
-
66
-
az group deployment create --resource-group $resourceGroupName \
## Update throughput (RU/s) on a graph <aid="graph-ru-update"></a>
72
-
73
-
The following template will update the throughput of a graph. Copy the template and deploy as shown below or visit [Azure Quickstart Gallery](https://azure.microsoft.com/resources/templates/101-cosmosdb-gremlin-graph-ru-update/) and deploy from the Azure portal. You can also download the template to your local computer or create a new template and specify the local path with the `--template-file` parameter.
To deploy the Resource Manager template using Azure CLI, select **Try it** to open the Azure Cloud shell. To paste the script, right-click the shell, and then select **Paste**:
80
-
81
-
```azurecli-interactive
82
-
read -p 'Enter the Resource Group name: ' resourceGroupName
83
-
read -p 'Enter the account name: ' accountName
84
-
read -p 'Enter the database name: ' databaseName
85
-
read -p 'Enter the graph name: ' graphName
86
-
read -p 'Enter the new throughput: ' throughput
87
-
88
-
az group deployment create --resource-group $resourceGroupName \
Copy file name to clipboardExpand all lines: articles/cosmos-db/manage-mongodb-with-resource-manager.md
+11-53Lines changed: 11 additions & 53 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,30 @@
1
1
---
2
2
title: Azure Resource Manager templates for Azure Cosmos DB API for MongoDB
3
3
description: Use Azure Resource Manager templates to create and configure Azure Cosmos DB API for MongoDB.
4
-
author: markjbrown
4
+
author: TheovanKraay
5
5
ms.service: cosmos-db
6
6
ms.topic: conceptual
7
-
ms.date: 08/05/2019
8
-
ms.author: mjbrown
7
+
ms.date: 11/12/2019
8
+
ms.author: thvankra
9
9
---
10
10
11
-
# Manage Azure Cosmos DB MongoDB API resources using Azure Resource Manager Templates
11
+
# Manage Azure Cosmos DB MongoDB API resources using Azure Resource Manager templates
12
12
13
-
This article describes how to perform different operations to automate management of your Azure Cosmos DB accounts, databases and containers using Azure Resource Manager templates. This article has examples for Azure Cosmos DB's API for MongoDB only, to find examples for other API type accounts see: use Resource Manager templates with Azure Cosmos DB's API for [Cassandra](manage-cassandra-with-resource-manager.md), [Gremlin](manage-gremlin-with-resource-manager.md), [SQL](manage-sql-with-resource-manager.md), [Table](manage-table-with-resource-manager.md) articles.
13
+
This article describes how to perform different operations to automate management of your Azure Cosmos DB accounts, databases and containers using Azure Resource Manager templates. This article has examples for Azure Cosmos DB's API for MongoDB only, to find examples for other API type accounts see: use Azure Resource Manager templates with Azure Cosmos DB's API for [Cassandra](manage-cassandra-with-resource-manager.md), [Gremlin](manage-gremlin-with-resource-manager.md), [SQL](manage-sql-with-resource-manager.md), [Table](manage-table-with-resource-manager.md) articles.
14
14
15
15
## Create Azure Cosmos DB API for MongoDB account, database and collection <aid="create-resource"></a>
16
16
17
17
Create Azure Cosmos DB resources using an Azure Resource Manager template. This template will create an Azure Cosmos account for MongoDB API with two collections that share 400 RU/s throughput at the database level. Copy the template and deploy as shown below or visit [Azure Quickstart Gallery](https://azure.microsoft.com/resources/templates/101-cosmosdb-mongodb/) and deploy from the Azure portal. You can also download the template to your local computer or create a new template and specify the local path with the `--template-file` parameter.
18
18
19
19
> [!NOTE]
20
-
> Account names must be lower case and < 31 characters.
20
+
> Account names must be lowercase and 44 or fewer characters.
21
+
> To update RU/s, resubmit the template with updated throughput property values.
To deploy the Resource Manager template using Azure CLI, **Copy** the script and select **Try it** to open the Azure Cloud shell. To paste the script, right-click the shell, and then select **Paste**:
27
+
To deploy the Azure Resource Manager template using the Azure CLI, **Copy** the script and select **Try it** to open Azure Cloud Shell. To paste the script, right-click the shell, and then select **Paste**:
27
28
28
29
```azurecli-interactive
29
30
@@ -45,52 +46,9 @@ az group deployment create --resource-group $resourceGroupName \
45
46
az cosmosdb show --resource-group $resourceGroupName --name accountName --output tsv
46
47
```
47
48
48
-
The `az cosmosdb show` command shows the newly created Azure Cosmos account after it has been provisioned. If you choose to use a locally installed version of Azure CLI instead of using CloudShell, see [Azure Command-Line Interface (CLI)](/cli/azure/) article.
49
+
The `az cosmosdb show` command shows the newly created Azure Cosmos account after it has been provisioned. If you choose to use a locally installed version of the Azure CLI instead of using Cloud Shell, see the [Azure CLI](/cli/azure/) article.
49
50
50
-
## Update throughput (RU/s) on a database <aid="database-ru-update"></a>
51
-
52
-
The following template will update the throughput of a database. Copy the template and deploy as shown below or visit [Azure Quickstart Gallery](https://azure.microsoft.com/resources/templates/101-cosmosdb-mongodb-database-ru-update/) and deploy from the Azure portal. You can also download the template to your local computer or create a new template and specify the local path with the `--template-file` parameter.
To deploy the Resource Manager template using Azure CLI, select **Try it** to open the Azure Cloud shell. To paste the script, right-click the shell, and then select **Paste**:
59
-
60
-
```azurecli-interactive
61
-
read -p 'Enter the Resource Group name: ' resourceGroupName
62
-
read -p 'Enter the account name: ' accountName
63
-
read -p 'Enter the database name: ' databaseName
64
-
read -p 'Enter the new throughput: ' throughput
65
-
66
-
az group deployment create --resource-group $resourceGroupName \
## Update throughput (RU/s) on a collection <aid="collection-ru-update"></a>
72
-
73
-
The following template will update the throughput of a collection. Copy the template and deploy as shown below or visit [Azure Quickstart Gallery](https://azure.microsoft.com/resources/templates/101-cosmosdb-mongodb-collection-ru-update/) and deploy from the Azure portal. You can also download the template to your local computer or create a new template and specify the local path with the `--template-file` parameter.
To deploy the Resource Manager template using Azure CLI, select **Try it** to open the Azure Cloud shell. To paste the script, right-click the shell, and then select **Paste**:
80
-
81
-
```azurecli-interactive
82
-
read -p 'Enter the Resource Group name: ' resourceGroupName
83
-
read -p 'Enter the account name: ' accountName
84
-
read -p 'Enter the database name: ' databaseName
85
-
read -p 'Enter the collection name: ' collectionName
86
-
read -p 'Enter the new throughput: ' throughput
87
-
88
-
az group deployment create --resource-group $resourceGroupName \
0 commit comments