From the course: Azure Serverless Computing

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Demo: Create a function

Demo: Create a function - Azure Tutorial

From the course: Azure Serverless Computing

Start my 1-month free trial

Demo: Create a function

- [Instructor] Now that we have the Function application, now we're gonna add some functions to it. The functions are on the left-hand side. You'll see we don't have any functions yet. By clicking the plus, I can create a new function. The quick start gives us a couple different scenarios we can with and I'm gonna use the Timer function. When you pick the scenario and then pick your language, we'll use JavaScript, we can create the function just by clicking on the button and it goes out and actually provisions a couple different things for us. This is the functioning, editing screen in the portal where if I want to, I can see the code that it generated. Right now, it's just a simple logging function. It logs every time it runs. If I look at the files, I can see that it created the index.js file, as well as a function.json file. The function.json contains the bindings, the trigger and the inputs and outputs, and defines how the function actually operates. Right now, I can see that I've…

Contents