azurerm_time_series_insights_gen2_environment

Manages an Azure IoT Time Series Insights Gen2 Environment.

Example Usage

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "West Europe"
}
resource "azurerm_storage_account" "storage" {
  name                     = "example"
  location                 = azurerm_resource_group.example.location
  resource_group_name      = azurerm_resource_group.example.name
  account_tier             = "Standard"
  account_replication_type = "LRS"
}
resource "azurerm_iot_time_series_insights_gen2_environment" "example" {
  name                           = "example"
  location                       = azurerm_resource_group.example.location
  resource_group_name            = azurerm_resource_group.example.name
  sku_name                       = "L1"
  warm_store_data_retention_time = "P30D"
  id_properties                  = ["id"]
  storage {
    name = azurerm_storage_account.storage.name
    key  = azurerm_storage_account.storage.primary_access_key
  }
}

Argument Reference

The following arguments are supported:


A storage block supports the following:

Attributes Reference

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

Azure IoT Time Series Insights Gen2 Environment can be imported using the resource id, e.g.

terraform import azurerm_iot_time_series_insights_gen2_environment.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.TimeSeriesInsights/environments/example