Azure API 管理不适合资源自动化

Your company’s infrastructure includes a number of business units that each need a large number of various Azure resources for everyday operation.
The resources required by each business unit are identical.
You are required to sanction a strategy to create Azure resources automatically.

Solution:

You recommend that the Azure API Management service be included in the strategy.
Does the solution meet the goal?

请提供解释。


可以这样了解 Azure API Management 只能是针对已有的资源来进行管理。

题目的要求是如针对业务的扩张来对资源进行扩充,那么使用 API 管理显然是不能满足条件。

不满足目标。

解释:
Azure API Management 用于发布、保护、监控和治理 API 网关,与自动化创建和编排 Azure 基础资源无关。要为多个业务单元重复且一致地创建相同资源,应采用基础设施即代码(IaC)方案,例如:

  • Azure Resource Manager(ARM) 模板或 Bicep(参数化、一致性部署)
  • Azure Blueprints(在订阅/管理组层面批量分配标准化环境,包含策略与RBAC)
  • 或第三方 IaC 工具(如 Terraform),并通过 Azure DevOps/GitHub Actions 管道执行

因此,推荐使用 ARM/Bicep/Blueprints 等,而不是 API Management。