Share via


TimeWindowCustomAlertRule Class

Definition

A custom alert rule that checks if the number of activities (depends on the custom alert type) in a time window is within the given range.

[Newtonsoft.Json.JsonObject("TimeWindowCustomAlertRule")]
public class TimeWindowCustomAlertRule : Microsoft.Azure.Management.Security.Models.ThresholdCustomAlertRule
[<Newtonsoft.Json.JsonObject("TimeWindowCustomAlertRule")>]
type TimeWindowCustomAlertRule = class
    inherit ThresholdCustomAlertRule
Public Class TimeWindowCustomAlertRule
Inherits ThresholdCustomAlertRule
Inheritance
TimeWindowCustomAlertRule
Derived
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

TimeWindowCustomAlertRule()

Initializes a new instance of the TimeWindowCustomAlertRule class.

TimeWindowCustomAlertRule(Boolean, Int32, Int32, TimeSpan, String, String)

Initializes a new instance of the TimeWindowCustomAlertRule class.

Properties

Description

Gets the description of the custom alert.

(Inherited from CustomAlertRule)
DisplayName

Gets the display name of the custom alert.

(Inherited from CustomAlertRule)
IsEnabled

Gets or sets status of the custom alert.

(Inherited from CustomAlertRule)
MaxThreshold

Gets or sets the maximum threshold.

(Inherited from ThresholdCustomAlertRule)
MinThreshold

Gets or sets the minimum threshold.

(Inherited from ThresholdCustomAlertRule)
TimeWindowSize

Gets or sets the time window size in iso8601 format.

Methods

Validate()

Validate the object.

Extension Methods

ConvertToPSType(ThresholdCustomAlertRule)
ConvertToPSType(TimeWindowCustomAlertRule)

Applies to