100% found this document useful (1 vote)
378 views

Azure Functions Overview

Azure Functions allows you to run small pieces of code in the cloud. Key features include using various programming languages, pay-per-use pricing, bringing custom dependencies, and integrating with Azure and third-party services. Functions can be triggered based on different scenarios and integrate with services for input/output. Functions support both consumption and app service plans, with consumption scaling automatically based on usage and app service running on dedicated VMs. Triggers define function invocation while bindings connect functions to data sources.

Uploaded by

khan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
378 views

Azure Functions Overview

Azure Functions allows you to run small pieces of code in the cloud. Key features include using various programming languages, pay-per-use pricing, bringing custom dependencies, and integrating with Azure and third-party services. Functions can be triggered based on different scenarios and integrate with services for input/output. Functions support both consumption and app service plans, with consumption scaling automatically based on usage and app service running on dedicated VMs. Triggers define function invocation while bindings connect functions to data sources.

Uploaded by

khan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Introduction to Azure Functions

Azure functions and its key features

Choice of Language Write functions using different languages supported


01
such as C#, JavaScript, F#, Java & Python.

Pay per use pricing model Pay for only run time of the function
02

Azure Functions supports NuGet and NPM


03 Bring your own dependencies which enables you to use different libraries in
NuGet and NPM

Protect HTTP triggered functions with


Azure Functions is a 04 Integrated security Azure active directory and different 3rd
service for easily party identity providers
running small pieces of
code or “Functions” in
05 Simplified Integration Easily integrate with popular Azure & 3rd
the cloud.
party services

Use Azure portal or Visual studio to develop code or setup


06 Flexible development continuous integration and deploy through different
development tools such as GitHub, Azure DevOps service etc.

Functions runtime is open source and is


07 Open-Source
available in GitHub
Triggers & Integration

01 Triggers 01

You can trigger Azure functions


based on number scenarios. For
example image processing, file
02 maintenance etc. 02

03 03

04 04
Integration
Azure functions integrate with
several Azure and 3rd Party
services. They can trigger your
05 functions or serve as input and 05
output for your code
Scaling & Hosting
Azure Functions runs in two modes

• Consumption plan

• This is a serverless plan that scales automatically and you are charged for compute resources
only when your functions are running.

• Billing is based on number of executions, execution time, and memory used. Billing is
aggregated across all functions within a function app

• App Service plan

• Your function apps run on dedicated VMs on Basic, Standard, Premium, and Isolated SKUs,
which is the same as other App Service apps.

• Go for it when you have underutilized VMs, function apps that run continuously, code runs for
longer than 10 minutes etc.
Triggers & Bindings
• Trigger - A trigger defines how a function is invoked. A function can have only one trigger. Triggers
have associated data, which is usually the payload that triggered the function.

• Bindings - Input and output bindings provide a declarative way to connect to data from within your
code. Bindings are optional and a function can have multiple input and output bindings.

• Azure portal - Triggers and bindings are configured in a function.json file. The portal provides
a UI for this configuration but you can edit directly.

• Visual studio - You configure triggers and bindings by decorating methods and parameters
with attributes.

You might also like