AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

azure-aigateway

Configure Azure API Management as an AI Gateway for AI models, MCP tools, and agents. WHEN: semantic caching, token limit, content safety, load balancing, AI model governance, MCP rate limiting, jailbreak detection, add Azure OpenAI backend, add AI Foundry model, test AI gateway, LLM policies, configure AI backend, token metrics, AI cost control, convert API to MCP, import OpenAPI to gateway.

Original source
microsoft
License
MIT
Pinned revision
3f5b461b2314e01c400564051e92469114c5b68f

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read microsoft--azure-aigateway at revision 3f5b461b2314e01c400564051e92469114c5b68f, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 9

references/sdk/azure-mgmt-apimanagement-py.md

API Management — Python SDK Quick Reference

Condensed from azure-mgmt-apimanagement-py. Full patterns (APIs, products, subscriptions, policies, backends, named values) in the azure-mgmt-apimanagement-py plugin skill if installed.

Install

pip install azure-mgmt-apimanagement azure-identity

Quick Start

Auth: DefaultAzureCredential is for local development. See auth-best-practices.md for production patterns.

import os
from azure.mgmt.apimanagement import ApiManagementClient
from azure.identity import DefaultAzureCredential
client = ApiManagementClient(DefaultAzureCredential(), os.environ["AZURE_SUBSCRIPTION_ID"])

Best Practices

  • Use named values for secrets and configuration
  • Apply policies at appropriate scopes (global, product, API, operation)
  • Use products to bundle APIs and manage access
  • Enable Application Insights for monitoring
  • Use backends to abstract backend services
  • Version your APIs using APIM's versioning features