Azure.ResourceManager.ApiManagement (.NET)
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.
Download the skill ZIP
Upload in Claude
Go to Settings → Capabilities → Skills → Upload skill
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
SafeThis 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.
Risk Factors
🔑 Env variables (1)
Quality Score
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 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 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.
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.
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