Skip to Content
Serverless computing in Azure with .NET
book

Serverless computing in Azure with .NET

by Sasha Rosenbaum
August 2017
Intermediate to advanced
468 pages
12h 5m
English
Packt Publishing
Content preview from Serverless computing in Azure with .NET

Output binding

Output binding defines the output of your function. Serverless function outputs are most commonly defined by calls to external APIs. As the function execution is triggered asynchronously, the output should not be returned directly to the service that triggered the function. The output must be submitted to another API to trigger a new event, or store data in some form of persistent data store.

All output bindings will have the settings of name, type, and direction, with direction value set to out. The rest of the settings depend on the binding type. Certain types of bindings are available as output only.

As an example, we will use an output-only binding to the Twilio SMS API as shown in the following code snippet from function.json ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Azure Serverless Computing

Mastering Azure Serverless Computing

Lorenzo Barbieri, Massimo Bonanni
Implementing Azure: Putting Modern DevOps to Use

Implementing Azure: Putting Modern DevOps to Use

Florian Klaffenbach, Oliver Michalski, Markus Klein, Mohamed Wali

Publisher Resources

ISBN: 9781787288393Supplemental Content