Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add simple CLI commands #27964

Open
alexkarcher-msft opened this issue Mar 25, 2019 — with docs.microsoft.com · 3 comments

Comments

Projects
None yet
5 participants
Copy link
Contributor

commented Mar 25, 2019 — with docs.microsoft.com

There are two very simple Azure CLI commands to create an app insights instance and get the instrumentation key. I'd love to see those documented here, or in a "CLI Quickstart" sister doc.

From this github thread: Azure/azure-cli#5543

az resource create \
                  --resource-group $RESOURCE_GROUP \
                  --resource-type "Microsoft.Insights/components" \
                  --name $NAMESPACE_PREFIX-appinsights \
                  --location $PRIMARY_LOCATION 

az resource show -g $RESOURCEGROUPNAME -n $APPLICATION_NAME --resource-type "Microsoft.Insights/components" --query properties.InstrumentationKey

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@MarileeTurscak-MSFT

This comment has been minimized.

Copy link
Contributor

commented Mar 26, 2019

@alexkarcher-msft
Thanks for your feedback! We will investigate and update as appropriate.

@kobulloc-MSFT

This comment has been minimized.

Copy link
Contributor

commented Mar 26, 2019

@alexkarcher-msft Thank you very much for the feedback! We're assigning this to the content author so they can update the documentation accordingly.

@mrbullwinkle

This comment has been minimized.

Copy link
Contributor

commented Mar 27, 2019

@alexkarcher-msft thanks for pointing this out, I will get it added this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.