Class RuleWebhookAction
java.lang.Object
com.microsoft.azure.management.monitor.RuleAction
com.microsoft.azure.management.monitor.RuleWebhookAction
Specifies the action to post to service when the rule condition is
evaluated. The discriminator is always RuleWebhookAction in this case.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the dictionary of custom properties to include with the post operation.Get the service uri to Post the notification when the alert activates or resolves.withProperties
(Map<String, String> properties) Set the dictionary of custom properties to include with the post operation.withServiceUri
(String serviceUri) Set the service uri to Post the notification when the alert activates or resolves.
-
Constructor Details
-
RuleWebhookAction
public RuleWebhookAction()
-
-
Method Details
-
serviceUri
Get the service uri to Post the notification when the alert activates or resolves.- Returns:
- the serviceUri value
-
withServiceUri
Set the service uri to Post the notification when the alert activates or resolves.- Parameters:
serviceUri
- the serviceUri value to set- Returns:
- the RuleWebhookAction object itself.
-
properties
Get the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.- Returns:
- the properties value
-
withProperties
Set the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.- Parameters:
properties
- the properties value to set- Returns:
- the RuleWebhookAction object itself.
-