Introduction

Completed

The Azure CLI is a suite of commands used to administratively manage Azure resources across various platforms and operating systems. The Azure CLI ships with a set of commands tailored specifically to manage Azure Cosmos DB resources. These commands cover the most common administrative scenarios for Azure Cosmos DB accounts, and any underlying resources.

Note

Beyond what ships with the Azure CLI, the Azure Cosmos DB team is constantly producing new commands that are available as Azure CLI extensions that can be installed when they are needed. We will focus on core commands that ship with the CLI.

After completing this module, you'll be able to:

  • View arguments, groups, and subgroups for a specific CLI command
  • Create Azure Cosmos DB accounts, databases, and containers using the CLI
  • Manage an indexing policy using the CLI
  • Configure database or container throughput using the CLI
  • Initiate failovers and manage failover regions using the CLI