# 将 API 定义部署到 Azure API Management

使用 API Contracts 公共 API 自动将您的 API 更新到 Azure API Management。

本示例介绍了如何从 API 协定导入新的 API 定义或更新 Azure API Management 中的现有定义。

![CI/CD 管道从 Qlik Talend Cloud 获取 API 定义，然后推送到 Azure API Management 的流程图。](https://help.qlik.com/zh-CN/cloud-services/Subsystems/Hub/Content/Resources/Images/ApiDesigner/azure_api_management.png)

为此，您必须首先从 Qlik Talend Cloud 获取您的 API，然后需要使用命令行脚本或 CI/CD 管道将其部署到 Azure API Management。

以下过程使用 Microsoft PowerShell，但你也可以使用 Azure API Management REST API。

有关详细信息，请参阅以下资源：

* [获取 Azure API 管理的 API 定义](https://help.qlik.com/zh-CN/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/APIDesigner/FetchingApiDefinitionForAzureApiManagement.htm)
* [Azure API 管理文档](https://docs.microsoft.com/en-us/azure/api-management/)
* [Microsoft PowerShell 文档](https://docs.microsoft.com/en-us/powershell/scripting/overview?view=powershell-6)
* [Azure PowerShell API 管理文档](https://docs.microsoft.com/en-us/powershell/module/az.apimanagement/?view=azps-2.4.0#api_management)
* [Azure API Management REST API 参考](https://docs.microsoft.com/en-us/rest/api/apimanagement/)