Uses of Class
com.azure.resourcemanager.alertsmanagement.models.TimeRange
Package
Description
Package containing the service clients for AlertsManagementClient.
Package containing the data models for AlertsManagementClient.
-
Uses of TimeRange in com.azure.resourcemanager.alertsmanagement.fluent
Modifier and TypeMethodDescriptioncom.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 TimeRange in com.azure.resourcemanager.alertsmanagement.models
Modifier and TypeFieldDescriptionstatic final TimeRange
TimeRange.ONED
Static value 1d for TimeRange.static final TimeRange
TimeRange.ONEH
Static value 1h for TimeRange.static final TimeRange
TimeRange.SEVEND
Static value 7d for TimeRange.static final TimeRange
TimeRange.THREE_ZEROD
Static value 30d for TimeRange.Modifier and TypeMethodDescriptionstatic TimeRange
TimeRange.fromString
(String name) Creates or finds a TimeRange from its string representation.Modifier and TypeMethodDescriptionstatic Collection<TimeRange>
TimeRange.values()
Gets known TimeRange values.Modifier and TypeMethodDescriptioncom.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