azure-resource-manager-cosmosdb-dotnet

Automate Azure Cosmos DB provisioning via the Azure Resource Manager SDK for .NET.

2.9k|323|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/microsoft/skills --skill azure-resource-manager-cosmosdb-dotnet-microsoft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-resource-manager-cosmosdb-dotnet
Source: https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-dotnet/skills/azure-resource-manager-cosmosdb-dotnet
Command: npx skills add https://github.com/microsoft/skills --skill azure-resource-manager-cosmosdb-dotnet-microsoft

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provisioning and managing Cosmos DB resources manually is error-prone and slow; this skill automates ARM-based resource management for Cosmos DB using the .NET SDK.

Core Features & Use Cases

  • Create, update, and configure Cosmos DB accounts, databases, containers, and throughput via Azure Resource Manager
  • Manage RBAC, networking, backups, and failover configurations programmatically
  • Retrieve keys and connection strings for secure integration with applications across subscriptions and resource groups
  • Integrate into CI/CD pipelines to provision consistent Cosmos DB environments and enforce governance

Quick Start

Install the Azure.ResourceManager.CosmosDB NuGet package and begin provisioning Cosmos DB resources through the ARM SDK for .NET.

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 Cosmos DB resources programmatically using .NET?

The .NET ARM SDK provisions Cosmos DB resources by automating the creation of accounts, databases, and containers through idempotent CreateOrUpdate workflows. It handles infrastructure automation by managing Azure Cosmos DB resources directly via code.

Can I configure Cosmos DB RBAC and networking using the Azure Resource Manager SDK for .NET?

The Azure Resource Manager SDK for .NET configures Cosmos DB RBAC and networking by managing role-based access control, networking rules, backups, and failover configurations programmatically across subscriptions and resource groups.

What is the best way to retrieve Cosmos DB connection strings securely in a .NET application?

The .NET ARM SDK retrieves Cosmos DB connection strings securely using DefaultAzureCredential for credential-safe authentication, fetching access keys and connection strings for secure integration across applications.

Does the Azure Cosmos DB .NET ARM SDK support CI/CD pipeline integration for infrastructure as code?

The Azure Cosmos DB .NET ARM SDK supports CI/CD pipeline integration for infrastructure as code by provisioning consistent Cosmos DB environments and enforcing governance through automated ARM-based resource management within deployment pipelines.

How do I manage Cosmos DB throughput settings across subscriptions with .NET?

You manage Cosmos DB throughput settings across subscriptions using the .NET ARM SDK to programmatically configure throughput on databases and containers, performing hierarchical resource operations across various subscriptions and resource groups.