azurerm_application_insights

Nivis Nix constructor for the azurerm_application_insights resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  application_type,
  location,
  resource_group_name,
  daily_data_cap_in_gb ? null,
  daily_data_cap_notifications_enabled ? null,
  force_customer_storage_for_profiler ? null,
  id ? null,
  internet_ingestion_enabled ? null,
  internet_query_enabled ? null,
  ip_masking_enabled ? null,
  local_authentication_enabled ? null,
  cfg_name ? null,
  retention_in_days ? null,
  sampling_percentage ? null,
  tags ? null,
  workspace_id ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • application_type
  • location
  • resource_group_name
Optional arguments
  • daily_data_cap_in_gb (defaults to null)
  • daily_data_cap_notifications_enabled (defaults to null)
  • force_customer_storage_for_profiler (defaults to null)
  • id (defaults to null)
  • internet_ingestion_enabled (defaults to null)
  • internet_query_enabled (defaults to null)
  • ip_masking_enabled (defaults to null)
  • local_authentication_enabled (defaults to null)
  • cfg_name (defaults to null)
  • retention_in_days (defaults to null)
  • sampling_percentage (defaults to null)
  • tags (defaults to null)
  • workspace_id (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • app_id
  • connection_string
  • instrumentation_key
Example
azurerm_application_insights {
  name = "application_insights";
  application_type = …;  # required
  location = …;  # required
  resource_group_name = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.