Articles → MICROSOFT AZURE → Get The List Of Resource Groups Using The Bash Option In Cloud Shell

Get The List Of Resource Groups Using The Bash Option In Cloud Shell






What Is A Cloud Shell?




  1. Using PowerShell
  2. Using CLI (This tool is specific to Azure)





How To Open The Cloud Shell?




  1. In the Azure portal, there is an icon beside the search box. Click on the icon
  2. Picture showing the button to open the cloud shell in Azure portal
    Click to Enlarge

  3. A window will open below asking to create the storage account
  4. Picture showing a popup to create a storage account when opening the cloud shell for the first time
    Click to Enlarge

  5. Click on the Create Storage button
  6. Once the storage account is created, the cloud shell is connected
  7. Picture showing the cloud shell in the connected state
    Click to Enlarge



Get The List Of Resource Groups




az group list




Picture showing the list of resource groups for a given subscription in the json format
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Saturday, April 17, 2021

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250