Langsung ke konten
Skillpedia
Agen48k · #3959

azure-mgmt-mongodbatlas-dotnet

Fungsinya

Alat ini memungkinkan Anda mengelola organisasi MongoDB Atlas sebagai resource Azure. Alat ini mengintegrasikan penagihan MongoDB Atlas dengan Azure Marketplace.

Kapan dipakai

  • ✓Saat menyiapkan akses Azure untuk organisasi MongoDB Atlas Anda.
  • ✓Saat Anda ingin menyatukan penagihan MongoDB Atlas dengan langganan Azure Anda.
  • ✓Untuk mengelola siklus hidup organisasi MongoDB Atlas menggunakan alat Azure.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/azure-mgmt-mongodbatlas-dotnet/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/azure-mgmt-mongodbatlas-dotnet/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Buatkan organisasi MongoDB Atlas bernama 'my-atlas-org' di region 'EastUS2' dengan detail marketplace dan pengguna.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Anda menggunakan kode khusus (SDK) yang terhubung ke Azure. Kode ini memungkinkan Anda membuat, melihat, memperbarui, atau menghapus organisasi MongoDB Atlas, yang diperlakukan seolah-olah sebagai resource Azure.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Azure.ResourceManager.MongoDBAtlas SDK

Manage MongoDB Atlas Organizations as Azure ARM resources with unified billing through Azure Marketplace.

Package Information

Property Value
Package Azure.ResourceManager.MongoDBAtlas
Version 1.0.0 (GA)
API Version 2025-06-01
Resource Type MongoDB.Atlas/organizations
NuGet Azure.ResourceManager.MongoDBAtlas

Installation

dotnet add package Azure.ResourceManager.MongoDBAtlas
dotnet add package Azure.Identity
dotnet add package Azure.ResourceManager

Important Scope Limitation

This SDK manages MongoDB Atlas Organizations as Azure ARM resources for marketplace integration. It does NOT directly manage:

  • Atlas clusters
  • Databases
  • Collections
  • Users/roles

For cluster management, use the MongoDB Atlas API directly after creating the organization.

Authentication

using Azure.Identity;
using Azure.ResourceManager;
using Azure.ResourceManager.MongoDBAtlas;
using Azure.ResourceManager.MongoDBAtlas.Models;

// Create ARM client with DefaultAzureCredential
var credential = new DefaultAzureCredential();
var armClient = new ArmClient(credential);

Core Types

Type Purpose
MongoDBAtlasOrganizationResource ARM resource representing an Atlas organization
MongoDBAtlasOrganizationCollection Collection of organizations in a resource group
MongoDBAtlasOrganizationData Data model for organization resource
MongoDBAtlasOrganizationProperties Organization-specific properties
MongoDBAtlasMarketplaceDetails Azure Marketplace subscription details
MongoDBAtlasOfferDetails Marketplace offer configuration
MongoDBAtlasUserDetails User information for the organization
MongoDBAtlasPartnerProperties MongoDB-specific properties (org name, ID)

Workflows

Get Organization Collection

// Get resource group
var subscription = await armClient.GetDefaultSubscriptionAsync();
var resourceGroup = await subscription.GetResourceGroupAsync("my-resource-group");

// Get organizations collection
MongoDBAtlasOrganizationCollection organizations = 
    resourceGroup.Value.GetMongoDBAtlasOrganizations();

Create Organization

var organizationName = "my-atlas-org";
var location = AzureLocation.EastUS2;

// Build organization data
var organizationData = new MongoDBAtlasOrganizationData(location)
{
    Properties = new MongoDBAtlasOrganizationProperties(
        marketplace: new MongoDBAtlasMarketplaceDetails(
            subscriptionId: "your-azure-subscription-id",
            offerDetails: new MongoDBAtlasOfferDetails(
                publisherId: "mongodb",
                offerId: "mongodb_atlas_azure_native_prod",
                planId: "private_plan",
                planName: "Pay as You Go (Free) (Private)",
                termUnit: "P1M",
                termId: "gmz7xq9ge3py"
            )
        ),
        user: new MongoDBAtlasUserDetails(
            emailAddress: "admin@example.com",
            upn: "admin@example.com"
        )
        {
            FirstName = "Admin",
            LastName = "User"
        }
    )
    {
        PartnerProperties = new MongoDBAtlasPartnerProperties
        {
            OrganizationName = organizationName
        }
    },
    Tags = { ["Environment"] = "Production" }
};

// Create the organization (long-running operation)
var operation = await organizations.CreateOrUpdateAsync(
    WaitUntil.Completed,
    organizationName,
    organizationData
);

MongoDBAtlasOrganizationResource organization = operation.Value;
Console.WriteLine($"Created: {organization.Id}");

Get Existing Organization

// Option 1: From collection
MongoDBAtlasOrganizationResource org = 
    await organizations.GetAsync("my-atlas-org");

// Option 2: From resource identifier
var resourceId = MongoDBAtlasOrganizationResource.CreateResourceIdentifier(
    subscriptionId: "subscription-id",
    resourceGroupName: "my-resource-group",
    organizationName: "my-atlas-org"
);
MongoDBAtlasOrganizationResource org2 = 
    armClient.GetMongoDBAtlasOrganizationResource(resourceId);
await org2.GetAsync(); // Fetch data

List Organizations

// List in resource group
await foreach (var org in organizations.GetAllAsync())
{
    Console.WriteLine($"Org: {org.Data.Name}");

…
Pertanyaan umum

Apa itu 'organisasi MongoDB Atlas'?

Organisasi adalah wadah untuk proyek dan database Anda di MongoDB Atlas, yang memungkinkan Anda mengelola akses dan pengaturan di level yang lebih tinggi.

Apa itu 'resource ARM Azure'?

Resource ARM adalah resource yang Anda kelola di Microsoft Azure, seperti virtual machine, database, dan dalam hal ini organisasi MongoDB Atlas.

Bisakah saya mengelola database dan cluster dengan alat ini?

Tidak, alat ini berfokus pada pengelolaan organisasi MongoDB Atlas utama. Untuk mengelola cluster dan database, Anda perlu menggunakan antarmuka MongoDB Atlas secara langsung.

Detail

Deskripsi asli dari pembuat

Manage MongoDB Atlas Organizations as Azure ARM resources with unified billing through Azure Marketplace.

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#3959
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa