Share via


MachineLearningJobLimits Class

Definition

Please note MachineLearningJobLimits is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MachineLearningCommandJobLimits and MachineLearningSweepJobLimits.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.MachineLearning.Models.UnknownJobLimits))]
public abstract class MachineLearningJobLimits : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningJobLimits>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningJobLimits>
public abstract class MachineLearningJobLimits
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.MachineLearning.Models.UnknownJobLimits))>]
type MachineLearningJobLimits = class
    interface IJsonModel<MachineLearningJobLimits>
    interface IPersistableModel<MachineLearningJobLimits>
type MachineLearningJobLimits = class
Public MustInherit Class MachineLearningJobLimits
Implements IJsonModel(Of MachineLearningJobLimits), IPersistableModel(Of MachineLearningJobLimits)
Public MustInherit Class MachineLearningJobLimits
Inheritance
MachineLearningJobLimits
Derived
Attributes
Implements

Constructors

MachineLearningJobLimits()

Initializes a new instance of MachineLearningJobLimits.

Properties

Timeout

The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.

Explicit Interface Implementations

IJsonModel<MachineLearningJobLimits>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MachineLearningJobLimits>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MachineLearningJobLimits>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningJobLimits>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MachineLearningJobLimits>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to