ThresholdCustomAlertRule 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 a value (depends on the custom alert type) is within the given range. Please note ThresholdCustomAlertRule 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, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange and UnauthorizedOperationsNotInAllowedRange.
public class ThresholdCustomAlertRule : Azure.ResourceManager.SecurityCenter.Models.CustomAlertRule
public class ThresholdCustomAlertRule : Azure.ResourceManager.SecurityCenter.Models.CustomAlertRule, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityCenter.Models.ThresholdCustomAlertRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityCenter.Models.ThresholdCustomAlertRule>
type ThresholdCustomAlertRule = class
inherit CustomAlertRule
type ThresholdCustomAlertRule = class
inherit CustomAlertRule
interface IJsonModel<ThresholdCustomAlertRule>
interface IPersistableModel<ThresholdCustomAlertRule>
Public Class ThresholdCustomAlertRule
Inherits CustomAlertRule
Public Class ThresholdCustomAlertRule
Inherits CustomAlertRule
Implements IJsonModel(Of ThresholdCustomAlertRule), IPersistableModel(Of ThresholdCustomAlertRule)
- Inheritance
- Derived
- Implements
Constructors
ThresholdCustomAlertRule(Boolean, Int32, Int32) |
Initializes a new instance of ThresholdCustomAlertRule. |
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. |
MinThreshold |
The minimum threshold. |