From the course: Azure Automation and Optimization Essentials

Unlock this course with a free trial

Join today to access over 25,600 courses taught by industry experts.

Creating and invoking a function

Creating and invoking a function

- [Instructor] Now that our function app is running, it's time to create and invoke the first function. I'm logged into the Azure Portal in my browser and we're on the home screen. In the top search bar, search for function, and then open the function app service, followed by opening the function we created in the previous video. On the overview page, we find different options for creating a function. Let's click Create Function to create our first function. The templates make it easy to get started. Let's choose the HTTP trigger template and let's click Next. If we want, we can change the name of the function. Let's keep HTTPS trigger one. The authorization level controls whether the function requires an API key for the invocation and which key to use. Function uses a function key. Admin uses the master key. And anonymous doesn't require a key. Let's choose admin and let's click Create. We're now in the editor, working with the code and testing the function. As you can see here on…

Contents