[英]Azure-functions: I cannot choose consumption plan
I was following the steps as described in Publishing a .NET class library as a Function App and for the most part I got everything set up and tested. 我按照发布.NET类库作为Function App中所述的步骤进行操作,并且在大多数情况下,我已完成所有工作并进行了测试。
I have one last pending issue. 我有最后一个未解决的问题。 When I try to publish the app, trying to select an existing "Microsoft Azure App Service" yields no results (on all my subscriptions) even though I have a few existing ones (from previous tests manually created in the portal). 当我尝试发布应用程序时,即使我有一些现有的(根据在门户中手动创建的先前测试),尝试选择现有的“ Microsoft Azure App Service”也不会产生任何结果(在我的所有订阅上)。
On the other hand, if I try to create a new one (from VS) I am not allowed to choose a "Consumption plan", only Bx, Sx and Px. 另一方面,如果尝试从VS创建一个新的计划,则不允许选择“消费计划”,只能选择Bx,Sx和Px。 I tried creating an app service on consumption plan manually in the portal, but I was not offered this option. 我尝试在门户中的消费计划上手动创建应用程序服务,但没有为我提供此选项。
Is "consumption plan" a thing of the past? “消费计划”已经成为过去吗? Or is something wrong with my subscription? 还是我的订阅有问题?
Consumption plan is not a thing of the past. 消费计划已不再是过去。 On the portal, I think you can't create it from "New App Service Plan" dialog. 在门户网站上,我认为您无法从“新应用程序服务计划”对话框中创建它。 Instead, try creating "Function App" and then pick "Consumption Plan" in "Hosting Plan" drop down. 而是尝试创建“ Function App”,然后在“ Hosting Plan”下拉列表中选择“ Consumption Plan”。
As to your issues with Visual Studio - I had that while using Azure SDK which was out of date. 至于您与Visual Studio有关的问题-我在使用Azure SDK时就已经过时了。 So try updating it to a new version. 因此,请尝试将其更新到新版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.