Share via


MetricAlertAction Constructors

Definition

Overloads

MetricAlertAction()

Initializes a new instance of the MetricAlertAction class.

MetricAlertAction(String, IDictionary<String,String>)

Initializes a new instance of the MetricAlertAction class.

MetricAlertAction()

Initializes a new instance of the MetricAlertAction class.

public MetricAlertAction ();
Public Sub New ()

Applies to

MetricAlertAction(String, IDictionary<String,String>)

Initializes a new instance of the MetricAlertAction class.

public MetricAlertAction (string actionGroupId = default, System.Collections.Generic.IDictionary<string,string> webHookProperties = default);
new Microsoft.Azure.Management.Monitor.Models.MetricAlertAction : string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.Monitor.Models.MetricAlertAction
Public Sub New (Optional actionGroupId As String = Nothing, Optional webHookProperties As IDictionary(Of String, String) = Nothing)

Parameters

actionGroupId
String

the id of the action group to use.

webHookProperties
IDictionary<String,String>

This field allows specifying custom properties, which would be appended to the alert payload sent as input to the webhook.

Applies to