Instantly share code, notes, and snippets.

Embed
What would you like to do?
List of Access Keys from Output Values after ARM Template Deployment
{
"variables": {
"applicationInsights": {
"name": "my-application-insights"
},
"resourceId": "[resourceId('Microsoft.Insights/components', variables('applicationInsights').name)]",
"apiVersion": "[providers('Microsoft.Insights', 'components').apiVersions[0]]"
},
"resources": [],
"outputs": {
"instrumentationKey": {
"type": "string",
"value": "[reference(variables('resourceId'), variables('apiVersion')).instrumentationKey]"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment