Book Image

Robust Cloud Integration with Azure

By : Gyanendra Kumar Gautam, Ashish Bhambhani, Abhishek Kumar, James Corbould, Mahindra Morar, Martin Abbott
Book Image

Robust Cloud Integration with Azure

By: Gyanendra Kumar Gautam, Ashish Bhambhani, Abhishek Kumar, James Corbould, Mahindra Morar, Martin Abbott

Overview of this book

Any software developers, architects, and technical managers lookng to learn about Azure IaaS essentials need look no further. This book is ideal for Microsoft Enterprise developers, DevOps or any IT professionals looking to connect cloud-based and on-premises systems with Azure.
Table of Contents (23 chapters)
Robust Cloud Integration with Azure
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface

Using functions with Logic Apps


Up to this point, we have been discussing how to create and use functions within a Function App for general use cases when serverless computation is required or when we wish to create an event-driven solution.

Functions can also be called directly from a Logic App. While it is possible to use the event-driven nature of functions to create a highly decoupled and scalable solution, using functions directly called within a Logic App provides a mechanism to add simple business logic that cannot be achieved through the standard functionality available within Logic Apps.

This introduces the Logic Apps equivalent of lambda expressions, which are essentially anonymous functions that are invoked only when required (https://msdn.microsoft.com/en-us/library/bb397687.aspx).

Calling functions directly

How to create a Logic App has been discussed previously, so for the purpose of this scenario, we will assume that one has already been created using the Blank Logic App template...