locked
using Power shell to create/edit Azure Suppression rule RRS feed

  • Question

  • Hello ,

    Is there a way to show/create or edit an Suppression rule via PowerShell.  I was looking at using the Azurerm PowerShell cmdlet.

    I can get the metric rule well sort of with  Get-AzureRmActionGroup. But I just can't get to these Suppression rules via PowerShell.

    I am trying to use PowerShell to creat these Suppression rule when we turn off these servers.

    Just need a small push in the right direction.

    Thursday, October 31, 2019 3:00 AM

Answers

  • Thanks for reaching out. As of now, there is no Powershell support for action rules. We would suggest you to create action rules via portal.

    Hope this helps!

    Thursday, October 31, 2019 5:00 AM