Forrest logo
back to the az tool

az-storage-account:tldr:dcd8a

az-storage-account: List storage accounts.
$ az storage account list --resource-group ${azure_resource_group}
try on your machine

The command az storage account list is an Azure CLI command used to list the storage accounts in an Azure subscription or a specified resource group.

--resource-group is an optional parameter that allows you to filter the storage accounts based on the specified Azure resource group. In this case, the command is listing storage accounts only within the resource group represented by the variable ${azure_resource_group}.

The variable ${azure_resource_group} should be replaced with the actual name of the resource group you want to target. By providing the resource group name, the command will only display the storage accounts that belong to that specific resource group.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the az tool