Use this data source to access information about an existing Storage Container.
data "azurestack_storage_container" "example" {
name = "example-container-name"
storage_account_name = "example-storage-account-name"
}
The following arguments are supported:
name
- The name of the Container.
storage_account_name
- The name of the Storage Account where the Container exists.
container_access_type
- The Access Level configured for this Container.
has_immutability_policy
- Is there an Immutability Policy configured on this Storage Container?
has_legal_hold
- Is there a Legal Hold configured on this Storage Container?
metadata
- A mapping of MetaData for this Container.