Share via


ValidationThreshold Class

Definition

ValidationThreshold indicates allowed machine and node hardware and deployment failures.

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

Constructors

ValidationThreshold(ValidationThresholdGrouping, ValidationThresholdType, Int64)

Initializes a new instance of ValidationThreshold.

Properties

Grouping

Selection of how the type evaluation is applied to the cluster calculation.

ThresholdType

Selection of how the threshold should be evaluated.

Value

The numeric threshold value.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ValidationThreshold>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ValidationThreshold>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ValidationThreshold>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ValidationThreshold>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ValidationThreshold>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to