且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法使用现有功能升级

更新时间:2023-02-26 19:46:25

您是正确的,这只是给您一个提示,无需采取任何行动.

You are right, it's just a tip for you to refer, no action required.

在门户中创建功能应用程序时,默认情况下,该应用程序使用运行时〜1 .

When you create a function app in portal, the app uses the runtime ~1 by default.

在应用程序中创建任何功能之前,允许您在功能应用程序设置面板中更改运行时版本.

Before you create any function in the app, you are allowed to change the runtime version in the function app settings panel.

在那之后,不建议您也不要更改它,因为此面板中的按钮为灰色,并显示警告.因为运行时升级可能会导致代码出错,具体取决于特定的运行时.

After that, it's not recommended and also not allowed to change as the button is grey in this panel, with the warning you see. Because the runtime upgrade may cause error to your code depending on the specific runtime.

如您所见,一旦应用程序中不存在任何功能,警告就会消失,并且能够再次更改运行时间.

And as you see, once no function exists in the app, the warning disappears and is able to change the runtime again.

尽管有现有功能,但应用程序设置面板允许我们在〜1 beta 之间更改 FUNCTIONS_EXTENSION_VERSION (即运行时),但仍要记住运行时开关可能会导致重大更改.

The application settings panel allows us to change FUNCTIONS_EXTENSION_VERSION (i.e. the runtime)between ~1 and beta despite existing functions, but still remember the runtime switch may cause breaking changes.

更新

预览 beta 运行时已经过GA,并且相应的 FUNCTIONS_EXTENSION_VERSION 更改为〜2 ,当我们创建函数应用时,默认运行时已更改也要〜2.

Preview beta runtime has been GA and corresponding FUNCTIONS_EXTENSION_VERSION is changed to ~2, when we create a function app, default runtime is changed to ~2 as well.