Loading, please wait...

A to Z Full Forms and Acronyms

What is Azure Command-Line Interface (CLI)?

Jul 25, 2019 Azure, Azure CLI, 1997 Views
In this article, we have to learn the overview of Microsoft Azure CLI.
  1. Prerequisite Knowledge

Before we start with the understanding of Azure CLI, we should know –

  • Basic knowledge of cloud computing and its services
  • Basic knowledge of Microsoft Azure
  • Resource – Every object/item inside the Azure like a web app, logic app, azure functions, etc. in the Azure are considered as a resource.
  • Resource Group – Resources are logically grouped under the resource group. Meaning, every resource should have a resource group.
  • Resource Provider – Every resource in the Microsoft Azure is supplied through the Azure provider.
  • Resource Manager Template – It is a template consists of declarative syntax JSON This template consists of the defines resource(s) to deploy under resource group or subscription. This template can be reused.

 

  1. Introduction
  • Azure resources are grouped in the resource group.
  • We need to manage these resources in inefficient practices.
  • There are multiple ways to manage the resource hosted within the Azure like suing Azure portal, cloud shell, Power Shell, etc.
  • The Azure command-line interface (CLI) is Microsoft's cross-platform command-line experience for managing Azure resources.
  • We can manage the resources present on different platforms like macOS, Linux, and Windows.
  • We can easily start the learning of the command line by running the Azure cloud shell. Azure cloud shell is browser-based command-line tool hence don’t require any additional installation to execute the commands.

 

 

  • It has few benefits over PowerShell commands as it is quickly installed on multiple platforms.
  • Commands in the Azure CLI are grouped in command group like virtual machine comes under group ‘az vm’, similar to resource group comes under group ‘az group’, for Cosmos DB it is ‘az cosmosdb’ etc.
  • To create a resource group named as ‘myTutorialslinkResourceGroup’ type and execute the command as -
az group create --name myTutorialslinkResourceGroup --location eastus

 

  1. Azure CLI Help - Get help in Azure CLI type command as ‘az help’ in the cloud shell.

 

 

  1. What next? – Start learning the common commands and execute it - link

 

  1. Reference Links

 

Conclusion - In this article, we have learned the overview of Microsoft Azure CLI.

A to Z Full Forms and Acronyms