Skip to content

Latest commit

 

History

History
67 lines (44 loc) · 1.8 KB

File metadata and controls

67 lines (44 loc) · 1.8 KB

Create an Azure Cosmos DB account

cosmosdb/create/README.md

Prerequisites

This example assumes you have previously completed the following example:

  1. Create an Azure Resource Group

Create the Azure Cosmos DB account

To create the Azure Cosmos DB account use the following command lines:

  export COSMOSDB_ACCOUNT_NAME=cosmosdb-$RANDOM

  az cosmosdb create \
    --name $COSMOSDB_ACCOUNT_NAME \
    --resource-group $RESOURCE_GROUP

Cleanup

Do NOT forget to remove the resources once you are done running the example.

Additional documentation

  1. Azure Cosmos DB documentation
  2. Azure CLI - az cosmosdb

1m