Skip to content

Add APIM Developer SKU deployment with VNet injection and peering#607

Closed
duongthaiha wants to merge 1 commit intomicrosoft-foundry:mainfrom
duongthaiha:feature/apim-vnet-injection-deployment
Closed

Add APIM Developer SKU deployment with VNet injection and peering#607
duongthaiha wants to merge 1 commit intomicrosoft-foundry:mainfrom
duongthaiha:feature/apim-vnet-injection-deployment

Conversation

@duongthaiha
Copy link

Summary

Adds a new Bicep template (deploy-apim.bicep) for deploying Azure API Management (Developer SKU) with internal VNet injection in a separate VNet, with bidirectional peering to the existing Agent VNet.

Closes #606

Changes

  • deploy-apim.bicep - New template that creates:
    • A separate VNet (10.0.0.0/16) with NSG for APIM
    • APIM Developer SKU with internal VNet injection
    • Bidirectional VNet peering between APIM VNet and Agent VNet
  • modules-network-secured/agent-to-apim-peering.bicep - New module for cross-scope VNet peering from Agent VNet to APIM VNet
  • README.md - Added Deploy APIM with VNet Injection section with parameter table, deployment guide, and architecture docs

How to use

  1. Deploy the agent environment first using main.bicep
  2. Deploy APIM using deploy-apim.bicep
  3. Retrieve the APIM resource ID from deployment outputs
  4. Redeploy main.bicep with the apiManagementResourceId parameter set

- Add deploy-apim.bicep: Creates APIM Developer SKU with internal VNet
  injection in a separate VNet, with NSG rules and bidirectional VNet
  peering to the existing Agent VNet
- Add agent-to-apim-peering.bicep module: Handles cross-scope peering
  from Agent VNet to APIM VNet
- Update README.md: Add APIM deployment instructions including
  parameters table, 3-step deployment guide, module structure, and
  network architecture documentation

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link

👋 Thanks for your interest in contributing, @duongthaiha!

This repository does not accept pull requests directly. If you'd like to report a bug, suggest an improvement, or propose a new sample, please open an issue instead.

See CONTRIBUTING.md for more details.

@github-actions github-actions bot closed this Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add APIM Developer SKU deployment template with VNet injection for network-secured agent setup

1 participant