Share via


SubscriptionResourceGetServiceAlertSummaryOptions Class

Definition

The SubscriptionResourceGetServiceAlertSummaryOptions.

public class SubscriptionResourceGetServiceAlertSummaryOptions
type SubscriptionResourceGetServiceAlertSummaryOptions = class
Public Class SubscriptionResourceGetServiceAlertSummaryOptions
Inheritance
SubscriptionResourceGetServiceAlertSummaryOptions

Constructors

SubscriptionResourceGetServiceAlertSummaryOptions(AlertsSummaryGroupByField)

Initializes a new instance of SubscriptionResourceGetServiceAlertSummaryOptions.

Properties

AlertRule

Filter by specific alert rule. Default value is to select all.

AlertState

Filter by state of the alert instance. Default value is to select all.

CustomTimeRange

Filter by custom time range in the format <start-time>/<end-time> where time is in (ISO-8601 format)'. Permissible values is within 30 days from query time. Either timeRange or customTimeRange could be used but not both. Default is none.

Groupby

This parameter allows the result set to be grouped by input fields (Maximum 2 comma separated fields supported). For example, groupby=severity or groupby=severity,alertstate.

IncludeSmartGroupsCount

Include count of the SmartGroups as part of the summary. Default value is 'false'.

MonitorCondition

Filter by monitor condition which is either 'Fired' or 'Resolved'. Default value is to select all.

MonitorService

Filter by monitor service which generates the alert instance. Default value is select all.

Severity

Filter by severity. Default value is select all.

TargetResource

Filter by target resource( which is full ARM ID) Default value is select all.

TargetResourceGroup

Filter by target resource group name. Default value is select all.

TargetResourceType

Filter by target resource type. Default value is select all.

TimeRange

Filter by time range by below listed values. Default value is 1 day.

Applies to