The following arguments are supported:
Note:
size is required if source_uri is not set.
NOTE:
This property is intended to be used with the Terraform internal filemd5 and md5 functions when source or source_content, respectively, are defined.
NOTE:
parallelism is only applicable for Page blobs - support for Block Blobs is blocked on the upstream issue.
resource "azurerm_resource_group" "example" {
name = "example-resources"
location = "West Europe"
}
resource "azurerm_storage_account" "example" {
name = "examplestoracc"
resource_group_name = azurerm_resource_group.example.name
location = azurerm_resource_group.example.location
account_tier = "Standard"
account_replication_type = "LRS"
}
resource "azurerm_storage_container" "example" {
name = "content"
storage_account_name = azurerm_storage_account.example.name
container_access_type = "private"
}
resource "azurerm_storage_blob" "example" {
name = "my-awesome-content.zip"
storage_account_name = azurerm_storage_account.example.name
storage_container_name = azurerm_storage_container.example.name
type = "Block"
source = "some-local-file.zip"
}
az storage blob directory create --container-name
--directory-path
[--account-key]
[--account-name]
[--auth-mode {key, login}]
[--connection-string]
[--lease-id]
[--metadata]
[--permissions]
[--sas-token]
[--timeout]
[--umask]
az storage blob directory create -c MyContainer -d MyDirectoryPath --account-name MyStorageAccount
Categorized by Availability, Security & Compliance and Cost