From the course: Streaming IoT Data with Azure Serverless and AI
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Options for deploying a function from VS Code - Azure Tutorial
From the course: Streaming IoT Data with Azure Serverless and AI
Options for deploying a function from VS Code
- [Instructor] Once we've debugged and verified our triggers working, let's deploy it to Azure. Inside of VS Code, there's a couple different ways we can do that. One is to use the Azure extension. If I open up the Azure extension, you'll see that I've got the workspace where I can see the functions and I can click on the function app and say Deploy to Azure. I could also go up to the resources, find the specific function and deploy it that way. This works pretty well. Another way I can is by creating a script and then I can have more control over where things get deployed. And I want to put this into particular resource group and I want to create a new function for that. To do this, I created a short deploy script in PowerShell that I have some variables I've set for the function name, the resource group, the storage, and the event hub connection string. The event hub connection string comes from the policies that we set up for that function. If I take a look at my event hub and go…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
Introducing function apps4m 34s
-
(Locked)
Create a function app3m 20s
-
(Locked)
Working with triggers5m 36s
-
(Locked)
Manage and monitor functions1m 12s
-
(Locked)
Logging in functions2m 7s
-
(Locked)
Working with Application Insights3m 26s
-
(Locked)
Working with Kudu2m 52s
-
(Locked)
Visual Studio function project2m 38s
-
(Locked)
Create a function with Visual Studio3m 23s
-
(Locked)
Deploy function from Visual Studio2m 55s
-
(Locked)
VS Code function project2m 22s
-
(Locked)
Create a function with VS Code8m 6s
-
(Locked)
Options for deploying a function from VS Code3m 17s
-
(Locked)
-
-