简体   繁体   English

是否可以通过ARM模板将API导入Azure API Management?

[英]Is it possible to import an API into Azure API Management through ARM templates?

I know I can create an Azure API Management instance using Azure Resource Management templates , but can I also import my API into it using the same templates? 我知道我可以使用Azure资源管理模板创建Azure API管理实例,但我是否可以使用相同的模板将API导入其中?

The web app which provides the API is created in a previous step using the ARM templates, and the URL for the Swagger definition is known. 提供API的Web应用程序是使用ARM模板在上一步中创建的,并且已知Swagger定义的URL。 It would make a lot of sense to also automate the import. 同样自动化导入也很有意义。

It is available now. 它现在可用 See Api Reference . 请参见Api参考

{
  "properties": {
    "format": "swagger-link-json",
    "value": "http://petstore.swagger.io/v2/swagger.json",
    "path": "petstore"
  }
}

It is not supported yet, but it's in the backlog. 它尚未得到支持,但它在积压中。 I don't have a date to share at this point. 我此时没有分享日期。

I'd like to add that this way of importing doesn't support versioned API's yet. 我想补充一点,这种导入方式还不支持版本化的API。 To get this working you need to first run an ARM template to create a versioned API and next the ARM template containing the import. 要实现此功能,您需要首先运行ARM模板以创建版本化API,然后再运行包含导入的ARM模板。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure API管理架构ARM模板导入错误 - Azure API Management Schema ARM Template import error Azure ARM模板和REST API - Azure ARM Templates and REST API 使用Azure API管理中的链接导入API - Import an API using the link in Azure API Management Is it possible to add custom domain in Azure Api Management through Azure rest api or azure cli - Is it possible to add custom domain in Azure Api Management through Azure rest api or azure cli 在Azure API管理中获取特定API的ARM模板 - Get ARM template for a specific API in Azure API Management REST API:使用REST API列出所有Azure ARM模板 - REST API : List all Azure ARM Templates using REST API 从昂首阔步的Azure Api管理导入API - Azure Api Management import APIs from swagger Azure API管理ARM模板:skuproperties不能为null - Azure API Management ARM template: skuproperties cannot be null Azure APi 管理 多个 ARM 模板中的拆分模式定义 - Azure APi Management Split schema definition in multiple ARM template Is it possible to pass through a backend url endpoint that is relative to that url through an Azure Function Proxy or perhaps api management - Is it possible to pass through a backend url endpoint that is relative to that url through an Azure Function Proxy or perhaps api management
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM