Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created January 4, 2018 11:29
Show Gist options
  • Save justinyoo/5937f12a1b7a78b1aed86e01d956962b to your computer and use it in GitHub Desktop.
Save justinyoo/5937f12a1b7a78b1aed86e01d956962b to your computer and use it in GitHub Desktop.
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