What are azure functions? What is their use?

0 votes
Recently I came across the something called Azure functions. What is their usage? Can I use it for all scenarios of serverless computing?

Can somebody explain briefly?
Jan 10 in Azure by anonymous
• 18,640 points
337 views

1 answer to this question.

0 votes

Azure Functions is a serverless computing service hosted on the Microsoft Azure public cloud. These are designed to accelerate and simplify application development.

Azure Functions which is basically a "Functions-as-a-service" is a solution for easily running small pieces of code, or "functions," in the cloud. You can write just the code you need for the problem, without having to worry about a whole application or the infrastructure to run it. These Azure Functions can make development even more productive, and you can use your development language of choice, such as C#, Java, JavaScript, PowerShell, and Python. You need to pay only for the time your code runs and trust Azure to scale as needed. 

They provide templates that could be used in the following scenarios:

  • HTTPTrigger - Trigger the execution of your code by using an HTTP request. 

  • TimerTrigger - Execute cleanup or other batch tasks on a predefined schedule.

  • CosmosDBTrigger -  Process Azure Cosmos DB documents when they are added or updated in collections in a NoSQL database.

  • QueueTrigger -  Respond to messages as they arrive in an Azure Storage queue.

  • EventGridTrigger - Respond to events delivered to a subscription in Azure Event Grid.

  • EventHubTrigger -  Respond to events delivered to an Azure Event Hub.

  • ServiceBusQueueTrigger - Connect your code to other Azure services or on-premises services by listening to message queues.

  • ServiceBusTopicTrigger - Connect your code to other Azure services or on-premises services by subscribing to topics. 

Azure Functions supports triggers, which are ways to start execution of your code, and bindings, which are ways to simplify coding for input and output data. 
answered Jan 10 by Sirajul
• 58,130 points

Related Questions In Azure

0 votes
0 answers

What is the use of cloud service configuration file (.cscfg) in azure?

What is the use of cloud service ...READ MORE

Sep 30, 2019 in Azure by Pratibha
• 3,690 points
280 views
0 votes
1 answer
0 votes
1 answer

Can I use an appsettings.json file in Azure Functions?

Only environment variables are supported for app ...READ MORE

answered Apr 24, 2019 in Azure by p
• 1,960 points
2,730 views
0 votes
0 answers

What are different cloud implementation methods in Azure?

What are different cloud implementation methods in ...READ MORE

Sep 30, 2019 in Azure by Pratibha
• 3,690 points
66 views
0 votes
1 answer
0 votes
1 answer

How to connect to Azure windows VM?

You'll use the Connect button in the Azure portal ...READ MORE

answered Jan 20 in Azure by Sirajul
• 58,130 points
4,985 views
0 votes
1 answer

How is Azure Cosmos db different from an Azure SQL db?

Azure Cosmos DB is Microsoft’s globally distributed database ...READ MORE

answered Jan 10 in Azure by Sirajul
• 58,130 points
696 views
0 votes
2 answers

What is integration runtime in azure data factory?

IR is like act as brige between ...READ MORE

answered Feb 21 in Azure by yahya sharif
2,054 views
0 votes
1 answer