Forrest logo
back to the az tool

az-storage-queue:tldr:80671

az-storage-queue: List queues in a storage account.
$ az storage queue list --prefix ${filter_prefix} --account-name ${storage_account_name}
try on your machine

This command is used with the Azure CLI (Command Line Interface) to list the queues in an Azure Storage account.

Let's break down the different parts of the command:

  • az: This is the command to interact with Azure resources using the Azure CLI.
  • storage: This is the command group for managing Azure Storage resources.
  • queue: This is the sub-command for managing Azure Storage queues.
  • list: This is the action to list the queues in the storage account.

Now let's look at the options used in the command:

  • --prefix ${filter_prefix}: This option is used to filter the list of queues based on a certain prefix. The ${filter_prefix} is a placeholder that should be replaced with the actual prefix you want to filter.

  • --account-name ${storage_account_name}: This option specifies the name of the Azure Storage account from which you want to list the queues. The ${storage_account_name} is a placeholder that should be replaced with the actual name of the storage account.

By executing this command with the correct placeholders replaced, it will return a list of queues that match the specified prefix in the specified Azure Storage account.

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