ActivityLogAlert Interface

Implements

public interface ActivityLogAlert
extends GroupableResource<MonitorManager,ActivityLogAlertResourceInner>, Refreshable<ActivityLogAlert>, Updatable<Update>

An immutable client-side representation of an Azure Activity Log Alert.

Method Summary

Modifier and Type Method and Description
abstract Collection<String> actionGroupIds()

Get the actions that will activate when the condition is met.

abstract String description()

Get a description of this activity log alert.

abstract Boolean enabled()

Get indicates whether this activity log alert is enabled.

abstract Map<String,String> equalsConditions()

Get the condition that will cause this alert to activate.

abstract Collection<String> scopes()

Get a list of resourceIds that will be used as prefixes.

Method Details

actionGroupIds

public abstract Collection actionGroupIds()

Get the actions that will activate when the condition is met.

Returns:

the actions value

description

public abstract String description()

Get a description of this activity log alert.

Returns:

the description value

enabled

public abstract Boolean enabled()

Get indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated.

Returns:

the enabled value

equalsConditions

public abstract Map equalsConditions()

Get the condition that will cause this alert to activate.

Returns:

the condition value

scopes

public abstract Collection scopes()

Get a list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item.

Returns:

the scopes value

Applies to