适用于 Azure Blob 存储的 Azure CLI 示例Azure CLI samples for Azure Blob storage

下表包含的链接指向使用创建和管理 Azure 存储的 Azure CLI 生成的 Bash 脚本。The following table includes links to Bash scripts built using the Azure CLI that create and manage Azure Storage.

存储帐户Storage accounts
创建存储帐户并检索/轮换访问密钥Create a storage account and retrieve/rotate the access keys 创建 Azure 存储帐户并检索和轮换其访问密钥。Creates an Azure Storage account and retrieves and rotates its access keys.
Blob 存储Blob storage
计算 Blob 存储容器的总大小Calculate the total size of a Blob storage container 计算容器中所有 blob 的总大小。Calculates the total size of all the blobs in a container.
删除具有特定前缀的容器Delete containers with a specific prefix 删除以特定字符串开头的容器。Deletes containers starting with a specified string.