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. |
Use this data source to access information about an existing Application Insights component.
data "azurerm_application_insights" "test" {
name = "production"
resource_group_name = "networking"
}
output "application_insights_instrumentation_key" {
value = "${data.azurerm_application_insights.test.instrumentation_key}"
}
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.
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.