Last active
November 14, 2017 16:29
-
-
Save ehrnst/ac108bbe79eccc4f30a4f863ea306b94 to your computer and use it in GitHub Desktop.
Azure monitor rest API powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$alertRules = Invoke-RestMethod -Method GET "https://management.azure.com/subscriptions/$SubscriptionId/resourcegroups/$ResourceGroupName/providers/microsoft.insights/alertrules?api-version=2016-03-01" -Headers $authHeader |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment