question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Application Insights resources

See original GitHub issue

Is there a roadmap for creating App Insights resources via the CLI without resorting to resource create?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:21
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

11reactions
kizotheitguycommented, Aug 9, 2018

Thanks for the command… The below should help retrieve application instrumentation keys

az resource show -g $RESOURCEGROUPNAME -n $APPLICATION_NAME --resource-type "Microsoft.Insights/components" --query properties.InstrumentationKey
10reactions
rcarmocommented, Feb 10, 2018

For the record, this is how I’m doing it now. But being able to do this in a cleaner way and also having a command to create and retrieve application instrumentation keys would be nice:

	az resource create \
		--resource-group $RESOURCE_GROUP \
		--resource-type "Microsoft.Insights/components" \
		--name $NAMESPACE_PREFIX-appinsights \
		--location $PRIMARY_LOCATION \
		--properties '{"ApplicationId":"facerecognition","Application_Type":"other", "Flow_Type":"Redfield", "Request_Source":"IbizaAIExtension"}'
Read more comments on GitHub >

github_iconTop Results From Across the Web

Create an Application Insights resource - Azure - Microsoft Learn
Azure Application Insights displays data about your application in a Microsoft Azure resource. Creating a new resource is therefore part of ...
Read more >
Azure Application Insights Resources (Classic ... - C# Corner
Create an Application Insights resource (classic) ... Sign into the Azure portal. (Your Azure subscription), then go to the click on the Azure ......
Read more >
azure-content/app-insights-create-new-resource.md at master
Create a new Application Insights resource · Sign up to Microsoft Azure · Create an Application Insights resource · Copy the instrumentation key...
Read more >
Upgrade Application Insights to Workspace-based Resource ...
Note: Classic Application Insights will be retired on in February 2024, which indicates that using Workspace-based Application Insights is the ...
Read more >
Monitoring Applications using Application Insights
Exercise 1: Creating Instrumentation Key · Go to Azure Portal from here · Click on + New icon to create a new Application...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found