将OpenAPI导入现有APIM中的现有API时是否存在停机时间? [英] Any downtime when importing OpenAPI to an existing API in an existing APIM?

查看:73
本文介绍了将OpenAPI导入现有APIM中的现有API时是否存在停机时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用了找到的脚本
here
作为脚本导入OpenAPI文件的基础。 根据文件的有效负载,文件可能会也可能不会更新,删除,创建新的端点。 

I used the script found here as a basis for a script to import OpenAPI files.  The files may or may not update, delete, create new endpoints depending on the payload of the file. 

我的问题是,此方法是否"安全"。  "系统安全QUOT;因为它允许我在没有任何停机或消费者并发症的情况下对实时APIM进行更改?

My question is, is this method "safe".  "Safe" as in will it allow me to make changes to a live APIM without any downtime or complications to the consumer?

我知道通过ARM模板*导入API是*"安全"的。在这种情况下。

I understand that importing the API via the ARM template *is* "safe" in this context.

非常感谢提前

推荐答案

推荐的方法是使用修订版进行不间断的更改。 

The recommended way is to use revisions to make non-breaking changes. 

最终有助于对API进行更改,同时不会破坏API的来电者。

It eventually helps to make changes to that API and at the same time not disrupt callers of your API.

按照以下步骤操作: 

Follow the below steps : 

添加新版本

对您的版本进行不间断更改

修订版当前 

Add a new revision
Make non-breaking changes to your revision
Make your revision current 

有关详细信息,请参阅以下文档。 

For more detailed information follow the below documentation. 

https://docs.microsoft.com/en-us/azure/api-management/api-management-get- started-revise-api


这篇关于将OpenAPI导入现有APIM中的现有API时是否存在停机时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆