LaunchKit · 2026

Setup & Installation

npx skills add https://github.com/microsoft/skills --skill azure-resource-manager-cosmosdb-dotnet
or paste the link and ask your coding assistant to install it
https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-dotnet/skills/azure-resource-manager-cosmosdb-dotnet
View on GitHub

What This Skill Does

Azure.ResourceManager.CosmosDB is the .NET SDK for Cosmos DB management plane operations via Azure Resource Manager. Use it to provision accounts, create SQL databases and containers, configure throughput, and manage RBAC. For document-level operations, use Microsoft.Azure.Cosmos instead.

It exposes the full ARM resource hierarchy in typed .NET objects, so you can script account creation, throughput changes, and RBAC without writing raw REST calls or maintaining ARM JSON templates.

When to use it

  • Provisioning a new Cosmos DB account in a specific Azure region
  • Creating SQL containers with custom partition keys and indexing policies
  • Switching a database from manual to autoscale throughput
  • Retrieving connection strings and primary keys for a Cosmos DB account
  • Setting up multi-region failover configuration for an existing account