mirror of https://github.com/CrimsonTome/tldr.git
az-storage-queue: add page (#8732)
parent
e9dada8221
commit
48c1cf07e6
|
@ -0,0 +1,21 @@
|
||||||
|
# az storage queue
|
||||||
|
|
||||||
|
> Manage storage queues in Azure.
|
||||||
|
> Part of `azure-cli`.
|
||||||
|
> More information: <https://learn.microsoft.com/cli/azure/storage/queue>.
|
||||||
|
|
||||||
|
- Create a queue:
|
||||||
|
|
||||||
|
`az storage queue create --account-name {{storage_account_name}} --name {{queue_name}} --metadata {{queue_metadata}}`
|
||||||
|
|
||||||
|
- Generate a shared access signature for the queue:
|
||||||
|
|
||||||
|
`az storage queue generate-sas --account-name {{storage_account_name}} --name {{queue_name}} --permissions {{queue_permissions}} --expiry {{expiry_date}} --https-only`
|
||||||
|
|
||||||
|
- List queues in a storage account:
|
||||||
|
|
||||||
|
`az storage queue list --prefix {{filter_prefix}} --account-name {{storage_account_name}}`
|
||||||
|
|
||||||
|
- Delete the specified queue and any messages it contains:
|
||||||
|
|
||||||
|
`az storage queue delete --account-name {{storage_account_name}} --name {{queue_name}} --fail-not-exist`
|
Loading…
Reference in New Issue