Uses of Class
com.azure.resourcemanager.alertsmanagement.models.AlertState
Package
Description
Package containing the service clients for AlertsManagementClient.
Package containing the data models for AlertsManagementClient.
-
Uses of AlertState in com.azure.resourcemanager.alertsmanagement.fluent
Modifier and TypeMethodDescriptionAlertsClient.changeState
(String alertId, AlertState newState) Change the state of an alert.SmartGroupsClient.changeState
(String smartGroupId, AlertState newState) Change the state of a Smart Group.com.azure.core.http.rest.Response<AlertInner>
AlertsClient.changeStateWithResponse
(String alertId, AlertState newState, String comment, com.azure.core.util.Context context) Change the state of an alert.SmartGroupsClient.changeStateWithResponse
(String smartGroupId, AlertState newState, com.azure.core.util.Context context) Change the state of a Smart Group.com.azure.core.http.rest.Response<AlertsSummaryInner>
AlertsClient.getSummaryWithResponse
(AlertsSummaryGroupByFields groupby, Boolean includeSmartGroupsCount, String targetResource, String targetResourceType, String targetResourceGroup, MonitorService monitorService, MonitorCondition monitorCondition, Severity severity, AlertState alertState, String alertRule, TimeRange timeRange, String customTimeRange, com.azure.core.util.Context context) Get a summarized count of your alerts grouped by various parameters (e.g.com.azure.core.http.rest.PagedIterable<AlertInner>
AlertsClient.list
(String targetResource, String targetResourceType, String targetResourceGroup, MonitorService monitorService, MonitorCondition monitorCondition, Severity severity, AlertState alertState, String alertRule, String smartGroupId, Boolean includeContext, Boolean includeEgressConfig, Long pageCount, AlertsSortByFields sortBy, SortOrder sortOrder, String select, TimeRange timeRange, String customTimeRange, com.azure.core.util.Context context) List all existing alerts, where the results can be filtered on the basis of multiple parameters (e.g.com.azure.core.http.rest.PagedIterable<SmartGroupInner>
SmartGroupsClient.list
(String targetResource, String targetResourceGroup, String targetResourceType, MonitorService monitorService, MonitorCondition monitorCondition, Severity severity, AlertState smartGroupState, TimeRange timeRange, Long pageCount, SmartGroupsSortByFields sortBy, SortOrder sortOrder, com.azure.core.util.Context context) Get all Smart Groups within a specified subscription -
Uses of AlertState in com.azure.resourcemanager.alertsmanagement.models
Modifier and TypeFieldDescriptionstatic final AlertState
AlertState.ACKNOWLEDGED
Static value Acknowledged for AlertState.static final AlertState
AlertState.CLOSED
Static value Closed for AlertState.static final AlertState
AlertState.NEW
Static value New for AlertState.Modifier and TypeMethodDescriptionEssentials.alertState()
Get the alertState property: Alert object state, which can be modified by the user.static AlertState
AlertState.fromString
(String name) Creates or finds a AlertState from its string representation.Modifier and TypeMethodDescriptionstatic Collection<AlertState>
AlertState.values()
Gets known AlertState values.Modifier and TypeMethodDescriptionAlerts.changeState
(String alertId, AlertState newState) Change the state of an alert.SmartGroups.changeState
(String smartGroupId, AlertState newState) Change the state of a Smart Group.com.azure.core.http.rest.Response<Alert>
Alerts.changeStateWithResponse
(String alertId, AlertState newState, String comment, com.azure.core.util.Context context) Change the state of an alert.com.azure.core.http.rest.Response<SmartGroup>
SmartGroups.changeStateWithResponse
(String smartGroupId, AlertState newState, com.azure.core.util.Context context) Change the state of a Smart Group.com.azure.core.http.rest.Response<AlertsSummary>
Alerts.getSummaryWithResponse
(AlertsSummaryGroupByFields groupby, Boolean includeSmartGroupsCount, String targetResource, String targetResourceType, String targetResourceGroup, MonitorService monitorService, MonitorCondition monitorCondition, Severity severity, AlertState alertState, String alertRule, TimeRange timeRange, String customTimeRange, com.azure.core.util.Context context) Get a summarized count of your alerts grouped by various parameters (e.g.com.azure.core.http.rest.PagedIterable<Alert>
Alerts.list
(String targetResource, String targetResourceType, String targetResourceGroup, MonitorService monitorService, MonitorCondition monitorCondition, Severity severity, AlertState alertState, String alertRule, String smartGroupId, Boolean includeContext, Boolean includeEgressConfig, Long pageCount, AlertsSortByFields sortBy, SortOrder sortOrder, String select, TimeRange timeRange, String customTimeRange, com.azure.core.util.Context context) List all existing alerts, where the results can be filtered on the basis of multiple parameters (e.g.com.azure.core.http.rest.PagedIterable<SmartGroup>
SmartGroups.list
(String targetResource, String targetResourceGroup, String targetResourceType, MonitorService monitorService, MonitorCondition monitorCondition, Severity severity, AlertState smartGroupState, TimeRange timeRange, Long pageCount, SmartGroupsSortByFields sortBy, SortOrder sortOrder, com.azure.core.util.Context context) Get all Smart Groups within a specified subscription