Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English
Read in English Edit

Azure CLI samples for Azure Cosmos DB for NoSQL

Review several Azure CLI code samples available for interacting with Azure Cosmos DB for NoSQL.

Common account administration tasks

Reference

  • Create an Azure Cosmos DB account, database, and container
  • Create a serverless Azure Cosmos DB account, database, and container
  • Create an Azure Cosmos DB account, database, and container with autoscale
  • Perform throughput operations
  • Lock resources from deletion

API for NoSQL-specific administration

Reference

  • Add or fail over regions
  • Secure with IP firewall
  • Secure new account with service endpoints
  • Secure existing account with service endpoints
  • Find existing free-tier account
Your Privacy Choices
  • SH ICP Filing No. 13015306-25
  • PSB Filing No. 31011502002224
  • Privacy
  • Microsoft Azure Operated by 21Vianet
  • © Microsoft 2025
Your Privacy Choices
  • SH ICP Filing No. 13015306-25
  • PSB Filing No. 31011502002224
  • Privacy
  • Microsoft Azure Operated by 21Vianet
  • © Microsoft 2025