RuleWebhookActionResponse

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

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: String, properties: Map<String, String>? = null, serviceUri: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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: 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: String? = null

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