Class MetricAlertAction
- java.lang.Object
-
- com.microsoft.azure.management.monitor.MetricAlertAction
-
public class MetricAlertAction extends Object
An alert action.
-
-
Constructor Summary
Constructors Constructor Description MetricAlertAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringactionGroupId()Get the id of the action group to use.Map<String,String>webhookProperties()Get the properties of a webhook object.MetricAlertActionwithActionGroupId(String actionGroupId)Set the id of the action group to use.MetricAlertActionwithWebhookProperties(Map<String,String> webhookProperties)Set the properties of a webhook object.
-
-
-
Method Detail
-
actionGroupId
public String actionGroupId()
Get the id of the action group to use.- Returns:
- the actionGroupId value
-
withActionGroupId
public MetricAlertAction withActionGroupId(String actionGroupId)
Set the id of the action group to use.- Parameters:
actionGroupId- the actionGroupId value to set- Returns:
- the MetricAlertAction object itself.
-
webhookProperties
public Map<String,String> webhookProperties()
Get the properties of a webhook object.- Returns:
- the webhookProperties value
-
withWebhookProperties
public MetricAlertAction withWebhookProperties(Map<String,String> webhookProperties)
Set the properties of a webhook object.- Parameters:
webhookProperties- the webhookProperties value to set- Returns:
- the MetricAlertAction object itself.
-
-