MetricAlertAction Class
- java.
lang. Object - com.
microsoft. azure. management. monitor. MetricAlertAction
- com.
public class MetricAlertAction
An alert action.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
actionGroupId()
Get the id of the action group to use. |
Map<String, String> |
webhookProperties()
Get the properties of a webhook object. |
Metric |
withActionGroupId(String actionGroupId)
Set the id of the action group to use. |
Metric |
withWebhookProperties(Map<String, String> webhookProperties)
Set the properties of a webhook object. |
Method Details
actionGroupId
public String actionGroupId()
Get the id of the action group to use.
Returns:
webhookProperties
public Map
Get the properties of a webhook object.
Returns:
withActionGroupId
public MetricAlertAction withActionGroupId(String actionGroupId)
Set the id of the action group to use.
Parameters:
Returns:
withWebhookProperties
public MetricAlertAction withWebhookProperties(Map
Set the properties of a webhook object.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for