Share via


ThresholdCustomAlertRule Class

Definition

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
ThresholdCustomAlertRule
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.

Explicit Interface Implementations

IJsonModel<CustomAlertRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from CustomAlertRule)
IJsonModel<CustomAlertRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from CustomAlertRule)
IJsonModel<ThresholdCustomAlertRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ThresholdCustomAlertRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CustomAlertRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from CustomAlertRule)
IPersistableModel<CustomAlertRule>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from CustomAlertRule)
IPersistableModel<CustomAlertRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from CustomAlertRule)
IPersistableModel<ThresholdCustomAlertRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ThresholdCustomAlertRule>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ThresholdCustomAlertRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to