Skip to content

Commit

Permalink
feat(microsoft-insights): Added instrumentationKey output variable (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
itpropro authored Jun 25, 2022
1 parent a0de6ee commit f05f0aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arm/Microsoft.Insights/components/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,6 @@ output applicationId string = appInsights.properties.AppId

@description('The location the resource was deployed into.')
output location string = appInsights.location

@description('Application Insights Instrumentation key. A read-only value that applications can use to identify the destination for all telemetry sent to Azure Application Insights. This value will be supplied upon construction of each new Application Insights component.')
output instrumentationKey string = appInsights.properties.InstrumentationKey
1 change: 1 addition & 0 deletions arm/Microsoft.Insights/components/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ tags: {
| `name` | string | The name of the application insights component. |
| `resourceGroupName` | string | The resource group the application insights component was deployed into. |
| `resourceId` | string | The resource ID of the application insights component. |
| `instrumentationKey` | string | Application Insights Instrumentation key. A read-only value that applications can use to identify the destination for all telemetry sent to Azure Application Insights. This value will be supplied upon construction of each new Application Insights component. |

## Deployment examples

Expand Down

0 comments on commit f05f0aa

Please sign in to comment.