Skills Azure.ResourceManager.ApiManagement (.NET)
📦

Azure.ResourceManager.ApiManagement (.NET)

Safe 🔑 Env variables

Manage Azure API Management with .NET SDK

Developers need to provision and configure Azure API Management services programmatically. This skill provides comprehensive guidance for managing APIM resources using the Azure.ResourceManager.ApiManagement .NET SDK.

Supports: Claude Codex Code(CC)
📊 70 Adequate
1

Download the skill ZIP

2

Upload in Claude

Go to Settings → Capabilities → Skills → Upload skill

3

Toggle on and start using

Test it

Using "Azure.ResourceManager.ApiManagement (.NET)". Request to create an APIM service with Developer SKU

Expected outcome:

Complete C# code using ArmClient with DefaultAzureCredential, ApiManagementServiceData configuration, and CreateOrUpdateAsync with proper wait handling

Using "Azure.ResourceManager.ApiManagement (.NET)". Configure rate limiting for an API

Expected outcome:

XML policy document with rate-limit element specifying 100 calls per 60-second renewal period, properly structured within inbound section

Security Audit

Safe
v1 • 2/25/2026

This skill is documentation-only containing code examples for Azure API Management SDK usage. Static analysis found 0 files with executable code and 0 risk patterns. All code examples demonstrate proper security practices including DefaultAzureCredential for authentication. No security concerns identified.

0
Files scanned
0
Lines analyzed
1
findings
1
Total audits

Risk Factors

🔑 Env variables (1)
Audited by: claude

Quality Score

38
Architecture
100
Maintainability
87
Content
32
Community
100
Security
83
Spec Compliance

What You Can Build

DevOps Engineer Automating APIM Provisioning

Create infrastructure automation scripts to deploy and configure API Management services across multiple environments using CI/CD pipelines.

Backend Developer Publishing APIs

Programmatically register new APIs, configure policies, and manage subscriptions when deploying microservices to Azure.

Platform Team Managing Multi-Tenant APIs

Build tooling to create products, manage access tiers, and automate subscription workflows for internal API consumers.

Try These Prompts

Create a New APIM Service
Create an Azure API Management service in the East US region using the Developer SKU. Include the necessary Azure Resource Manager code with proper authentication using DefaultAzureCredential.
Add API and Configure Product
Add a new API to my existing APIM service and create a product called 'Premium' with subscription required. Show how to associate the API with the product.
Implement Rate Limiting Policy
Create an API policy that implements rate limiting of 100 calls per minute and adds custom headers to requests. Show the complete XML policy structure.
Automated Backup Solution
Build a complete backup automation script that backs up the APIM service configuration to Azure Blob Storage using managed identity. Include error handling and restore capability.

Best Practices

  • Always use DefaultAzureCredential for authentication instead of hardcoding credentials
  • Use WaitUntil.Completed for operations that must finish before proceeding
  • Implement proper error handling for RequestFailedException with status code checks

Avoid

  • Hardcoding subscription IDs, tenant IDs, or client secrets in source code
  • Using WaitUntil.Started for critical operations without tracking completion status
  • Ignoring ARM API error responses instead of implementing proper exception handling

Frequently Asked Questions

What is the difference between management plane and data plane operations?
Management plane (this SDK) creates and configures APIM resources. Data plane makes actual API calls through your APIM gateway endpoint.
How long does it take to create an API Management service?
Developer SKU typically takes 15-30 minutes. Production SKUs may take longer. Use WaitUntil.Started for non-blocking operations.
What authentication methods are supported?
DefaultAzureCredential supports managed identity, environment credentials, CLI credentials, and Visual Studio credentials for flexible authentication.
Can I use this SDK to call my APIs through APIM?
No. This SDK manages APIM configuration. Use HttpClient or similar to call your APIM gateway endpoint for data plane operations.
What SKU should I use for production workloads?
Use Basic, Standard, or Premium SKU for production. Developer SKU has no SLA and is designed for testing only.
How do I handle long-running operations in my code?
Use WaitUntil.Completed for immediate tasks or WaitUntil.Started for long operations. Monitor operation status for async completion.

Developer Details

File structure

📄 SKILL.md