Monday, August 10, 2020

Azure Functions: Consumption Plan Custom Naming

This is a quick post on how you can give a proper name for Azure Functions' App Service Plan when Plan Type is Consumption (Serverless)

As of today when you are creating an Azure Function and if you select the Plan Type as Consumption (Serverless), you aren't allowed to give your own name for the App Service Plan.

Plan Type
And you will end up with something like below.
Plan Name

I am not a huge fan of these type of random names, I always prefer names following whatever the convention we are using to name (I am following this where ever possible: Recommended naming and tagging conventions).

So let's see how can we change the name.

Review + create
From the Review + create step, there is an option to Download the template for automation. You can click on it and then the Template will be displayed for download.