ThresholdCustomAlertRule Class

A custom alert rule that checks if a value (depends on the custom alert type) is within the given range.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: TimeWindowCustomAlertRule.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.security.models._models_py3.CustomAlertRule
ThresholdCustomAlertRule

Constructor

ThresholdCustomAlertRule(*, is_enabled: bool, min_threshold: int, max_threshold: int, **kwargs)

Parameters

is_enabled
bool
Required

Required. Status of the custom alert.

rule_type
str
Required

Required. The type of the custom alert rule.Constant filled by server.

min_threshold
int
Required

Required. The minimum threshold.

max_threshold
int
Required

Required. The maximum threshold.

Variables

display_name
str

The display name of the custom alert.

description
str

The description of the custom alert.