MetricAlertAction Class

  • java.lang.Object
    • com.microsoft.azure.management.monitor.MetricAlertAction

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.

MetricAlertAction withActionGroupId(String actionGroupId)

Set the id of the action group to use.

MetricAlertAction 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:

the actionGroupId value

webhookProperties

public Map webhookProperties()

Get the properties of a webhook object.

Returns:

the webhookProperties 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.

withWebhookProperties

public MetricAlertAction withWebhookProperties(Map webhookProperties)

Set the properties of a webhook object.

Parameters:

webhookProperties - the webhookProperties value to set

Returns:

the MetricAlertAction object itself.

Applies to