Besides the tier, Microsoft charges for other Azure resources that work with API Management, such as virtual networks, availability zones, and write operations in multiple regions. Depending on the tier, costs also depend on the number of self-hosted gateways and workspace gateways. Requests that a policy rejects also count toward rate limits, quotas, and billing limits, provided the tier applies such limits.
In its overview “What is Azure API Management?”, Microsoft describes the service as a hybrid multi-cloud platform for APIs that supports the entire lifecycle of an API as platform as a service. Azure splits the general building blocks of API management into three components, each with its own audience. Client calls run through the gateway, API providers use the management plane, and the users of their APIs use the developer portal.
API gateway as a facade
All requests from client applications reach the API gateway first (also called the data plane or runtime at Microsoft) and go from there to the backend services. Because clients see only the gateway, providers can evolve the architecture behind it without affecting the users of the API. According to Microsoft, the gateway handles six tasks:
- Accept API calls and forward them to the right backend
- Check API keys, JSON Web Tokens (JWT, signed proofs of access), and certificates
- Enforce usage quotas and rate limits
- Transform requests and responses according to policies
- Cache responses when configured to do so
- Emit logs, metrics, and traces for monitoring
Every API in Azure API Management points to the backend service that implements it, and its operations map to the operations of that service. Data processing stays in the backend. When many systems stand behind a gateway, API management with backend integration therefore also covers connecting them.
Management plane
Through the management plane, which Microsoft also calls the control plane, API providers configure the service interactively in the Azure portal or programmatically, for example with the Azure CLI or through a REST API. There, teams define API schemas or import them from description formats such as OpenAPI and WSDL, which capture the operations and data structures of an interface in machine-readable form. On the same plane, they bundle APIs into products, set up policies, evaluate analytics, and manage user accounts.
Developer portal
The developer portal is an automatically generated website with the documentation of the APIs, which providers can customize with their own content and branding. Users test calls there in an interactive console, create an account, and receive their API keys after subscribing. Users can also view analytics on their own usage and download API definitions. The Consumption tier has no portal.
Products, subscriptions, and groups control access
Products bundle APIs. A protected product requires a subscription key, while an open one can be used freely. Whether a subscription applies automatically or needs approval is set per product.
A product becomes visible through groups, meaning the built-in groups “Developers” and “Guests”, custom groups, or groups from Microsoft Entra ID, the Microsoft directory service. A custom group for a partner organization thus gets access to a subset of the APIs, which is how the access models of APIs can be mapped technically for partners.
