Instead, you have to create a class and then add functionality that allows the class to act as a function. For example, Visual Studio 2017 does not have the ability to create Functions. Functions are fairly new in terms of the overall Azure stack. Azure Functions CLIĪzure Functions are an element of Microsoft's push toward serverless computing, and specifically microservices. As a matter of fact, Microsoft does have support for PowerShell, but I am not too familiar with this product. If you are familiar with using Microsoft's PowerShell, then you will be very comfortable working with the Azure CLI. Of course, that process is not bad, but if you compare it to the following command, using the portal is downright onerous:Īz vm create -n MyLinuxVM -g MyResourceGroup -image UbuntuLTS -data-disk-sizes-gb 10 20 For example, if you want to create a new virtual machine in Azure, you need to login to the portal, select the virtual machine type, select various options in different screens, and then finally create the VM.
While the portal is very handy, there are a lot of clicks involved to get what you want. As you can see in the following image, the portal is a robust solution for creating and managing virtual machines, functions, databases, app services, and much more. If you are managing Azure, you can certainly do almost anything you want via the Azure portal. Of course, your app may be widely available to anyone in the world or it could be secured so only people in your company can run it. You can use Azure to build databases and applications in the cloud.
What is Azure CLI?Īzure is the umbrella name for all of Microsoft's cloud computing services.
Fast forward to 09:20:00 to watch how to install the Azure Functions CLI. Note: The first portion of the video covers installing the Azure CLI.