Please provide an example of the disable function of Add-AzureRmWebtestAlertRule cmdlet
This was copied from the user feedback: https://github.com/MicrosoftDocs/feedback/issues/744, user is asking an example of how to disable the function of Add-AzureRmWebtestAlertRule cmdlet.
Description
Script/Steps for Reproduction
Module Version
Get-Module -ListAvailable
Environment Data
$PSVersionTable
Debug Output
@gucalder can you take a look?
@markcowl , @gucalder , actually, I have submitted this issue a few days before, but still no feedback, please help me figure it out. thank you very much.
Hi @markcowl, @EdisonDa,
We are triaging some of the older Azure Monitor alert related issues and are trying to provide answers.
For this request, the following example should disable the webtest classic alert:
Add-AzWebtestAlertRule -Name "webtestRule" -ResourceGroup "Default-Web-EastUS" -DisableRule
@markcowl I am closing this one out.