Condividi tramite


AlertFilter Class

Definition

The OData filters to be used for Alert

public class AlertFilter
type AlertFilter = class
Public Class AlertFilter
Inheritance
AlertFilter

Constructors

AlertFilter()

Initializes a new instance of the AlertFilter class.

AlertFilter(Nullable<AlertStatus>, Nullable<AlertSeverity>, Nullable<AlertSourceType>, String, Nullable<DateTime>)

Initializes a new instance of the AlertFilter class.

Properties

AppearedOnTime

Gets or sets specifies the appeared time (in UTC) of the alerts to be filtered. Only 'Greater-Than' and 'Lesser-Than' operators are supported for this property.

Severity

Gets or sets specifies the severity of the alerts to be filtered. Only 'Equality' operator is supported for this property. Possible values include: 'Informational', 'Warning', 'Critical'

SourceName

Gets or sets specifies the source name of the alerts to be filtered. Only 'Equality' operator is supported for this property.

SourceType

Gets or sets specifies the source type of the alerts to be filtered. Only 'Equality' operator is supported for this property. Possible values include: 'Resource', 'Device'

Status

Gets or sets specifies the status of the alerts to be filtered. Only 'Equality' operator is supported for this property. Possible values include: 'Active', 'Cleared'

Applies to