azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

Please provide an example of the disable function of Add-AzureRmWebtestAlertRule cmdlet

Open EdisonDa opened this issue 8 years ago • 3 comments

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


EdisonDa avatar Oct 08 '18 08:10 EdisonDa

@gucalder can you take a look?

markcowl avatar Oct 08 '18 20:10 markcowl

@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.

imeya avatar Oct 09 '18 05:10 imeya

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.

snehithm avatar Jul 01 '19 14:07 snehithm