简体   繁体   English

Azure功能:我无法选择消费计划

[英]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.

相关问题 Azure 功能:定时器触发和消费计划问题 - Azure Functions: timer trigger and consumption plan issue 天蓝色函数中的程序集引用 - Assembly referencing in azure-functions C#:使用计划上的Azure功能中不存在键集 - C#: Keyset does not exist in Azure Functions on consumption plan Azure 消费计划功能是否使用多台服务器? - Does Azure Functions on Consumption Plan utilize multiple servers? 消耗计划中的Azure函数执行会相互干扰 - Azure function executions in consumption plan interfere with eachother 为什么我的 Azure Function 在消耗计划上运行而不是扩展? - Why is my Azure Function running on a Consumption Plan not scaling? GdPicture14 是否可以在使用消耗计划的 Azure 函数中工作? - Can GdPicture14 work within an Azure Function using Consumption Plan? 使用 Microsoft Playwright 在 Azure Function Linux 消费计划中创建本地 PDF 文件 - Creating a local PDF file in Azure Function Linux consumption plan with Microsoft Playwright 消费托管功能在Azure免费订阅上的性能 - Performance of Consumption-hosted Functions on Azure free subscriptions Azure Functions-Node.js和Dot Net Core 2.2内存消耗在回收之前一直在增长 - Azure Functions - nodejs and dot net core 2.2 memory consumption keeps growing until recycled
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM