An Azure service that provides a hybrid, multi-cloud management platform for APIs.
Hi,
Inbound private endpoint plus outbound VNet integration is a valid isolation pattern, but it is not the same thing as VNet injection. The difference is where the API Management gateway itself lives, and therefore what you can control with subnet/NSG rules.
Microsoft’s comparison is here: Azure API Management with an Azure virtual network.
The three models
| Model | What it secures | Where the gateway lives | Typical tiers |
|---|---|---|---|
| Inbound private endpoint | Inbound client traffic only | The service stays a platform-managed (public) resource; clients can reach it privately over Private Link | Developer, Basic, Standard, Standard v2, Premium, Premium v2 |
| VNet integration (outbound) | Outbound calls from the gateway to backends in a connected/peered VNet | Gateway, management plane, and developer portal remain publicly accessible unless you also add a private endpoint and disable public access | Standard v2, Premium v2 |
| VNet injection | Inbound and outbound — the instance is deployed into a subnet you control | Gateway (and, in classic tiers, other components) gets a private IP in your VNet | Classic Developer/Premium (external or internal mode); Premium v2 (gateway only) |
Private endpoint docs also state clearly that a private endpoint is inbound only, and that you can combine an inbound private endpoint on a v2 instance with outbound VNet integration for end-to-end isolation: Connect privately to API Management using an inbound private endpoint, Integrate API Management with a private virtual network for outbound connections.
Why injection still exists (and when it is the better choice)
Injection is still the right model when you need the gateway to be a VNet-native resource:
- Internal-only gateway IP in your subnet (classic internal mode, or Premium v2 injection). Clients talk to a private IP you own, not only to a Private Link NIC in front of a platform service.
- NSGs, UDRs, and forced tunneling apply to both inbound and outbound traffic on the APIM subnet. With VNet integration, Microsoft documents that inbound NSG rules do not apply to the gateway in the same way; integration is an outbound pattern.
- Classic Premium external/internal injection also covers the developer portal, management plane, and Git endpoint in the VNet — not just the gateway. Premium v2 injection currently isolates the gateway only.
- Fronting APIM with Application Gateway / a WAF in an internal VNet is the documented pattern for “private APIM + controlled public entry.” That design assumes injection in internal mode: Deploy API Management in an internal VNet with Application Gateway.
- Some organizations require the entire data path, including APIM-to-backend and management traffic, to stay on ExpressRoute / a non-internet-routable network. Injection was built for that.
How to choose
- Need private client → APIM and private APIM → backend, and you are on Standard v2 or Premium v2, and you are comfortable with APIM remaining a platform service plus Private Link: private endpoint + outbound VNet integration is usually simpler and is a documented combination.
- Need APIM itself to sit in your subnet, with NSGs/UDRs on both directions, an internal load balancer IP, classic full-component isolation, or App Gateway in front of an internal instance: VNet injection.
- Public APIM, but backends are in a VNet: outbound VNet integration alone is enough.
If you share the tier (classic Premium vs Premium v2 vs Standard v2) and whether the developer portal / management plane must also be private, the choice usually becomes obvious.