az storage container
all
Manage blob storage containers in Azure. Part of `azure-cli` (also known as `az`).
More info →Options (1)
-n, --namebooleanCreate a container in a storage account
Example:
az storage container create --account-name {{storage_account_name}} {{[-n|--name]}} {{container_name}} --public-access {{access_level}} --fail-on-existExamples (4)
Create a container in a storage account
az storage container create --account-name storage_account_name [-n|--name] container_name --public-access access_level --fail-on-existGenerate a shared access signature for the container
az storage container generate-sas --account-name storage_account_name [-n|--name] container_name --permissions sas_permissions --expiry expiry_date --https-onlyList containers in a storage account
az storage container list --account-name storage_account_name --prefix filter_prefixMark the specified container for deletion
az storage container delete --account-name storage_account_name [-n|--name] container_name --fail-not-existmade by @shridhargupta | data from tldr-pages