Forrest logo
back to the az tool

az-storage-queue:tldr:a0e09

az-storage-queue: Create a queue.
$ az storage queue create --account-name ${storage_account_name} --name ${queue_name} --metadata ${queue_metadata}
try on your machine

This command creates a storage queue in Azure Storage.

Here is the breakdown of each parameter:

  • az storage queue create: This is the command to create a storage queue.

  • --account-name ${storage_account_name}: This specifies the name of the storage account where the queue will be created. The variable ${storage_account_name} should be replaced with the actual name of the storage account.

  • --name ${queue_name}: This specifies the name of the queue that will be created. The variable ${queue_name} should be replaced with the desired name of the queue.

  • --metadata ${queue_metadata}: This specifies the optional metadata for the queue. Metadata is key-value pairs that can be associated with the queue for additional information. The variable ${queue_metadata} should be replaced with the desired metadata.

In summary, this command creates a storage queue with the specified account name, queue name, and optional metadata.

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