TimeWindowCustomAlertRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. Please note TimeWindowCustomAlertRule is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ActiveConnectionsNotInAllowedRange, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, AmqpD2CMessagesNotInAllowedRange, DirectMethodInvokesNotInAllowedRange, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, QueuePurgesNotInAllowedRange, TwinUpdatesNotInAllowedRange and UnauthorizedOperationsNotInAllowedRange.
public class TimeWindowCustomAlertRule : Azure.ResourceManager.SecurityCenter.Models.ThresholdCustomAlertRule
public class TimeWindowCustomAlertRule : Azure.ResourceManager.SecurityCenter.Models.ThresholdCustomAlertRule, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityCenter.Models.TimeWindowCustomAlertRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityCenter.Models.TimeWindowCustomAlertRule>
type TimeWindowCustomAlertRule = class
inherit ThresholdCustomAlertRule
type TimeWindowCustomAlertRule = class
inherit ThresholdCustomAlertRule
interface IJsonModel<TimeWindowCustomAlertRule>
interface IPersistableModel<TimeWindowCustomAlertRule>
Public Class TimeWindowCustomAlertRule
Inherits ThresholdCustomAlertRule
Public Class TimeWindowCustomAlertRule
Inherits ThresholdCustomAlertRule
Implements IJsonModel(Of TimeWindowCustomAlertRule), IPersistableModel(Of TimeWindowCustomAlertRule)
- Inheritance
- Derived
- Implements
Constructors
TimeWindowCustomAlertRule(Boolean, Int32, Int32, TimeSpan) |
Initializes a new instance of TimeWindowCustomAlertRule. |
Properties
Description |
The description of the custom alert. (Inherited from CustomAlertRule) |
DisplayName |
The display name of the custom alert. (Inherited from CustomAlertRule) |
IsEnabled |
Status of the custom alert. (Inherited from CustomAlertRule) |
MaxThreshold |
The maximum threshold. (Inherited from ThresholdCustomAlertRule) |
MinThreshold |
The minimum threshold. (Inherited from ThresholdCustomAlertRule) |
TimeWindowSize |
The time window size in iso8601 format. |
Explicit Interface Implementations
Applies to
Azure SDK for .NET