Data Source: azurerm_storage_containers

Use this data source to access information about the existing Storage Containers within a Storage Account.

Example Usage

data "azurerm_storage_containers" "example" {
  storage_account_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/sa1"
}

output "container_id" {
  value = data.azurerm_storage_containers.example.containers[0].resource_manager_id
}

Arguments Reference

The following arguments are supported:


Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:


A containers block exports the following:

Timeouts

The timeouts block allows you to specify timeouts for certain actions: