Use this data source to access information about an existing Kusto Database
data "azurerm_kusto_database" "example" {
name = "my-kusto-database"
resource_group_name = "test_resource_group"
cluster_name = "test_cluster"
}
The following arguments are supported:
name
- (Required) The name of the Kusto Database.
resource_group_name
- (Required) The Resource Group where the Kusto Database exists.
cluster_name
- (Required) The name of the Kusto Cluster this database is added to.
The following attributes are exported:
id
- The Kusto Cluster ID.
location
- The Azure Region in which the managed Kusto Database exists.
hot_cache_period
- The time the data that should be kept in cache for fast queries as ISO 8601 timespan.
soft_delete_period
- The time the data should be kept before it stops being accessible to queries as ISO 8601 timespan.
size
- The size of the database in bytes.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Kusto Database.