|
| 1 | +### YamlMime:Landing |
| 2 | + |
| 3 | +title: Azure CLI samples for Azure Cosmos DB for NoSQL |
| 4 | +summary: Review several Azure CLI code samples available for interacting with Azure Cosmos DB for NoSQL. |
| 5 | + |
| 6 | +metadata: |
| 7 | + title: Azure CLI samples |
| 8 | + titleSuffix: Azure Cosmos DB for NoSQL |
| 9 | + description: Review several Azure CLI code samples available for interacting with Azure Cosmos DB for NoSQL. |
| 10 | + author: markjbrown |
| 11 | + ms.author: mjbrown |
| 12 | + ms.service: azure-cosmos-db |
| 13 | + ms.subservice: nosql |
| 14 | + ms.topic: sample |
| 15 | + ms.date: 04/08/2025 |
| 16 | + ms.custom: devx-track-azurecli, seo-azure-cli |
| 17 | + appliesto: |
| 18 | + - ✅ NoSQL |
| 19 | +landingContent: |
| 20 | + - title: Common account administration tasks |
| 21 | + linkLists: |
| 22 | + - linkListType: reference |
| 23 | + links: |
| 24 | + - text: Create an Azure Cosmos DB account, database, and container |
| 25 | + url: https://github.com/azure-samples/azure-cli-samples/blob/master/cosmosdb/sql/create.sh |
| 26 | + - text: Create a serverless Azure Cosmos DB account, database, and container |
| 27 | + url: https://github.com/azure-samples/azure-cli-samples/blob/master/cosmosdb/sql/serverless.sh |
| 28 | + - text: Create an Azure Cosmos DB account, database, and container with autoscale |
| 29 | + url: https://github.com/azure-samples/azure-cli-samples/blob/master/cosmosdb/sql/autoscale.sh |
| 30 | + - text: Perform throughput operations |
| 31 | + url: https://github.com/azure-samples/azure-cli-samples/blob/master/cosmosdb/sql/throughput.sh |
| 32 | + - text: Lock resources from deletion |
| 33 | + url: https://github.com/azure-samples/azure-cli-samples/blob/master/cosmosdb/sql/lock.sh |
| 34 | + - title: API for NoSQL-specific administration |
| 35 | + linkLists: |
| 36 | + - linkListType: reference |
| 37 | + links: |
| 38 | + - text: Add or fail over regions |
| 39 | + url: https://github.com/azure-samples/azure-cli-samples/blob/master/cosmosdb/common/regions.sh |
| 40 | + - text: Secure with IP firewall |
| 41 | + url: https://github.com/azure-samples/azure-cli-samples/blob/master/cosmosdb/common/ipfirewall.sh |
| 42 | + - text: Secure new account with service endpoints |
| 43 | + url: https://github.com/azure-samples/azure-cli-samples/blob/master/cosmosdb/common/service-endpoints.sh |
| 44 | + - text: Secure existing account with service endpoints |
| 45 | + url: https://github.com/azure-samples/azure-cli-samples/blob/master/cosmosdb/common/service-endpoints-ignore-missing-vnet.sh |
| 46 | + - text: Find existing free-tier account |
| 47 | + url: https://github.com/azure-samples/azure-cli-samples/blob/master/cosmosdb/common/find-free-tier-account.sh |
0 commit comments