共用方式為


RuleWebhookAction Class

Definition

Specifies the action to post to service when the rule condition is evaluated. The discriminator is always RuleWebhookAction in this case.

[Newtonsoft.Json.JsonObject("Microsoft.Azure.Management.Insights.Models.RuleWebhookAction")]
public class RuleWebhookAction : Microsoft.Azure.Management.Monitor.Models.RuleAction
[<Newtonsoft.Json.JsonObject("Microsoft.Azure.Management.Insights.Models.RuleWebhookAction")>]
type RuleWebhookAction = class
    inherit RuleAction
Public Class RuleWebhookAction
Inherits RuleAction
Inheritance
RuleWebhookAction
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

RuleWebhookAction()

Initializes a new instance of the RuleWebhookAction class.

RuleWebhookAction(String, IDictionary<String,String>)

Initializes a new instance of the RuleWebhookAction class.

Properties

Properties

Gets or sets the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.

ServiceUri

Gets or sets the service uri to Post the notification when the alert activates or resolves.

Applies to