What problem does it solve?
Streamlines provisioning and operational management of Azure Cosmos DB resources from .NET so engineers can avoid manual portal work, prevent misconfiguration, and automate repeatable infrastructure workflows while keeping management-plane concerns separate from data-plane operations.
Core Features & Use Cases
- Account lifecycle management: Create, update, list, failover, and delete Cosmos DB accounts with location and backup policies.
- SQL database and container orchestration: Create SQL databases, containers with partition keys, indexing policies, TTL, stored procedures, triggers, and UDFs.
- Throughput, networking, and keys: Configure manual or autoscale throughput, migrate throughput modes, manage networking (IP rules, VNet), and obtain/regenerate keys and connection strings for downstream use.
- Use case: Automate provisioning of a multi-region Cosmos DB account with autoscale throughput, create a database with shared throughput and a set of containers with appropriate partition keys, and expose connection information securely to application deployment pipelines.
Quick Start
Create a Cosmos DB account named my-cosmos-account in resource group my-resource-group with the SQL API, then create a database my-database and a container my-container using DefaultAzureCredential for authentication.