共用方式為


CustomMetricThreshold Class

Definition

The CustomMetricThreshold.

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

Constructors

CustomMetricThreshold(String)

Initializes a new instance of CustomMetricThreshold.

Properties

Metric

[Required] The user-defined metric to calculate.

ThresholdValue

The threshold value. If null, the set default is dependent on the metric type.

Explicit Interface Implementations

IJsonModel<CustomMetricThreshold>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CustomMetricThreshold>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CustomMetricThreshold>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CustomMetricThreshold>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CustomMetricThreshold>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to