When you create a function app, it must be linked to a storage account. You can select an existing account or create a new one. The function app uses this storage account for internal operations such as logging function executions and managing execution triggers (except HTTP triggers) .
On the Consumption service plan, this is also where the function code and configuration file are stored.
A trigger is a special type of input binding that has the additional capability of initiating execution.
Azure Function V1 supports multiple language functions in one app whereas v2 supports only same language.
7. Can we track Azure Function run history?
- Out of box, there is no such provision.
Azure Functions are stateless, if state is to be maintained then it can be done using some storage options.
8. I need to integrate Function app with organization's virtual network, but I don't see the option?
- If azure function app's hosting plan is Consumption then it can't be integrated as it does not support.
As in consumption plan, the underlying servers which is used to host and execute the functions in the function app, keeps changing as per the load.
Thus there is no fixed set of IP addresses - so can't be integrated with virtual network.
9. Why is Azure Function Apps referred as serverless?
- Azure function App with Consumption plan is referred to as Serverless offering.
In consumption plan, no infrastructure is reserved, rather it is added and removed on demand basis. (It is abstracted from users)
As there no fixed Servers, it is termed as Serverless and is charged on usage basis.
10. How does scaling happens in Azure Function App (Consumption Plan)?
- Scaling (In/Out) for Azure function happens at Azure Function App level.
Additional instances or reducing instances of the Functions host, are based on the number of incoming trigger events.
It is done by a component called the scale controller which monitors the rate of events and determine whether to scale out or scale in. The scale controller uses specific probing for each trigger type.
11. What are the options available for Azure Functions development?
- Azure functions can be developed using Azure portal and also locally with the help of adding extensions in the supported IDE like Visual Studio, Visual Studio Code.
Read about Developing Azure Function using Portal
Read about Developing Azure Function using Visual Studio
12. How many versions of Azure runtime is available?
- By default, function apps are created in version 4.x of the runtime as it is the latest however there are four major versions: 4.x, 3.x, 2.x, and 1.x.
- anonymous: anyone can access, no key is required
- function: a function-specific or a host key is required, these key apply only to the specific functions under which it is defined
- admin: the master key is required, access to all functions within the function app and administrative access to the runtime REST APIs
Knowledge Sharing is Caring !!!!!!