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, 2020 in Azure by anonymous
• 19,610 points
2,016 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. 

Hope this helps!

Go for the Azure architect certification here.

Thanks!

answered Jan 10, 2020 by Sirajul
• 59,230 points

edited Jun 27, 2023 by Khan Sarfaraz

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
1,165 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 Prerna
• 1,960 points
4,970 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
602 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 21, 2020 in Azure by Sirajul
• 59,230 points
25,751 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, 2020 in Azure by Sirajul
• 59,230 points
2,087 views
0 votes
2 answers

What is integration runtime in azure data factory?

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

answered Feb 22, 2020 in Azure by yahya sharif
6,322 views
0 votes
1 answer

What is Azure Cloud Service?

Azure Cloud Services is an example of ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,230 points

edited Jun 21, 2023 by Khan Sarfaraz 1,100 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP