Data Source: azurermStorageContainer
Use this data source to access information about an existing Storage Container.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
new azurerm.dataAzurermStorageContainer.DataAzurermStorageContainer(
this,
"example",
{
name: "example-container-name",
storage_account_name: "example-storage-account-name",
}
);
Argument Reference
The following arguments are supported:
-
name
- The name of the Container. -
storageAccountName
- The name of the Storage Account where the Container exists.
Attributes Reference
-
containerAccessType
- The Access Level configured for this Container. -
hasImmutabilityPolicy
- Is there an Immutability Policy configured on this Storage Container? -
hasLegalHold
- Is there a Legal Hold configured on this Storage Container? -
metadata
- A mapping of MetaData for this Container. -
resourceManagerId
- The Resource Manager ID of this Storage Container.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Storage Container.