az-storage-queue: add page (#8732)

pull/1/head
WhileLoop 2022-10-08 21:50:29 -07:00 committed by GitHub
parent e9dada8221
commit 48c1cf07e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

View File

@ -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`