Which Azure Command-Line Interface (CLI) command or Azure PowerShell cmdlet should you run?

You plan to use Azure Monitor with AutoScale Services. You create a URI to be used with the monitoring service.You need to configure an alert that specifies the URI.Which Azure Command-Line Interface (CLI) command or Azure PowerShell cmdlet should you run?To create webhook or send email when a classic metric alert fires, first create the email and/or webhooks. Then create the rule immediately afterwards. You cannot associate webhook or emails with already created rules using the CLI. azure insights alerts actions email create –customEmails [email protected] azure insights alerts actions webhook create https://www.contoso.comReferences: https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/insights-alerts-command-line-interface

Question:

Which Azure Command-Line Interface (CLI) command or Azure PowerShell cmdlet should you run?

Options:

azure insights alerts actions webhook create

New-AzureRmAutoscaleRule

azure insights alerts rule log set

azure insights logprofile add

Correct Answer

The Correct Answer for this Question is

azure insights alerts actions webhook create

Leave a Comment