Habilidades azure-mgmt-mongodbatlas-dotnet
📦

azure-mgmt-mongodbatlas-dotnet

Seguro

管理 Azure 上的 MongoDB Atlas

此技能提供使用 Azure .NET SDK 将 MongoDB Atlas 组织作为 Azure ARM 资源进行管理的文档和代码示例。它使开发人员能够将 MongoDB Atlas 与 Azure Marketplace 集成,实现统一计费。

Suporta: Claude Codex Code(CC)
📊 71 Adequado
1

Baixar o ZIP da skill

2

Upload no Claude

Vá em Configurações → Capacidades → Skills → Upload skill

3

Ative e comece a usar

Testar

A utilizar "azure-mgmt-mongodbatlas-dotnet". 如何创建带有 Marketplace 详情的 MongoDB Atlas 组织?

Resultado esperado:

您需要创建包含位置、Marketplace 详细信息和用户信息的 MongoDBAtlasOrganizationData。使用 DefaultAzureCredential 进行身份验证,然后在组织集合上调用 CreateOrUpdateAsync。

A utilizar "azure-mgmt-mongodbatlas-dotnet". 支持哪些身份验证方法?

Resultado esperado:

SDK 使用 Azure.Identity 进行身份验证。推荐使用 DefaultAzureCredential 进行本地开发。对于生产环境,请使用 ManagedIdentityCredential 或 ServicePrincipalCredential。

A utilizar "azure-mgmt-mongodbatlas-dotnet". Marketplace 订阅需要哪些属性?

Resultado esperado:

您需要来自 Azure Marketplace 订阅的 SubscriptionId、PublisherId(通常为 'mongodb')、OfferId、PlanId、PlanName、TermUnit(如 'P1M')和 TermId。

Auditoria de Segurança

Seguro
v1 • 2/25/2026

This skill contains only documentation in SKILL.md. The static analyzer flagged 101 potential issues (external_commands, network, weak crypto) but all are false positives. The backticks detected are markdown code formatting, URLs are legitimate documentation links, and the weak crypto patterns are triggered by table cells in markdown. No executable code exists in this skill.

1
Arquivos analisados
360
Linhas analisadas
0
achados
1
Total de auditorias
Nenhum problema de segurança encontrado
Auditado por: claude

Pontuação de qualidade

38
Arquitetura
100
Manutenibilidade
87
Conteúdo
22
Comunidade
100
Segurança
100
Conformidade com especificações

O Que Você Pode Construir

将 MongoDB Atlas 与 Azure 计费集成

通过 Azure Marketplace 设置 MongoDB Atlas 组织,实现统一计费和资源管理。

自动化组织配置

以编程方式创建和管理 MongoDB Atlas 组织,作为基础设施即代码工作流的一部分。

构建 Azure-MongoDB 集成工具

开发自定义工具,将 MongoDB Atlas 资源与其他 Azure 服务一起管理。

Tente Estes Prompts

基本组织创建
展示如何使用 Azure.ResourceManager.MongoDBAtlas SDK 和 DefaultAzureCredential 创建 MongoDB Atlas 组织。
列出组织
如何使用 Azure .NET SDK 列出订阅中的所有 MongoDB Atlas 组织?
更新组织标签
编写代码使用 Azure SDK 在 MongoDBAtlasOrganizationResource 上添加和删除标签。
处理长时间运行的操作
展示使用 WaitUntil.Started 处理 CreateOrUpdateAsync 并轮询完成状态的正确方法。

Melhores Práticas

  • 对所有 SDK 操作使用异步方法以确保适当的可扩展性
  • 在对创建的资源执行操作之前始终检查 ProvisioningState
  • 使用 ResourceIdentifiers 创建资源句柄而无需进行 API 调用
  • 使用 WaitUntil.Completed 处理长时间运行的操作或实现轮询

Evitar

  • 不要使用此 SDK 直接管理 Atlas 集群 - 请使用 MongoDB Atlas API
  • 避免硬编码凭据 - 使用 Azure.Identity 凭据链
  • 在创建/更新操作后不要忽略配置状态检查

Perguntas Frequentes

此 SDK 的用途是什么?
此 SDK 将 MongoDB Atlas 组织作为 Azure ARM 资源进行管理,通过 Azure Marketplace 实现统一计费。它不直接管理集群。
如何进行身份验证?
使用 Azure.Identity。推荐在大多数场景中使用 DefaultAzureCredential。SDK 支持在生产环境中使用 ManagedIdentityCredential 和 ServicePrincipalCredential。
我可以使用此 SDK 管理 Atlas 集群吗?
不可以。此 SDK 仅将 Atlas 组织作为 ARM 资源进行管理。请使用 MongoDB Atlas API 进行集群、数据库和集合管理。
我需要什么 Azure 权限?
您需要资源组的 Contributor 或 Owner 角色,以及对订阅的 Azure Marketplace Offer 的访问权限。
Azure Marketplace 计费如何工作?
SDK 在组织创建期间配置 Marketplace 订阅详情。计费根据您的 Azure 订阅和 Offer 详情进行处理。
API 版本是什么?
此 SDK 对 MongoDB.Atlas/organizations 资源类型使用 API 版本 2025-06-01。

Detalhes do Desenvolvedor

Estrutura de arquivos

📄 SKILL.md