Data Source: azurermKustoDatabase
Use this data source to access information about an existing Kusto Database
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.dataAzurermKustoDatabase.DataAzurermKustoDatabase(this, "example", {
cluster_name: "test_cluster",
name: "my-kusto-database",
resource_group_name: "test_resource_group",
});
Argument Reference
The following arguments are supported:
-
name
- (Required) The name of the Kusto Database. -
resourceGroupName
- (Required) The Resource Group where the Kusto Database exists. -
clusterName
- (Required) The name of the Kusto Cluster this database is added to.
Attributes Reference
The following attributes are exported:
-
id
- The Kusto Cluster ID. -
location
- The Azure Region in which the managed Kusto Database exists. -
hotCachePeriod
- The time the data that should be kept in cache for fast queries as ISO 8601 timespan. -
softDeletePeriod
- 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.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Kusto Database.