azure-resource-manager-cosmosdb-dotnet

Provision and manage Azure Cosmos DB resources from .NET using Azure Resource Manager.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/davidrrowley/CortexYouV3 --skill azure-resource-manager-cosmosdb-dotnet-davidrrowley
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-resource-manager-cosmosdb-dotnet
Source: https://github.com/davidrrowley/CortexYouV3/tree/main/.agents/skills/azure-resource-manager-cosmosdb-dotnet
Command: npx skills add https://github.com/davidrrowley/CortexYouV3 --skill azure-resource-manager-cosmosdb-dotnet-davidrrowley

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

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.

Frequently Asked Questions about azure-resource-manager-cosmosdb-dotnet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I provision Azure Cosmos DB resources using .NET and ARM?

Provision Azure Cosmos DB resources in .NET using the Azure.ResourceManager.CosmosDB library to handle management-plane tasks like creating accounts, SQL databases, and containers via Azure Resource Manager operations.

What is needed to authenticate to the Cosmos DB management plane in .NET?

Authenticating to the Cosmos DB management plane in .NET requires the Azure.Identity library and DefaultAzureCredential to authorize ARM operations for resource management.

Can I configure autoscale throughput for Cosmos DB containers using .NET?

Configuring autoscale throughput for Cosmos DB containers is supported in .NET, allowing you to set manual or autoscale throughput and migrate modes for SQL databases and containers via ARM.

How do I handle long-running ARM operations when creating Cosmos DB accounts in .NET?

Handle long-running ARM operations for creating Cosmos DB accounts in .NET by using WaitUntil support within the Azure.ResourceManager.CosmosDB library to manage asynchronous provisioning.

Does this approach separate Cosmos DB management-plane tasks from data-plane operations?

Provisioning Cosmos DB through ARM in .NET intentionally separates management-plane concerns from data-plane operations to automate infrastructure workflows and prevent misconfiguration.

What Cosmos DB resources can I automate creating with .NET ARM templates?

Automate creating multi-region Cosmos DB accounts, SQL databases with shared throughput, containers with partition keys, indexing policies, TTL, stored procedures, triggers, and UDFs using .NET ARM provisioning.