CustomAlertRule interface

A custom alert rule.

Properties

description

The description of the custom alert. NOTE: This property will not be serialized. It can only be populated by the server.

displayName

The display name of the custom alert. NOTE: This property will not be serialized. It can only be populated by the server.

isEnabled

Status of the custom alert.

ruleType

Polymorphic discriminator, which specifies the different types this object can be

Property Details

description

The description of the custom alert. NOTE: This property will not be serialized. It can only be populated by the server.

description?: string

Property Value

string

displayName

The display name of the custom alert. NOTE: This property will not be serialized. It can only be populated by the server.

displayName?: string

Property Value

string

isEnabled

Status of the custom alert.

isEnabled: boolean

Property Value

boolean

ruleType

Polymorphic discriminator, which specifies the different types this object can be

ruleType: "ActiveConnectionsNotInAllowedRange" | "AllowlistCustomAlertRule" | "ConnectionToIpNotAllowed" | "ConnectionFromIpNotAllowed" | "LocalUserNotAllowed" | "ProcessNotAllowed" | "AmqpC2DMessagesNotInAllowedRange" | "AmqpC2DRejectedMessagesNotInAllowedRange" | "AmqpD2CMessagesNotInAllowedRange" | "ThresholdCustomAlertRule" | "TimeWindowCustomAlertRule" | "ListCustomAlertRule" | "DenylistCustomAlertRule" | "MqttC2DMessagesNotInAllowedRange" | "HttpC2DMessagesNotInAllowedRange" | "MqttC2DRejectedMessagesNotInAllowedRange" | "HttpC2DRejectedMessagesNotInAllowedRange" | "MqttD2CMessagesNotInAllowedRange" | "HttpD2CMessagesNotInAllowedRange" | "DirectMethodInvokesNotInAllowedRange" | "FailedLocalLoginsNotInAllowedRange" | "FileUploadsNotInAllowedRange" | "QueuePurgesNotInAllowedRange" | "TwinUpdatesNotInAllowedRange" | "UnauthorizedOperationsNotInAllowedRange"

Property Value

"ActiveConnectionsNotInAllowedRange" | "AllowlistCustomAlertRule" | "ConnectionToIpNotAllowed" | "ConnectionFromIpNotAllowed" | "LocalUserNotAllowed" | "ProcessNotAllowed" | "AmqpC2DMessagesNotInAllowedRange" | "AmqpC2DRejectedMessagesNotInAllowedRange" | "AmqpD2CMessagesNotInAllowedRange" | "ThresholdCustomAlertRule" | "TimeWindowCustomAlertRule" | "ListCustomAlertRule" | "DenylistCustomAlertRule" | "MqttC2DMessagesNotInAllowedRange" | "HttpC2DMessagesNotInAllowedRange" | "MqttC2DRejectedMessagesNotInAllowedRange" | "HttpC2DRejectedMessagesNotInAllowedRange" | "MqttD2CMessagesNotInAllowedRange" | "HttpD2CMessagesNotInAllowedRange" | "DirectMethodInvokesNotInAllowedRange" | "FailedLocalLoginsNotInAllowedRange" | "FileUploadsNotInAllowedRange" | "QueuePurgesNotInAllowedRange" | "TwinUpdatesNotInAllowedRange" | "UnauthorizedOperationsNotInAllowedRange"