az storage container
Manage blob storage containers in Azure. Part of
azure-cli(also known asaz). More information: https://learn.microsoft.com/cli/azure/storage/container.
- Create a container in a storage account:
az storage container create --account-name --public-access --fail-on-exist
- Generate a shared access signature for the container:
az storage container generate-sas --account-name --permissions --expiry --https-only
- List containers in a storage account:
az storage container list --account-name --prefix
- Mark the specified container for deletion:
az storage container delete --account-name --fail-not-exist
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
