共用方式為


HDInsightComparisonRule Class

Definition

The comparison rule.

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

Constructors

HDInsightComparisonRule(HDInsightComparisonOperator, Single)

Initializes a new instance of HDInsightComparisonRule.

Properties

Operator

The comparison operator.

Threshold

Threshold setting.

Explicit Interface Implementations

IJsonModel<HDInsightComparisonRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HDInsightComparisonRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HDInsightComparisonRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HDInsightComparisonRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HDInsightComparisonRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to