简体   繁体   中英

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.

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).

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. 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.

As to your issues with Visual Studio - I had that while using Azure SDK which was out of date. So try updating it to a new version.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM