Data Source: azurermStorageTableEntity
Use this data source to access information about an existing Storage Table Entity.
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.dataAzurermStorageTableEntity.DataAzurermStorageTableEntity(
this,
"example",
{
partition_key: "example-partition-key",
row_key: "example-row-key",
storage_account_name: "example-storage-account-name",
table_name: "example-table-name",
}
);
Argument Reference
The following arguments are supported:
-
tableName
- The name of the Table. -
storageAccountName
- The name of the Storage Account where the Table exists. -
partitionKey
- The key for the partition where the entity will be retrieved. -
rowKey
- The key for the row where the entity will be retrieved.
Attributes Reference
-
id
- The ID of the storage table entity. -
entity
- A map of key/value pairs that describe the entity to be stored in the storage table.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Storage Table Entity.