Share via


EntitySignalThresholdRule Class

Definition

Threshold-based evaluation rule for a signal definition.

public class EntitySignalThresholdRule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CloudHealth.Models.EntitySignalThresholdRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CloudHealth.Models.EntitySignalThresholdRule>
type EntitySignalThresholdRule = class
    interface IJsonModel<EntitySignalThresholdRule>
    interface IPersistableModel<EntitySignalThresholdRule>
Public Class EntitySignalThresholdRule
Implements IJsonModel(Of EntitySignalThresholdRule), IPersistableModel(Of EntitySignalThresholdRule)
Inheritance
EntitySignalThresholdRule
Implements

Constructors

EntitySignalThresholdRule(EntitySignalOperator, String)

Initializes a new instance of EntitySignalThresholdRule.

Properties

Operator

Operator how to compare the signal value with the threshold.

Threshold

Threshold value.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EntitySignalThresholdRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EntitySignalThresholdRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EntitySignalThresholdRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EntitySignalThresholdRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EntitySignalThresholdRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to