RuleWebhookActionArgs

data class RuleWebhookActionArgs(val odataType: Output<String>, val properties: Output<Map<String, String>>? = null, val serviceUri: Output<String>? = null) : ConvertibleToJava<RuleWebhookActionArgs>

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

Constructors

Link copied to clipboard
constructor(odataType: Output<String>, properties: Output<Map<String, String>>? = null, serviceUri: Output<String>? = null)

Properties

Link copied to clipboard
val odataType: Output<String>

specifies the type of the action. There are two types of actions: RuleEmailAction and RuleWebhookAction. Expected value is 'Microsoft.Azure.Management.Insights.Models.RuleWebhookAction'.

Link copied to clipboard
val properties: Output<Map<String, String>>? = null

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

Link copied to clipboard
val serviceUri: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): RuleWebhookActionArgs