Interface ActivityLogAlert
-
- All Superinterfaces:
GroupableResource<MonitorManager,ActivityLogAlertResourceInner>,HasId,HasInnerModel<ActivityLogAlertResourceInner>,HasManager<MonitorManager>,HasName,HasResourceGroup,Indexable,Refreshable<ActivityLogAlert>,Resource,Updatable<ActivityLogAlert.Update>
public interface ActivityLogAlert extends GroupableResource<MonitorManager,ActivityLogAlertResourceInner>, Refreshable<ActivityLogAlert>, Updatable<ActivityLogAlert.Update>
An immutable client-side representation of an Azure Activity Log Alert.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceActivityLogAlert.DefinitionThe entirety of a activity log alerts definition.static interfaceActivityLogAlert.DefinitionStagesGrouping of activity log alerts definition stages.static interfaceActivityLogAlert.UpdateThe template for an update operation, containing all the settings that can be modified.static interfaceActivityLogAlert.UpdateStagesGrouping of activity log alerts update stages.-
Nested classes/interfaces inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
Resource.DefinitionWithRegion<T extends Object>, Resource.DefinitionWithTags<T extends Object>, Resource.UpdateWithTags<T extends Object>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<String>actionGroupIds()Get the actions that will activate when the condition is met.Stringdescription()Get a description of this activity log alert.Booleanenabled()Get indicates whether this activity log alert is enabled.Map<String,String>equalsConditions()Get the condition that will cause this alert to activate.Collection<String>scopes()Get a list of resourceIds that will be used as prefixes.-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupName
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
region, regionName, tags, type
-
-
-
-
Method Detail
-
scopes
Collection<String> 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
-
enabled
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
Map<String,String> equalsConditions()
Get the condition that will cause this alert to activate.- Returns:
- the condition value
-
actionGroupIds
Collection<String> actionGroupIds()
Get the actions that will activate when the condition is met.- Returns:
- the actions value
-
description
String description()
Get a description of this activity log alert.- Returns:
- the description value
-
-