Class RuleWebhookAction
Specifies the action to post to service when the rule condition is evaluated. The discriminator is always RuleWebhookAction in this case.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Monitor.dll
Syntax
[Newtonsoft.Json.JsonObject("Microsoft.Azure.Management.Insights.Models.RuleWebhookAction")]
public class RuleWebhookAction : Microsoft.Azure.Management.Monitor.Models.RuleAction
Constructors
RuleWebhookAction()
Initializes a new instance of the RuleWebhookAction class.
Declaration
public RuleWebhookAction ();
RuleWebhookAction(String, IDictionary<String,String>)
Initializes a new instance of the RuleWebhookAction class.
Declaration
public RuleWebhookAction (string serviceUri = null, System.Collections.Generic.IDictionary<string,string> properties = null);
Parameters
|
String
serviceUri
the service uri to Post the notification when the alert activates or resolves. |
|
IDictionary<String,String>
properties
the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload. |
Properties
Properties
Gets or sets the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties")]
public System.Collections.Generic.IDictionary<string,string> Properties { get; set; }
Property Value
|
IDictionary<String,String>
|
ServiceUri
Gets or sets the service uri to Post the notification when the alert activates or resolves.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="serviceUri")]
public string ServiceUri { get; set; }
Property Value
|
String
|