Partager via


CustomMetricThreshold Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.CustomMetricThresholdTypeConverter))]
public class CustomMetricThreshold : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ICustomMetricThreshold
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.CustomMetricThresholdTypeConverter))>]
type CustomMetricThreshold = class
    interface ICustomMetricThreshold
    interface IJsonSerializable
Public Class CustomMetricThreshold
Implements ICustomMetricThreshold
Inheritance
CustomMetricThreshold
Attributes
Implements

Constructors

CustomMetricThreshold()

Creates an new CustomMetricThreshold instance.

Properties

Metric

[Required] The user-defined metric to calculate.

ThresholdValue

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CustomMetricThreshold.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CustomMetricThreshold.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ICustomMetricThreshold.

FromJsonString(String)

Creates a new instance of CustomMetricThreshold, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CustomMetricThreshold into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to