Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.25 KB

application_insights.html.markdown

File metadata and controls

38 lines (29 loc) · 1.25 KB
layout page_title sidebar_current description
azurerm
Azure Resource Manager: azurerm_application_insights
docs-azurerm-datasource-application-insights
Gets information about an existing Application Insights component.

Data Source: azurerm_application_insights

Use this data source to access information about an existing Application Insights component.

Example Usage

data "azurerm_application_insights" "test" {
  name                = "production"
  resource_group_name = "networking"
}

output "application_insights_instrumentation_key" {
  value = "${data.azurerm_application_insights.test.instrumentation_key}"
}

Argument Reference

  • name - (Required) Specifies the name of the Application Insights component.
  • resource_group_name - (Required) Specifies the name of the resource group the Application Insights component is located in.

Attributes Reference

  • id - The ID of the Virtual Machine.
  • app_id - The App ID associated with this Application Insights component.
  • application_type - The type of the component.
  • instrumentation_key - The instrumentation key of the Application Insights component.
  • location - The Azure location where the component exists.
  • tags - Tags applied to the component.